Removing spawn menu - 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: Removing spawn menu (
/showthread.php?tid=158297)
Removing spawn menu -
Audiophr3ak - 09.07.2010
Hello everyone, how can i remove the spawn menu when player just connected to the server?
Re: Removing spawn menu -
Hiddos - 09.07.2010
pawn Код:
public OnPlayerConnect(playerid)
{
SpawnPlayer(playerid);
return 1;
}
Re: Removing spawn menu -
Audiophr3ak - 09.07.2010
Nah i mean this one
/imageshack/i/samp013px.png/ it helps people to avoid registration
Re: Removing spawn menu -
Grim_ - 09.07.2010
You can't remove it.
Re: Removing spawn menu -
Audiophr3ak - 09.07.2010
Look here, it deleted at the first step of registration
/imageshack/i/samp011zs.png/ , but appears at the 2nd step, and i saw some reg systems which spawn menu turned off
Re: Removing spawn menu -
Hiddos - 09.07.2010
Then you ask the owners of these servers nicely for the code.
Re: Removing spawn menu -
Grim_ - 09.07.2010
That's because when
I created that code, I made the dialog appear in OnPlayerConnect. Showing a dialog there kind of "stops" other things from happening to the player until the dialogs information is complete. (Atleast that's how I explain it)
Re: Removing spawn menu -
Audiophr3ak - 09.07.2010
how to make more dialogs without this spawn menu then
Re: Removing spawn menu -
Grim_ - 09.07.2010
I don't know if it'll work, but you can try making another dialog appear right after the first one ends.
For example:
pawn Код:
// In OnDialogResponse
if(dialogid == smtn)
{
// this is where the dialog ends
ShowPlayerDialog(...);
}
Re: Removing spawn menu -
Audiophr3ak - 09.07.2010
i did it allready - wont work, spawn menu appears after 1st dialog ffs