SA-MP Forums Archive
Dialog help. - 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 help. (/showthread.php?tid=517042)



Dialog help. - Laure - 03.06.2014

Hey there, when a player registers in my server as soon as he completes filling his information like age, sex, password he should be spawned inside dmv and show up dialog box saying Do you wish to see the information, but all it does it spawns the player and the dialogbox doesnt appear.
The dialog is like this
pawn Код:
case 0: // Welcome Dialog
        {
            ShowPlayerDialog(playerid, 0, DIALOG_STYLE_MSGBOX, "Do you wish to see the information?","If you want to then click yes else no.", "Yes", "No");
        }



Re: Dialog help. - Rockyyy - 03.06.2014

Under onplayerspawn add

ShowPlayerDialog(playerid, 0, DIALOG_STYLE_MSGBOX, "Do you wish to see the information?","If you want to then
click yes else no.", "Yes", "No");


Re: Dialog help. - Laure - 03.06.2014

Well shouldnt i make cases like if?


Re: Dialog help. - Rockyyy - 03.06.2014

you will not need it