Timers are not killing!
#1

You do not know how annoyed I am at this. I've tried everything to sort this out and nothing has worked.

basically when the player dies the timer is not stopping. Please check the code and tell me how to fix this!

pawn Код:
public OnPlayerDeath(playerid, killerid, reason)
{
    GameTextForPlayer(playerid,"~w~Wasted",3000,2);
    SendDeathMessage(killerid, playerid, reason);
    PlayerInfo[playerid][Dead] = 1;
    KillTimer(killwepdep);
    KillTimer(killbank);
    KillTimer(killhospital);
    return 1;
}
And the timers that are defined

pawn Код:
killwepdep = SetTimerEx("WepDep", 300000, false,"i",playerid);//It's the same for the other 2
Reply


Messages In This Thread
Timers are not killing! - by cloudysky - 11.07.2011, 23:16
Re: Timers are not killing! - by Scenario - 11.07.2011, 23:24
Re: Timers are not killing! - by cloudysky - 11.07.2011, 23:25
Re: Timers are not killing! - by PotH3Ad - 11.07.2011, 23:30
Re: Timers are not killing! - by cloudysky - 11.07.2011, 23:46
Re: Timers are not killing! - by PotH3Ad - 11.07.2011, 23:48

Forum Jump:


Users browsing this thread: 3 Guest(s)