SA-MP Forums Archive
Little Help? - 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 Help? (/showthread.php?tid=217369)



Little Help? - Janek17 - 27.01.2011

Welcome
Can you help me I do not understand so I could put in question, that he would show this message every 1 minute intervals, please help!

pawn Код:
SetTimer("NewContest",(1000*60*CONTESTTIME),1); // Sets the timer in minutes. Timers are in millseconds, and 1000 milliseconds is equal to a second. That multiplies with 60, making it one minute. That once again multiplies with the 'CONTESTTIME' you've defined, making it in the amount of minutes you want.



Re: Little Help? - Master_Gangster - 27.01.2011

Quote:
Originally Posted by Janek17
Посмотреть сообщение
Welcome
Can you help me I do not understand so I could put in question, that he would show this message every 1 minute intervals, please help!

pawn Код:
SetTimer("NewContest",(1000*60*CONTESTTIME),1); // Sets the timer in minutes. Timers are in millseconds, and 1000 milliseconds is equal to a second. That multiplies with 60, making it one minute. That once again multiplies with the 'CONTESTTIME' you've defined, making it in the amount of minutes you want.
what are u trying to do here?


Re: Little Help? - Gabe - 27.01.2011

Use this function instead: https://sampwiki.blast.hk/wiki/SetTimerEx


Re: Little Help? - Janek17 - 27.01.2011

Quote:
Originally Posted by Master_Gangster
Посмотреть сообщение
what are u trying to do here?
word game, a word that appears in each one-minute intervals, and who writes the word faster than you can make money!


Re: Little Help? - Master_Gangster - 27.01.2011

Quote:
Originally Posted by Gabe
Посмотреть сообщение
what he said


Re: Little Help? - Janek17 - 27.01.2011

nobody can help me?