24.01.2012, 19:32
How can you even do such a thing?
gettime returns 3 values which you compare to one value (MAX_PLAYERS)
This is like doing:
new pos;
pos = GetPlayerPos(playerid,x,y,z);
new i = pos;
while(pos != 0)
Pos has 3 values which you cannot compare to one.
It will never be equal to MAX_PLAYERS therefore the infinite loop.
gettime returns 3 values which you compare to one value (MAX_PLAYERS)
This is like doing:
new pos;
pos = GetPlayerPos(playerid,x,y,z);
new i = pos;
while(pos != 0)
Pos has 3 values which you cannot compare to one.
It will never be equal to MAX_PLAYERS therefore the infinite loop.