SA-MP Forums Archive
Password problem, - 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: Password problem, (/showthread.php?tid=605621)



Password problem, - ReD_HunTeR - 22.04.2016

EDIT: Solved


Re: Password problem, - SyS - 22.04.2016

change
Quote:

if(!strcmp(hashpass, PlayerTemp[playerid][password]))

to
Quote:

if(!strcmp(hashpass, PlayerTemp[playerid][password],false))




Re: Password problem, - Gammix - 22.04.2016

Whirlpool doesn't hash passwords into INTEGERS, use String type to store and compare passwords.

@Sreyas: By default ignorecase is false.


Re: Password problem, - ReD_HunTeR - 22.04.2016

Thanks @gammix, fixed


Re: Password problem, - SyS - 22.04.2016

@gammix oh yeah you are right default case false thanks bro for reminding me that