19.04.2011, 15:02
Something like this will do:
pawn Код:
new str[128];
new plname[MAX_PLAYER_NAME];
GetPlayerName(playerid, plname, sizeof(plname));
format(str, sizeof(str), "Please register: %s!\nEnter your password to register:", plname);
ShowPlayerDialog(playerid, dialogid, DIALOG_STYLE_INPUT, "Login", str, "Register", "Leave");