Registration player name writing
#1

Guys? How I can make this? I want to make when register dialog appears, it will look something like this

Registration:

Name: here will be showed player name //I need just this

and here other text in registration //That I already have

My register dialog

pawn Код:
ShowPlayerDialog (playerid, DIALOG_REGISTRACIA, DIALOG_STYLE_PASSWORD, ""COL_WHITE"Making your account ..",""COL_RED"You have entered an invalid password.\n"COL_WHITE"Type your password below to register a new account.","Register","Quit");
Reply
#2

There is mine:

pawn Код:
new string[128],
playername[MAX_PLAYER_NAME];
GetPlayerName(playerid, playername, sizeof(playername));
format(string, sizeof(string), "Welcome name: %s /*blablabla*/ ", playername);
ShowPlayerDialog(playerid, Dialogid, 3, "Register", string, "Register", "Cancel");
Reply
#3

thx mate! That's it
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)