17.09.2013, 21:13
Hello I make something about call with timer and know when I hangup(/h) then timer timer supose to kill but it doesn't it stay if you know what I mean? I use KillTimer(call[playerid]);
call[playerid] = 0;
new YourTimerName; YourTimerName = SetTimer("YourTimerCallback", 1000, true); //Replace these arguments KillTimer(YourTimerName);
new YourTimerName[MAX_PLAYERS];
YourTimerName[playerid] = SetTimerEx("YourTimerCallback", 1000, true, "i", playerid); //if YourTimerCallback has a parameter like public YourTimerCallback(playerid).
KillTimer(YourTimerName[playerid]);