SA-MP Forums Archive
dialog - 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)
+---- Forum: Help Archive (https://sampforum.blast.hk/forumdisplay.php?fid=89)
+---- Thread: dialog (/showthread.php?tid=252934)



dialog - Unknown123 - 03.05.2011

pawn Код:
strcat(string, "randomss:          %s\n");
strcat(string, "ohmygawd:          %s\n");
strcat(string, "ninjapowers:       %s\n");
strcat(string, "anotherthing:      %s\n");
strcat(string, "lastthing:         %s");
FormattedMessage(string, string, something, something, something, something, something);
ShowPlayerDialog(playerid, DIALOG_ANTICHEAT, DIALOG_STYLE_LIST, "something", string, "Ok", "Cancel");
Ingame on the dialog looks like:

randomss:...........thing
ohmygawd:-------thing
ninjapowers:----thing
anotherthing:----.thing
lastthing:------.thing



and i want it to look like


randomss:--------thing
ohmygawd:------,thing
ninjapowers:-----.thing
anotherthing:----,thing
lastthing:--------,thing

but i dont get it that straight :/ i saw ZeeX new admin script... in hes dialogs they was straight


Re: dialog - Ricop522 - 03.05.2011

use \t


Re: dialog - Unknown123 - 03.05.2011

Thanks