09.07.2013, 17:39
Heya straight to the point here, my timer doesnt seem to kill unless you are ID 0, can anyone help.
pawn Код:
public OnPlayerPickUpPickup(playerid, pickupid)
{
if(pickupid == cure)
{
if(PlayerInfo[playerid][Infected] == 1)
{
SendClientMessage(playerid, COLOUR_CYAN, "In a panic, you quickly flip the lid of the vial open and down it's contents, feeling refreshed." );
KillTimer(KillInfectionTimer[playerid]);
KillTimer(KillSymptomsTimer[playerid]);
PlayerInfo[playerid][Carrier] = 0;
PlayerInfo[playerid][Infected] = 0;
PlayerInfo[playerid][Bit] = 0;
SaveUser(playerid);
}