Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Very Simple Optimize Max Looping
#9
*fixed

Lol no "exit for" only executes on the else after the buffer

Code:
for i = 1 to max_players
    if player(index).name  vbnullstring and z < 3 then
         z = z + 1
    //procedure goes here
   else
         z = 0
   exit for
   end if
next i
Reply


Messages In This Thread

Forum Jump:


Users browsing this thread: 3 Guest(s)