How to kill a SetTimerEx
#1

Hi...
how can I kill a timer I started with SetTimerEx for the player that uses the /stop command only?
Reply
#2

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]);
Reply
#3

thanks

"The message you have entered is too short. Please lenthen your message to at least 8 characters."
Reply


Forum Jump:


Users browsing this thread: 2 Guest(s)