Dialog question - 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 question (
/showthread.php?tid=514304)
Dialog question -
Le3aT - 20.05.2014
I want to know how to show a player a dialog with information(texts) then press "next" and the words will continue, Read the wiki about ShowPlayerDialog, But it comes with error on the dialogid, What to do ?
Re: Dialog question -
Mriss - 20.05.2014
replace dialogid with your dialog id, (e.g: 1)
Re: Dialog question -
Le3aT - 20.05.2014
and how can i make a new line in the dialog ? For dialog style 0 ?
Re: Dialog question -
K9IsGodly - 20.05.2014
Quote:
Originally Posted by Le3aT
and how can i make a new line in the dialog ? For dialog style 0 ?
|
When you have text, new lines can be created by using this handy thing: \n
Re: Dialog question -
Le3aT - 20.05.2014
I add colors normally like sendclientmessage, Right ? Like {FFFFF} which is red
Re: Dialog question -
MacT - 21.05.2014
No, you need add to this inside ShowPlayerDialog, like I make exmple to you:
pawn Код:
ShowPlayerDialog(playerid, 137, DIALOG_STYLE_MSGBOX , "{AC0404}Dialog Head:", "Text1\n Testin 1 \n Testing 2 \n Testing 3 \n Testing 4\n Need help?", "OK","Out");
Re: Dialog question - Guest4390857394857 - 21.05.2014
make one button as "Next" .. in dialog..
Now on dialogresponse..make use of "Next" button to display a new dialog.. its sooo simple.