Posts: 1,495
Threads: 131
Joined: Jul 2009
Reputation:
0
Hi...
how can I kill a timer I started with SetTimerEx for the player that uses the /stop command only?
Posts: 1,420
Threads: 65
Joined: Jan 2009
Reputation:
0
For this you need create a variable to indentifiers the ID of the timer.
Example:
new timerid[MAX_PLAYERS];
On the moment what the timer is created:
timerid[playerid] = SetTimerEx...;
And to kill him:
KillTimer(timerid[playerid]);
Posts: 1,495
Threads: 131
Joined: Jul 2009
Reputation:
0
thanks
"The message you have entered is too short. Please lenthen your message to at least 8 characters."