[HELP] About "for" (maybe all loops)
#1

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 :
pawn Код:
for(new i = 1; i <= 20; i++)
{
      // do something in here
}
SendClientMessage(playerid, WHITE, "asd");
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.
Reply


Messages In This Thread
[HELP] About "for" (maybe all loops) - by Diagram - 13.07.2011, 09:22
Re: [HELP] About "for" (maybe all loops) - by LetsOWN[PL] - 13.07.2011, 09:45
Re: [HELP] About "for" (maybe all loops) - by Macluawn - 13.07.2011, 09:53
Re: [HELP] About "for" (maybe all loops) - by Diagram - 13.07.2011, 10:10
Re: [HELP] About "for" (maybe all loops) - by Macluawn - 13.07.2011, 10:23
Re: [HELP] About "for" (maybe all loops) - by [HiC]TheKiller - 13.07.2011, 10:43
Re: [HELP] About "for" (maybe all loops) - by Diagram - 13.07.2011, 11:05
Re: [HELP] About "for" (maybe all loops) - by Diagram - 13.07.2011, 12:04

Forum Jump:


Users browsing this thread: 1 Guest(s)