20.11.2013, 22:40
So if youve used the zGaming script youve more then likely realised that you can log in with a fake password, and dont even need to put in the proper pass.
Does anyone know how to fix this?
Does anyone know how to fix this?
Код:
new file[64], password[256], IP[16], password2[256]; format(file, sizeof(file), "users/%s.ini", RPNU(playerid)); WP_Hash(password2, sizeof(password2), inputtext); format(password, sizeof(password), "%s", dini_Get(file, "Password")); if(!strcmp(PlayerInfo[playerid][Password], inputtext , false)) { SendClientMessage(playerid, COLOR_LIGHTRED, "SERVER: {FFFFFF}Invalid password."); ShowDialog(playerid, 2); return 1; }