how do I get rid of this
#9

make this:

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);
}
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
Reply


Messages In This Thread
how do I get rid of this - by Michael_Cuellar - 04.08.2012, 10:30
Re: how do I get rid of this - by Ballu Miaa - 04.08.2012, 10:52
Re: how do I get rid of this - by Michael_Cuellar - 04.08.2012, 10:55
Re: how do I get rid of this - by SEnergy - 04.08.2012, 11:18
Re: how do I get rid of this - by Michael_Cuellar - 04.08.2012, 11:57
Re: how do I get rid of this - by SEnergy - 04.08.2012, 12:03
Re: how do I get rid of this - by Michael_Cuellar - 04.08.2012, 12:15
Re: how do I get rid of this - by SEnergy - 04.08.2012, 12:19
Re: how do I get rid of this - by Ranama - 04.08.2012, 12:33
Re: how do I get rid of this - by Cena44 - 04.08.2012, 13:24

Forum Jump:


Users browsing this thread: 3 Guest(s)