How to hash || How to save plate [Double Question]
#1

Fixed.
Reply
#2

pawn Код:
PlayerInfo[pID][pAPass] = udb_hash(Pass);
            new INI:File = INI_Open(UserPath(playerid));
            INI_SetTag(File,"data");
            INI_WriteInt(File,"APass",PlayerInfo[pID][pAPass]);
you're either trying to save a string into an integer, or save a string as an integer, PlayerInfo[pID][pAPass] should be a string and you shouldn't use WriteInt with it
Reply
#3

INI_WriteInt(File,"Password",udb_hash(inputtext)); It's the same as this, but when i try that, it doesnt work.

When i try that code you said, it gives the same error i was getting before


error 035: argument type mismatch (argument 1)
Reply
#4

as far as I know, udb_hash will return a string, I told you that you can't save a string as an integer
Reply
#5

It works for the password on registration, i tried with writestring still same error
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)