26.02.2011, 10:49
The RadarTimer asks for a playerid but you dont send one.
Replace
with
Also, your timer will call the function only after 30 seconds and not run for 30 seconds.
Explain? - SetTimer will make a timer for 30000ms (ie) 30 seconds. When the timer reaches the determined time it will call the function you've provided.
Replace
Код:
SetTimer("RadarTimer", 30000, 0);
Код:
SetTimerEx("RadarTimer", 30000, 0,"i", playerid);
Explain? - SetTimer will make a timer for 30000ms (ie) 30 seconds. When the timer reaches the determined time it will call the function you've provided.