SA-MP Forums Archive
What is the most effective way? - 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: What is the most effective way? (/showthread.php?tid=560259)



What is the most effective way? - _Application_ - 27.01.2015

this?
PHP код:
new info[50];
info "Blablabla\nBlablabla";
ShowPlayerDialog(playerid1DIALOG_STYLE_LIST,  "Title"info"button1""button2"); 
or this?
PHP код:
new info[50];
strcat(info"Blablabla\n");
strcat(info"Blablabla");
ShowPlayerDialog(playerid1DIALOG_STYLE_LIST,  "Title"info"button1""button2"); 
and i happy if i get help from you...


please i need help here too -
https://sampforum.blast.hk/showthread.php?tid=560190

thank you and sorry about my bad english :/


Re: What is the most effective way? - Sledgehammer - 27.01.2015

pawn Код:
ShowPlayerDialog(playerid, 1, DIALOG_STYLE_LIST,  "Title", "Blablabla\nBlablabla", "button1", "button2");
or you could do that.


Re: What is the most effective way? - Sime30 - 27.01.2015

Less lines, the better. If you have huge text, use strcat


Re: What is the most effective way? - _Application_ - 27.01.2015

https://sampforum.blast.hk/showthread.php?tid=560190