Using string in 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: Using string in dialog?? (
/showthread.php?tid=255896)
Using string in dialog?? -
PureStyle - 17.05.2011
Ive got this:
Код:
format(string, 128, "[SYSTEM]: You succesfully registered the nickname %s with password %s, you have been auto logged in.", name, inputtext);
SendClientMessage(playerid, GREEN, string);
And i doesn't want to use SendClientMessage, i want to use ShowPlayerDialog, but with string, how?
Re: Using string in dialog?? -
SlashQ - 17.05.2011
pawn Код:
format(string, 128, "[SYSTEM]: You succesfully registered the nickname %s with password %s, you have been auto logged in.", name, inputtext);
ShowPlayerDialog(playerid, 6168, DIALOG_STYLE_MSGBOX, "Title", string, "Close", "");
Try that.
Re: Using string in dialog?? -
PureStyle - 17.05.2011
Thank you so much, it worked (: