help with dialog
#1

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));
Reply
#2

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");
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)