Problem with strcmp
#2

Change to:
pawn Код:
if(!strcmp(HashedInput, PlayerData[playerid][pPass]))
Returns 0 when both strings are same.

EDIT: Make sure you check if the strings are not null. If a string is null, then it will return 0 as well.
Reply


Messages In This Thread
Problem with strcmp - by Finn707 - 28.08.2013, 16:53
Re: Problem with strcmp - by Konstantinos - 28.08.2013, 16:55
Re: Problem with strcmp - by Finn707 - 28.08.2013, 17:01

Forum Jump:


Users browsing this thread: 2 Guest(s)