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
#2

Why not try it and see for yourself?
Reply
#3

because i cant i am using it on lan.
Reply
#4

I think Ronaldo_Raul was working on something like this. I am sure you know him (you are advertising his server). Ask him to give a copy to you or release it. As far as I know it won't work under OnPlayerDeath, make it under OnPlayerSpawn.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)