Showing dialogs before OnPlaterRequestClass
#1

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

Simple.
ShowPlayerDialog.
OnDialogResponse.
Reply
#3

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

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

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.
Reply
#6

OnPlayerConnect is your callback!
Reply
#7

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

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
Reply
#9

Maybe with some return 0; ... on each dialog...
Reply
#10

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
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)