04.08.2012, 12:33
make this:
That should make so when a player connect you set them spectating and in 0.1 second they'll get spawned and unspectating, tell if it's not working.
Hope I helped
pawn Код:
OnPlayerConnect(playerid){
TogglePlayerSpectating(playerid, true);
SetTimerEx("SpawnPlayer", 100, false, "i", playerid);
}
//put this at the bottom of your script or somewhere
forward SpawnPlayer(playerid);
public SpawnPlayer(playerid){
SpawnPlayer(playerid);
TogglePlayerSpectating(playerid, false);
}
Hope I helped
