SA-MP Forums Archive
for function - 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: for function (/showthread.php?tid=602594)



for function - mongi - 09.03.2016

i saw this function in other programming tools but i don't know how it work in pawno
any help?
'For'


Re: for function - CodeStyle175 - 09.03.2016

you use 'for', for looping throw array or create some amount of elements.
for(new i; i < 100; i++) //it will loop to 99 and then it will stop. At same time, looping gives values to i like 1,2,3,4,5 etc.


Re: for function - [XST]O_x - 09.03.2016

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


Re: for function - mongi - 10.03.2016

thanks