2 Questions on OnPlayerRequestClass
#1

1st question

How do I do that when instead a Player chooses class through the normal class selection menu, instead I want a dialog based?

like

Код:
ShowPlayerDialog(playerid,57,DIALOG_STYLE_LIST,"Class Select","Trucker\nBus Driver\nBoat Man\nPolice","Select", "");
then ofcourse, each class has it's own skin and has a score required like for example

Dialog:
Код:
Class Select:
Trucker - 0 Score
Bus Driver - 30 Score
Boat Man - 60 Score
Police - 100 Score
That brings us to the next question
Question number 2:
How do I implement a required score on class selection?

like the following:

Dialog:
Код:
Class Select:
Trucker - 0 Score
Bus Driver - 30 Score
Boat Man - 60 Score
Police - 100 Score
Do I need to use
Код:
if(GetPlayerScore) > 0
or something like that?, can you cite an example of how or where do i implement the score requirement on class selection?
Reply


Messages In This Thread
2 Questions on OnPlayerRequestClass - by Neil. - 14.05.2012, 13:43
Re: 2 Questions on OnPlayerRequestClass - by TheDominator - 14.05.2012, 15:06
Re: 2 Questions on OnPlayerRequestClass - by Neil. - 14.05.2012, 15:33
Re: 2 Questions on OnPlayerRequestClass - by TheDominator - 14.05.2012, 19:44
Re: 2 Questions on OnPlayerRequestClass - by Neil. - 15.05.2012, 02:49
Re: 2 Questions on OnPlayerRequestClass - by TheDominator - 15.05.2012, 09:19
Re: 2 Questions on OnPlayerRequestClass - by Neil. - 16.05.2012, 08:33
Re: 2 Questions on OnPlayerRequestClass - by $$inSane - 16.05.2012, 09:08

Forum Jump:


Users browsing this thread: 4 Guest(s)