SA-MP Forums Archive
Showing dialogs before OnPlaterRequestClass - 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: Showing dialogs before OnPlaterRequestClass (/showthread.php?tid=421128)



Showing dialogs before OnPlaterRequestClass - nGen.SoNNy - 08.03.2013

Hi guys! I want to show about 2-3 dialogs before the player get the OnPlayerRequestClass. What i have to do?


Re: Showing dialogs before OnPlaterRequestClass - JaKe Elite - 08.03.2013

Simple.
ShowPlayerDialog.
OnDialogResponse.


Re: Showing dialogs before OnPlaterRequestClass - L.Hudson - 08.03.2013

That would be in OnPlayerConnect callback and use ShowPlayerDialog and OnDialogResponse as Romel said


Re: Showing dialogs before OnPlaterRequestClass - nGen.SoNNy - 08.03.2013

So nobody understand me... I want to show three consecutive dialogues without getting in the OnPlayerRequestClass... and after last one to get into it..


Re: Showing dialogs before OnPlaterRequestClass - SilverKiller - 08.03.2013

Make them in OnPlayerConnect, then make a timer for other dialogs to show up.

Or just when you make them, make buttons for next and back and their functions in OnDialogResponse.


Re: Showing dialogs before OnPlaterRequestClass - Djean - 08.03.2013

OnPlayerConnect is your callback!


Re: Showing dialogs before OnPlaterRequestClass - nGen.SoNNy - 08.03.2013

I'm not fuc*&$ dumb X( I just want to know how to pass into next dialog without passing into OnPlayerRequestClass..


Re: Showing dialogs before OnPlaterRequestClass - DaRk_RaiN - 08.03.2013

You could just create a black (or whatever color) textdraw box that hides the whole screen, while showing the three dialogs,You're supposed to TextDrawHide it in the least dialog response or what ever.
BTW i don't think you could control/stop the class section from appearing


Re: Showing dialogs before OnPlaterRequestClass - nGen.SoNNy - 08.03.2013

Maybe with some return 0; ... on each dialog...


Re: Showing dialogs before OnPlaterRequestClass - greentarch - 08.03.2013

Maybe, if you mean you want to hide those spawn button thingy, you can use TogglePlayerSpectating.
( https://sampforum.blast.hk/showthread.php?tid=314788 ) -> MP2's post