25.06.2014, 14:54
I'll assume it doesn't load the password correctly and it's empty so strcmp returns 0 (that they're same).
Debug it:
Debug it:
pawn Код:
printf("PlayerInfo[playerid][Pass]: \"%s\" & password: \"%s\"", PlayerInfo[playerid][Pass], password);
if(strcmp(PlayerInfo[playerid][Pass], password, true, sizeof(password)) == 0)