SA-MP Forums Archive
SetupPlayerForClassSelection? - 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)
+--- Thread: SetupPlayerForClassSelection? (/showthread.php?tid=353674)



SetupPlayerForClassSelection? - Visio - 24.06.2012

I know it was discussed, but never was a clear solution.
how to block key f4, SetupPlayerForClassSelection?


Re: SetupPlayerForClassSelection? - sanrock - 24.06.2012

You can delete classselection or replace return 1; to return 0;


Re: SetupPlayerForClassSelection? - Grand_Micha - 24.06.2012

Just enable a player to request spawn precisely once. Then set their bit/boolean to 1, whereafter you always return 0 or just spawn him if he gets to class selection.