13.07.2011, 09:22
First of all forgive me with making double topics when the last one is pretty much unsolved yet.
I tried using a loop with "for" and then put another code down there, but after the loop finishes the code below the loop sometimes can't be executed.
What I meant maybe is well-explained by an example :
Note that this is only an example.
With this code, the SendClientMessage won't be executed. Am I doing the loop wrong, or is there another reason why this happens often?
Thanks in advance.
I tried using a loop with "for" and then put another code down there, but after the loop finishes the code below the loop sometimes can't be executed.
What I meant maybe is well-explained by an example :
pawn Код:
for(new i = 1; i <= 20; i++)
{
// do something in here
}
SendClientMessage(playerid, WHITE, "asd");
With this code, the SendClientMessage won't be executed. Am I doing the loop wrong, or is there another reason why this happens often?
Thanks in advance.