Setting a player to spectate his team
#2

All those else's you have at the bottom mean if there isn't anyone else to watch, you're gonna watch yourself & because you're not spawned is probably where all those wierd effects are coming from...

To stop a player from re-spawning, you could try TogglePlayerControllable(playerid,1); but not positive that would work. If not, create a variable and check this variable for OnPlayerSpawn, if the player is not meant to be spawned, then throw in the alt. code to keep them from spawning etc.
Reply


Messages In This Thread
Setting a player to spectate his team - by biltong - 20.03.2010, 11:18
Re: Setting a player to spectate his team - by XGh0stz - 20.03.2010, 11:28
Re: Setting a player to spectate his team - by biltong - 20.03.2010, 11:39
Re: Setting a player to spectate his team - by XGh0stz - 20.03.2010, 11:47
Re: Setting a player to spectate his team - by MadeMan - 20.03.2010, 12:24
Re: Setting a player to spectate his team - by MadeMan - 20.03.2010, 12:33
Re: Setting a player to spectate his team - by biltong - 20.03.2010, 12:46
Re: Setting a player to spectate his team - by MadeMan - 20.03.2010, 12:57
Re: Setting a player to spectate his team - by biltong - 21.03.2010, 11:48

Forum Jump:


Users browsing this thread: 1 Guest(s)