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.
|