SA-MP Forums Archive
y_timers (Unix Timestamp does not work?) - 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: y_timers (Unix Timestamp does not work?) (/showthread.php?tid=469341)



y_timers (Unix Timestamp does not work?) - Patrick - 12.10.2013

......


Re: y_timers (Unix Timestamp does not work?) - Chenko - 13.10.2013

Yes that will work. If you go to the main y_timers topic and go to the third code box under the "Timers" heading you will see ****** showing that you can do that. https://sampforum.blast.hk/showthread.php?tid=182948

Quote:
Originally Posted by ******
Посмотреть сообщение
The delay parameter can be anything that becomes a number - a macro sum, a constant, or even something using one of the parameters to the function:


pawn Код:
timer Timer1[6 * 4]()
{
}

timer Timer2[something](something)
{
}

#define TIME 1000

timer Timer3[TIME]()
{
}
These rules (except for using parameters) apply to tasks as well.