PDA

View Full Version : Showing dialogs before OnPlaterRequestClass


nGen.SoNNy
08/03/2013, 11:07 AM
Hi guys! I want to show about 2-3 dialogs before the player get the OnPlayerRequestClass. What i have to do?

JaKe Elite
08/03/2013, 11:12 AM
Simple.
ShowPlayerDialog.
OnDialogResponse.

L.Hudson
08/03/2013, 11:14 AM
That would be in OnPlayerConnect callback and use ShowPlayerDialog and OnDialogResponse as Romel said

nGen.SoNNy
08/03/2013, 11:34 AM
So nobody understand me... I want to show three consecutive dialogues without getting in the OnPlayerRequestClass... and after last one to get into it..

SilverKiller
08/03/2013, 11:39 AM
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.

Djean
08/03/2013, 11:43 AM
OnPlayerConnect is your callback!

nGen.SoNNy
08/03/2013, 11:45 AM
I'm not fuc*&$ dumb X( I just want to know how to pass into next dialog without passing into OnPlayerRequestClass..

DaRk_RaiN
08/03/2013, 12:00 PM
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

nGen.SoNNy
08/03/2013, 12:02 PM
Maybe with some return 0; ... on each dialog...

greentarch
08/03/2013, 12:05 PM
Maybe, if you mean you want to hide those spawn button thingy, you can use TogglePlayerSpectating.
( http://forum.sa-mp.com/showthread.php?t=314788 ) -> MP2's post

nGen.SoNNy
08/03/2013, 03:32 PM
greentarch you made my day! xD THX