08.07.2015, 14:39
Quote:
You don't pass the player id to deleteask. Do you think it will just magically appear?
If you want to pass arguments to a timer function, use SetTimerEx. pawn Код:
Also, the 2nd parameter of SetTimer/SetTimerEx is if the timer should be repeated. If set to true, the function will be called EVERY 5 seconds untill you use KillTimer. |
Код:
KillTimer(deleteask(playerid));