SA-MP Forums Archive
Help - OnPlayerRequestClass - 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: Help - OnPlayerRequestClass (/showthread.php?tid=309024)



Help - OnPlayerRequestClass - Juniior - 06.01.2012

Id like to know how to use OnPlayerRequestClass twice? I mean that I choose a class, click the spawn button and another class selection appears. Thanks


Re: Help - OnPlayerRequestClass - [HiC]TheKiller - 06.01.2012

Use variables with ForceClassSelection so that it calls ForceClassSelection after the player has gone through the first class selection, and you will get to chose another class. Although, you would need to use Y_Classes for this or create your own class menu.


Re: Help - OnPlayerRequestClass - Juniior - 06.01.2012

Quote:
Originally Posted by [HiC]TheKiller
Посмотреть сообщение
Use variables with ForceClassSelection so that it calls ForceClassSelection after the player has gone through the first class selection, and you will get to chose another class. Although, you would need to use Y_Classes for this or create your own class menu.
But where shall I put ForceClassSelection? You explained me good, thanks , but can you please provide example?