25.10.2010, 09:43
Well you've got almost everything right except one thing, if you want it to start at 5 and finish at 0, then you need to set the PVar to 5 in the first place!
That should fix the issue
pawn Код:
public OnPlayerDeath(playerid, killerid, reason)
{
TogglePlayerSpectating(playerid, 1);
PlayerSpectatePlayer(playerid, killerid);
SetPVarInt(playerid,"rCount",5); // See here, set it to 5 before the countdown starts
spectateTimer[playerid] = SetTimerEx("respawnCounter", 1000, true, "d" , playerid);
return 1;
}

