Wrong Password
#2

PHP код:
     case DIALOG_LOGIN

            if(!
response) return Kick(playerid); 
            if(
response
            { 
                if(
udb_hash(inputtext) != PlayerInfo[playerid][pPass]) 
                { 
                    
INI_ParseFile(UserPath(playerid), "LoadUser_%s", .bExtra true, .extra playerid); 
                    
GivePlayerMoney(playeridPlayerInfo[playerid][pMoney]); 
                    
SendClientMessage(playerid0xFF7F2480,"You have successfully logged in your game account!"); 
                    
SetPlayerScore(playeridPlayerInfo[playerid][pScore]); 
                     
LoggedIn[playerid] = true
                } 
                else 
                { 
                       
ShowPlayerDialog(playeridDIALOG_REGISTERDIALOG_STYLE_PASSWORD,"Account","Welcome to SA-MP Server!\n\n{FF1493}Your account is registered on the server, we hope you enjoy your stay!\n{FF1493}In order to log in your account successfully, Fill in your password correctly:\n\n{FF0033}*Password you typed is incorrect","Continue","Leave"); 
                    
LoggedIn[playerid] = false
                } 
            } 

Try this
Reply


Messages In This Thread
Wrong Password - by nezo2001 - 09.04.2015, 11:42
Re: Wrong Password - by Bulgaria - 09.04.2015, 11:49
Re: Wrong Password - by Matess - 09.04.2015, 11:50

Forum Jump:


Users browsing this thread: 1 Guest(s)