Little Explanation - 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: Little Explanation (
/showthread.php?tid=87635)
Little Explanation -
cloud9 - 21.07.2009
Can anyone tell me wat is the difference between SetTimer and SetTimerEx
And wat is the difference between return 0; and return 1; and how to use them.
I look into the wiki but i am too noob to understand it so anyone plz explain me little clearly.
Re: Little Explanation -
Grim_ - 21.07.2009
SetTimerEx allows you to add paremeters into a timer. For example: If you wanted to make a timer SayHello(playerid); You'd have to use SetTimerEx to pass through the "playerid" param.
The difference between return 1 and return 0, it's just returning a specific value. Search more into the wiki to understand.