20.03.2010, 11:28
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.
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.