help with 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)
+--- Thread: help with dialog (
/showthread.php?tid=433833)
help with dialog -
Michael_Cuellar - 29.04.2013
How would I get this too say the players name?
pawn Код:
ShowPlayerDialog(playerid, DIALOG_LOGIN, DIALOG_STYLE_PASSWORD,"NewERA","Type Welcome Back to NewERA Roleplay %s, type your password to log back in:","Login","Quit", RPName(playerid));
Re: help with dialog -
zxc1 - 29.04.2013
define a new string.
format it.
Put it at the right place.
pawn Код:
new str[128];
format(str,sizeof(str),"Type Welcome Back to NewERA Roleplay %s, type your password to log back in:",RPName(playerid));
ShowPlayerDialog(playerid, DIALOG_LOGIN, DIALOG_STYLE_PASSWORD,"NewERA",str,"Login","Quit");