[Solved] How do I take out the spawn selection? - Printable Version
+- SA-MP Forums Archive (
https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (
https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (
https://sampforum.blast.hk/forumdisplay.php?fid=12)
+---- Forum: Help Archive (
https://sampforum.blast.hk/forumdisplay.php?fid=89)
+---- Thread: [Solved] How do I take out the spawn selection? (
/showthread.php?tid=132127)
[Solved] How do I take out the spawn selection? -
lmfaoown - 06.03.2010
How can I make it that when a player dies it just auto spawns them, because on my server there is a stupid thing when they spawn, it has a left arrow '<<', a right arrow '>>', and the spawn button, to choose between characters, how can I take that off?
Re: How do I take out the spawn selection? -
Las Venturas CNR - 06.03.2010
Under OnPlayerDeath, you might have something that looks like
Код:
ForceClassSelection(playerid);
. Delete it.
Re: How do I take out the spawn selection? -
lmfaoown - 06.03.2010
It's not there, no where in the script.
Anyone else can help?
Re: How do I take out the spawn selection? -
Torran - 06.03.2010
pawn Код:
OnPlayerDeath(playerid)
{
SpawnPlayer(playerid);
}
Re: How do I take out the spawn selection? -
Las Venturas CNR - 06.03.2010
Quote:
Originally Posted by Torran
[pawn]OnPlayerDeath(playerid)
{
SpawnPlayer(playerid);
}[pawn]
|
Yea, that should work. Also, you forgot a "/", so it's not showing in pawno code
Re: How do I take out the spawn selection? -
lmfaoown - 06.03.2010
Quote:
Originally Posted by Seif_
pawn Код:
new bool:Dead[MAX_PLAYERS] = {false, ...};
|
I have never worked with booleans, where do I add this?
Edit- Thank's alot, This fixed it, you rock =D