SA-MP Forums Archive
"for", "while" and etc. - 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)
+---- Forum: Help Archive (https://sampforum.blast.hk/forumdisplay.php?fid=89)
+---- Thread: "for", "while" and etc. (/showthread.php?tid=113747)



"for", "while" and etc. - CaHbKo - 15.12.2009

Hi,

I got a problem. I searched the wiki and forums for those "for and while" things because i don't understand how they work... but found nothing.
I just don't understand when should i use < or > or != in the "for", and i completely can't understand how "while" is used.

Maybe someone could explain that to me?

Many thanks.


Re: "for", "while" and etc. - Correlli - 15.12.2009

https://sampwiki.blast.hk/wiki/Keywords:Statements#if
https://sampwiki.blast.hk/wiki/Keywords:Statements#while
https://sampwiki.blast.hk/wiki/Control_Structures#Operators


Re: "for", "while" and etc. - CaHbKo - 15.12.2009

You saved me, thanks.


Re: "for", "while" and etc. - Correlli - 15.12.2009

You're welcome.

If you need anything, look at wiki first but a bit more carefully.