03.05.2012, 23:51
In the login, why are you comparing the hashed input text to to an integer?
I have never used udb_hash, but I would assume that the hashed result is a string (not just integers). You can only save integers to an array. You attempted to save a string into the PInfo[playerid][pPass].
You want to do INI_WriteString(File,"Password",udb_hash(inputtext ); in the register dialog, then compare udb_hash(inputtext) to INI_String(File,"Password) under login.
I have never used udb_hash, but I would assume that the hashed result is a string (not just integers). You can only save integers to an array. You attempted to save a string into the PInfo[playerid][pPass].
You want to do INI_WriteString(File,"Password",udb_hash(inputtext ); in the register dialog, then compare udb_hash(inputtext) to INI_String(File,"Password) under login.