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



Dialog problem - park4bmx - 08.01.2011

SOLVED


Re: Dialog problem - MadeMan - 09.01.2011

pawn Код:
format( RegBox, sizeof RegBox, "You account is registered!\n\n"#COLOR_LIGHTBLUE"Account: %s\n"#COLOR_LIGHTBLUE"Password: %s",name,inputtext);



Re: Dialog problem - California - 09.01.2011

pawn Код:
new RegBox[64], name[MAX_PLAYER_NAME];
format(RegBox, sizeof(RegBox), "You account is registered!\n\n{000080}Account: %s\n{FFFFFF}Password: %s",name,inputtext);
ShowPlayerDialog(playerid, Login, DIALOG_STYLE_MSGBOX, "Your Stats!", string, "Ok", "Cancel");
Never, and I mean NEVER use 512 cells in a single string that would only need about 64, unless it's a really large string your formatting, and you got the new color embedding system all wrong.


Re: Dialog problem - park4bmx - 09.01.2011

ok thanks i fixed the strings and i change it to this and it WOKED
pawn Код:
format(RegBox, sizeof RegBox, "You account is registered!\n\n{#509CC5}Account: %s\n{#509CC5}Password: %s",name,inputtext);