SA-MP Forums Archive
can you help me? - Printable Version

+- SA-MP Forums Archive (https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (https://sampforum.blast.hk/forumdisplay.php?fid=12)
+--- Thread: can you help me? (/showthread.php?tid=474983)



can you help me? - aboa - 10.11.2013

pawn Код:
for(new x=0; x < strlen(string); x++)
What's the x means??


Re: can you help me? - Mattakil - 10.11.2013

X is the definition. For example, if you wanted to use all player id's x would = playerid.


Re: can you help me? - Loot - 10.11.2013

X is only a variable, the code above simply loops through the string. ( if [hasn't reached string end] continue looping)


Re: can you help me? - AnonScripter - 10.11.2013

https://sampwiki.blast.hk/wiki/Loops