Posts: 914
Threads: 118
Joined: Nov 2010
pawn Код:
new plname[MAX_PLAYER_NAME];
GetPlayerName(playerid, plname, sizeof(plname));
ShowPlayerDialog(playerid,50,DIALOG_STYLE_INPUT,"Register","Welcome to the server\n\nRegister Name: %s\nPlease open a new account\n\nEnter a password:","Register","Quit",plname);
When Show Register Dialog I need To Show Player Name there.im try but not work
Posts: 181
Threads: 10
Joined: Nov 2008
Reputation:
0
you are trying to do format and showplayerdialog in one line.
In pawn, u can't do that.
format(stringsomething,lengthofmessage,"Welcome to the server\n\nRegister Name: %s\nPlease open a new account\n\nEnter a password:",plname);
ShowPlayerDialog(playerid,50,DIALOG_STYLE_INPUT,"R egister",stringsomething,"Register","Quit");
I've been out pawn for a long time, this might not be correct but you get the idea.
Posts: 914
Threads: 118
Joined: Nov 2010
Quote:
Originally Posted by maij
you are trying to do format and showplayerdialog in one line.
In pawn, u can't do that.
format(stringsomething,lengthofmessage,"Welcome to the server\n\nRegister Name: %s\nPlease open a new account\n\nEnter a password:",plname);
ShowPlayerDialog(playerid,50,DIALOG_STYLE_INPUT,"R egister",stringsomething,"Register","Quit");
I've been out pawn for a long time, this might not be correct but you get the idea.
|
im not get idea.......... nothing there
Posts: 914
Threads: 118
Joined: Nov 2010