16.10.2011, 07:38
Yours:
Changed:
pPass,
pPass[128],
INI_Int("Password",PlayerInfo[playerid][pPass]);
INI_String("Password",PlayerInfo[playerid][pPass]);
INI_WriteInt(File,"Password",udb_hash(inputtext));
INI_WriteString(File,"Password",inputtext);
if(udb_hash(inputtext) == PlayerInfo[playerid][pPass])
if(strcmp(inputtext, PlayerInfo[playerid][pPass], true) == 1)
Use the search to find the ones your made, and replace them with the bolded fixed ones... Post further errors below, cause I probably got it wrong too... I don't know what file saving system you're using.
But your problem is your password variable is numbers and not a string.
Changed:
pPass,
pPass[128],
INI_Int("Password",PlayerInfo[playerid][pPass]);
INI_String("Password",PlayerInfo[playerid][pPass]);
INI_WriteInt(File,"Password",udb_hash(inputtext));
INI_WriteString(File,"Password",inputtext);
if(udb_hash(inputtext) == PlayerInfo[playerid][pPass])
if(strcmp(inputtext, PlayerInfo[playerid][pPass], true) == 1)
Use the search to find the ones your made, and replace them with the bolded fixed ones... Post further errors below, cause I probably got it wrong too... I don't know what file saving system you're using.
But your problem is your password variable is numbers and not a string.