SA-MP Forums Archive
How long is this timer +rep - 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: How long is this timer +rep (/showthread.php?tid=501920)



How long is this timer +rep - Mriss - 21.03.2014

pawn Код:
SetTimerEx("UnJail",WantedLevel*1000*60,0,"i",pId);
How long?


Re: How long is this timer +rep - RajatPawar - 21.03.2014

pawn Код:
WantedLevel * 1000 * 60
It would run once after 'WantedLevel' minutes.

Example -

Wanted level = 4
Therefore, 4 * 1000 = 4000 ms = 4 seconds.
4 seconds * 60 = 240 seconds (4 minutes)


Re: How long is this timer +rep - Mriss - 21.03.2014

Well Explained, Thanks