SA-MP Forums Archive
Dialog Box before Class 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)
+--- Thread: Dialog Box before Class selection? (/showthread.php?tid=360924)



Dialog Box before Class selection? - Minion - 19.07.2012

I'm scripting a TDM from scratch. I want that when players connects, a dialog box appears with a list of gangs. When players selects, it takes him to class selection where only the skins of that gang appears. For example, suppose listitem 1 is Groove, 2 is Ballas and 3 is VLA. If player selects Groove, Class selection screen pops up with groove skins ONLY. Then player can select any groove skin and spawns.

Any help would be appreciated.


Re: Dialog Box before Class selection? - leonardo1434 - 19.07.2012

dialog list + forceplayerclassselection +setplayerpos + setplayerskin.

Request's must be placed in the right thread which is located at top of this board.


Re: Dialog Box before Class selection? - Minion - 19.07.2012

i dont get it. Can anyone explain in detail?

Quote:

Request's must be placed in the right thread which is located at top of this board.

I'm not asking anyone to write the whole script. I'm just asking how to do it.


Re: Dialog Box before Class selection? - SA-MPDrifter - 19.07.2012

I believe you would just place the dialog script under the OnPlayerConnect callback.