06.07.2016, 16:29
Quote:
Thanks a lot friend..But still a problem..
I visited OverHaul's tutorial and it said.. "Ideally, you would add a check for the amount of times the player has tried to log in so they can't float the server with login request to guess someone's password." But there is nowhere I see it on the script.. |
PHP Code:
new loginAttempts[MAX_PLAYERS];
PHP Code:
loginAttempts[playerid] = 0;
PHP Code:
loginAttempts[playerid]++;
if(loginAttempts[playerid] > 9)
Kick(playerid);