Problem with spectating
#2

SetCameraBehindPlayer(killerid);
TogglePlayerControllable(playerid, 0);

SetCameraBehindPlayer(killerid) only affects the person that is the killer.

Why are you using TogglePlayerControllable(playerid,0) if the player is dead and can't move anyway?

and do a check to make sure killerid != 255 incase the player killed himself or died of other means.
Reply


Messages In This Thread
Problem with spectating - by dice7 - 29.04.2009, 14:57
Re: Problem with spectating - by Joe Staff - 29.04.2009, 15:22

Forum Jump:


Users browsing this thread: 1 Guest(s)