SA-MP Forums Archive
Y_INI - Printable Version

+- SA-MP Forums Archive (https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (https://sampforum.blast.hk/forumdisplay.php?fid=12)
+--- Thread: Y_INI (/showthread.php?tid=315635)



Y_INI - SpankMe2 - 03.02.2012

if(udb_hash(inputtext) == PlayerInfo[playerid][pPass])

THats the line thats giving me the trouble I have debugged it I have tryed everything except the password always prints out to be the same in the file...


Re: Y_INI - Steven82 - 04.02.2012

Try using this code below.

pawn Код:
// change this
if(udb_hash(inputtext) == PlayerInfo[playerid][pPass])

// to this
if(udb_hash(inputtext) == udb_hash(PlayerInfo[playerid][pPass]))