Spec-Spec
#1

Hey guys will this be right when someone dies it will spectate the killer

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;
}
will this work?
Reply


Messages In This Thread
Spec-Spec - by vassilis - 08.02.2012, 11:44
Re: Spec-Spec - by iTorran - 08.02.2012, 11:46
Re: Spec-Spec - by vassilis - 08.02.2012, 11:46
Re: Spec-Spec - by suhrab_mujeeb - 08.02.2012, 11:49

Forum Jump:


Users browsing this thread: 1 Guest(s)