while cikle
#1

Hi,

If i use

while( .. )


What longest time i could do while because i know if you do it too long it could harm or freeze your server
Reply
#2

As far as I know, the server will essentially hang until the while loop finishes. Why would you want a 'while' loop to continue for a long time, what are you trying to do?
Reply
#3

For ex find free array using random?
Reply
#4

You can use y_iterate (foreach) for that.

https://sampforum.blast.hk/showthread.php?tid=571159
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)