Question - 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: Question (
/showthread.php?tid=187929)
Question -
Brian_Furious - 05.11.2010
I saw in some scripts the
code. Its the same thing of
Re: Question -
willsuckformoney - 05.11.2010
I kinda have the same question but with
Someone knows.
Re: Question -
MadeMan - 05.11.2010
return stops the function
https://sampwiki.blast.hk/wiki/Control_Structures#continue
EDIT:
break stops the loop
continue skips a loop iteration
Re: Question -
Brian_Furious - 05.11.2010
Thanks MadeMan
Question -
[NoV]LaZ - 05.11.2010
Quote:
Originally Posted by MadeMan
|
break ends the loop, continue skips a loop iteration.
Re: Question -
MadeMan - 05.11.2010
Quote:
Originally Posted by [NoV]LaZ
break ends the loop, continue skips a loop iteration.
|
Yes, my mistake, sorry.