30.10.2010, 16:34
Quote:
Thanks, but I don't have idea how to do that... I never use timers. Thanks for help.
|
pawn Код:
forward Timer(playerid); //Tells the compiler theres a function called "Timer"
pawn Код:
SetTimerEx("Timer", 1000, 0, "%d", playerid); //Timer will update every 1000ms, non repeating, has an integer as a type, will do this for playerid
pawn Код:
public Timer(playerid) //Function that will be called when you run the timer
{
...
}