HELP ME
#2

Hashed passwords are in numbers / integers. They are not strings. You use strcmp to compare 2 strings. Something like this would fix it:

Код:
if(PlayerInfo[playerid][pPassword] == num_hash(params))
Replace the if(PlayerInfo[playerid][pPassword] with what variable you use to store the password.

EDIT: Or you can use
Код:
if(dini_Int(GMPassFile(), "Password") == num_hash(params))
if you don't use a variable to store the player password.
Reply


Messages In This Thread
HELP ME - by dh240473 - 28.12.2015, 14:19
Re: HELP ME - by SmoW - 28.12.2015, 14:41
Re: HELP ME - by dh240473 - 28.12.2015, 16:08
Re: HELP ME - by SmoW - 28.12.2015, 16:17

Forum Jump:


Users browsing this thread: 1 Guest(s)