04.06.2013, 17:28
Quote:
Strcmp returns 0 when either string is empty. Show where you load PlayerInfo[playerid][pHash].
Still, how can their raw password ever be the same as their hashed password? Not very well thought out. |
This is where i load it :
pawn Code:
forward LoadUser_data(playerid,name[],value[]);
public LoadUser_data(playerid,name[],value[])
{
INI_Int("Password",PlayerInfo[playerid][pHash]);
INI_Int("Cash",PlayerInfo[playerid][pCash]);
INI_Int("Admin",PlayerInfo[playerid][pAdmin]);
INI_Int("Kills",PlayerInfo[playerid][pKills]);
INI_Int("Deaths",PlayerInfo[playerid][pDeaths]);
return 1;
}