Help with Getplayername in Dialog on logging
#1

Код:
if(fexist(UserPath(playerid)))
	{
		INI_ParseFile(UserPath(playerid), "LoadUser_%s", .bExtra = true, .extra = playerid);
  		ShowPlayerDialog(playerid,DIALOG_LOGIN, DIALOG_STYLE_PASSWORD,""COL_GREEN"Login",""COL_WHITE"The account is already registered,please type your password. \n "COL_ORANGE"Username:"COL_WHITE" string \n "COL_ORANGE"Password :","Login","Quit");
	}
	else
	{
 		ShowPlayerDialog(playerid,DIALOG_REGISTER, DIALOG_STYLE_PASSWORD,""COL_GREEN"Registering...",""COL_ORANGE"Type your password below to register a new account :((How to get players name and put it here","Register","Quit");
	}
I'm trying to show the players name after username :
How do I use Getplayername to show the players name in Dialog
Код:
       {
 		ShowPlayerDialog(playerid,DIALOG_LOGIN, DIALOG_STYLE_PASSWORD,""COL_GREEN"Login",""COL_WHITE"The account is already registered,please type your password. \n "COL_ORANGE"Username:((How to show the players name here who is logging in ))"COL_WHITE" string \n "COL_ORANGE"Password :","Login","Quit");

	}
Part of the dialog text

Код:
\n "COL_ORANGE"Username:((How to show the players name here who is logging in ))
Reply


Messages In This Thread

Forum Jump:


Users browsing this thread: 1 Guest(s)