Error when compiling my script
#2

I notice that you are using "DIALOG_STYLE_INPUT" instead of "DIALOG_STYLE_PASSWORD" and why are you using colors in dialog.

PHP код:
public OnPlayerConnect(playerid)
{
    if(
fexist(UserPath(playerid)))
    {
        
INI_ParseFile(UserPath(playerid), "LoadUser_%s", .bExtra true, .extra playerid);
        
ShowPlayerDialog(playeridDIALOG_LOGINDIALOG_STYLE_PASSWORD"Login""Type your password below to login.""Login""Quit");
    }
    else
    {
        
ShowPlayerDialog(playeridDIALOG_REGISTERDIALOG_STYLE_PASSWORD"Registering...""Type your password below to register a new account.""Register""Quit");
    }
    return 
1;

Reply


Messages In This Thread
Error when compiling my script - by Stefhan - 05.03.2016, 18:00
Re: Error when compiling my script - by MicroKyrr - 06.03.2016, 00:56

Forum Jump:


Users browsing this thread: 1 Guest(s)