16.02.2013, 04:51
LOL, I got your problem. Sorry I didn't get it first.
You are trying to set a timer with a playerid argument in it with SetTimer, which is impossible.
For setting a timer with a function which has it's arguments/parameters, the format is:
You are trying to set a timer with a playerid argument in it with SetTimer, which is impossible.
For setting a timer with a function which has it's arguments/parameters, the format is:
pawn Code:
SetTimerEx("MyFunction", Time, Repeating, "Specifier of the argument", Argument name...);
//In your case, it would be:
SetTimerEx("Gametime", 1000, 1, "d", playerid);