Need Help Urgently!!
#2

PHP код:
// YOUR CODE:

if(fexist(Path(playerid)))
{
    
INI_ParseFile(Path(playerid),"loadaccount_%s", .bExtra true, .extra playerid); //Will load user's data using INI_Parsefile.
    
ShowPlayerDialog(playerid,Dialog_Login,DIALOG_STYLE_INPUT,"Please Login","Welcome Back . This Account Is {FF0000}Registered. \n{FFFFFF}Insert Your Password To Login To Your Account.","Login","Cancel");
    {
        
ShowPlayerDialog(playerid,Dialog_Register,DIALOG_STYLE_INPUT,"Please Register","Welcome. This Account Is Not Registered In Our Server.\nEnter Your Password To Create A New Account.","Register","Cancel");
        return 
1;
    } 
PHP код:
// HOW IT SHOULD BE:
if(fexist(Path(playerid)))
{
    
INI_ParseFile(Path(playerid),"loadaccount_%s", .bExtra true, .extra playerid); //Will load user's data using INI_Parsefile.
    
ShowPlayerDialog(playerid,Dialog_Login,DIALOG_STYLE_INPUT,"Please Login","Welcome Back . This Account Is {FF0000}Registered. \n{FFFFFF}Insert Your Password To Login To Your Account.","Login","Cancel");
}
else
{
    
ShowPlayerDialog(playerid,Dialog_Register,DIALOG_STYLE_INPUT,"Please Register","Welcome. This Account Is Not Registered In Our Server.\nEnter Your Password To Create A New Account.","Register","Cancel");
    return 
1;

Reply


Messages In This Thread
Need Help Urgently!! - by Armageddonz - 06.06.2015, 12:33
Re: Need Help Urgently!! - by Konstantinos - 06.06.2015, 12:38
Re: Need Help Urgently!! - by UltraScripter - 06.06.2015, 12:38
Re: Need Help Urgently!! - by Armageddonz - 06.06.2015, 13:33

Forum Jump:


Users browsing this thread: 1 Guest(s)