Registration player name writing - 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: Registration player name writing (
/showthread.php?tid=474276)
Registration player name writing -
Riwerry - 07.11.2013
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");
Re: Registration player name writing -
Wizzy951 - 07.11.2013
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");
Re: Registration player name writing -
Riwerry - 07.11.2013
thx mate!

That's it