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



Dialog issues - UnknownGamer - 10.12.2012

pawn Код:
new ruleslist[] = "\n6\tBlah!";
new ruleslists[] = "\n6\tBlah!";
ShowPlayerDialog(playerid,19343,DIALOG_STYLE_LIST,"Test",ruleslist,ruleslists, "Select","Cancel");
I'm tryna list 2 things, how do i do it


Re: Dialog issues - Ironboy - 10.12.2012

pawn Код:
new message[] = "message\n messgae2\n message3...";
    new message2[] = "\nmessage4\n message5 and so on..";
    new string[256];//you can change the string value according to the length of the line/message
    format(string, sizeof(string),"%s %s",message,message2);
    ShowPlayerDialog(playerid, 19343, DIALOG_STYLE_MSGBOX,"Test",string,"Select","Cancel");



Re: Dialog issues - Konstantinos - 10.12.2012

pawn Код:
// --
    new string[128];//you can change the string value according to the length of the line/message
    format(string, sizeof(string),"\n6\tBlah!\
                                   \n6\tBlah!\
                                   \n6\tBlah!"
);
    ShowPlayerDialog(playerid, 19343, DIALOG_STYLE_MSGBOX,"Test",string,"Select","Cancel");