Advertisement
Luciano_fuentes

Untitled

Oct 4th, 2016
189
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. Public Sub Cancel_Search(ByVal ID As Integer)
  2.  
  3.     Dim LoopC As Long
  4.     Dim LoopX As Long
  5.  
  6.     With Retos_Searching
  7.  
  8.         .Users_Searching = .Users_Searching - 1
  9.        
  10.         For LoopC = 1 To .Users_Searching * Users_Arena
  11.             If .Searching(LoopC) = ID Then
  12.                 For LoopX = LoopC To .Users_Searching * Users_Arena - 1
  13.                     .Searching(LoopX) = .Searching(LoopX + 1)
  14.                 Next LoopX
  15.                     .Searching(20) = 0
  16.                 Exit For
  17.             End If
  18.         Next LoopC
  19.        
  20.     End With
  21. End Sub
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement