26.07.2017, 11:44
Код:
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"); }
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"); }
Код:
\n "COL_ORANGE"Username:((How to show the players name here who is logging in ))