27.12.2014, 07:31
here another code:
Код:
public OnPlayerConnect(playerid) { if(fexist(UserPath(playerid))) { INI_ParseFile(UserPath(playerid), "LoadUser_%s", .bExtra = true, .extra = playerid); ShowPlayerDialog(playerid, DIALOG_LOGIN, DIALOG_STYLE_INPUT,""COL_GOLD"Login",""COL_LGREEN"Type your password below to login,Please\nFollow the rules so we can maintain the\nhappiness in this server =D..","Login","Quit"); } else { ShowPlayerDialog(playerid, DIALOG_REGISTER, DIALOG_STYLE_INPUT,""COL_GOLD"Registering...",""COL_LGREEN"Type your password below to register a new account,\n and Have fun with your friends inside of UX Server\n Please follow the rules too","Register","Quit"); } return 1; }