20.01.2014, 15:38
Hello guys, it's me
.
This time I got a problem with password on login. Whatever I type, server just accept it. Here's an login code, if you can find a problem ? Thanks
.This time I got a problem with password on login. Whatever I type, server just accept it. Here's an login code, if you can find a problem ? Thanks

Код:
case DIALOG_LOGIN:
{
if(!response) return Kick(playerid);
if(response)
{
new hashpass[50];
WP_Hash(hashpass,sizeof(hashpass),inputtext);
if(!strcmp(hashpass, PlayerData[playerid][pPass], false))
{
INI_ParseFile(UserPath(playerid),"LoadUser_%s",.bExtra = true, .extra = playerid);
SetPlayerScore(playerid,PlayerData[playerid][pLevel]);
GivePlayerMoney(playerid,PlayerData[playerid][pNovac]);
}
else
{
Kick(playerid);
}
}
}


