SA-MP Forums Archive
How to skip class selection 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: How to skip class selection menu? (/showthread.php?tid=262912)



How to skip class selection menu? - mariomako - 19.06.2011

I have a little question about class selection. I am using dialog register system and dini for player stats saving,
so when the player is loging in or registering i want to skip the player class selection menu << >> SPAWN. I tried with SetTimerEx to spawn player and set his spawn info.. but when the player gets killed the menu shows up again. What should i do?


Re: How to skip class selection menu? - sleepysnowflake - 19.06.2011

Check if the player is registered and if he is do like : SpawnPlayer(playerid);, if not, open the register dialog.


Re: How to skip class selection menu? - Lynn - 19.06.2011

On OnPlayerLogin and OnPlayerRegister
SpawnPlayer(playerid);


Re: How to skip class selection menu? - mariomako - 20.06.2011

and after death i again have class selection menu :@


Re: How to skip class selection menu? - sleepysnowflake - 20.06.2011

No you do not ...