08.02.2012, 11:44
Hey guys will this be right when someone dies it will spectate the killer
will this work?
pawn Код:
OnPlayerDeath(playerid,killerid,reason)
{
TogglePlayerSpectating(playerid,1);
PlayerSpectatePlayer(playerid,killerid);
SetTimer("SpecOff",5000,false);
return 1;
}
public SpecOff(playerid)
{
TogglePlayerSpectating(playerid,0);
Spawn(playerid);
return 1;
}