23.05.2013, 09:29
Quote:
if(gPlayerLogTries[playerid] == 3) { new string[128]; new name[MAX_PLAYER_NAME+1]; gPlayerLogTries[playerid] =0; GetPlayerName(playerid, name, sizeof(name)); format(string, sizeof(string), "%s has been kicked for 3 incorrect password attemps.",name); SendClientMessageToAll(0xFF0000FF, string); SetTimerEx("KickEx", 500, false, "i", playerid); } |