if iQuantity MAX_SAME_IP BAN_DURATION server_cmd kick get_user_id id g

1
2
3
4
5
if( ++iQuantity > MAX_SAME_IP && BAN_DURATION < 0 ) {
server_cmd("kick #%d %s", get_user_id(id), gszKickMsg)
static szBanMsg[] = "IP %s has been kicked for Repetition IP"
log_amx( szBanMsg, szPlayerIP, gszKickMsg )
}