Need Help With Timer - 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: Need Help With Timer (
/showthread.php?tid=578661)
Need Help With Timer -
kyriakos587 - 21.06.2015
Hello,
i made a random messages so i want to know that i wanted to increase the time of the random message actually it is not 6000 so how to increase to 1min
Re: Need Help With Timer -
UltraScripter - 21.06.2015
1000 = 1 second
60000 = 1 minute
Re: Need Help With Timer -
Ritzy2K - 21.06.2015
Im not sure where have you put the timer...most probably... under onplayerconnect or onplayerspawn... in there will be a param for time change it to 60000
Re: Need Help With Timer -
NeamPojma - 21.06.2015
1000 = 1 sec , 60000 = 60 sec
Re: Need Help With Timer -
kyriakos587 - 21.06.2015
I Have Put the code on OnGamemodeInit()
Re: Need Help With Timer -
UltraScripter - 21.06.2015
EDIT: yes
Re: Need Help With Timer -
Ritzy2K - 21.06.2015
Change the timer param to 60000 and its done
it ll show every 1 minute.
Re: Need Help With Timer -
Dusan01 - 21.06.2015
Quote:
Originally Posted by kyriakos587
I Have Put the code on OnGamemodeInit()
|
That time witch is runing u need to put ih onGameModeInit
Re: Need Help With Timer -
kyriakos587 - 21.06.2015
And How about 2min? is it possible
Re: Need Help With Timer -
UltraScripter - 21.06.2015
yes
120000