That is, the code will be then?
Code:
#include <amxmodx>
#include <amxmisc>
new g_aSlot = 1
public plugin_init()
{
register_plugin("AmxBans Admin Base", "2.5", "Sutar")
}
public client_authorized(id)
{
if(!access(id, ADMIN_RESERVATION) && get_playersnum() >= (get_maxplayers() - g_aSlot))
server_cmd("kick #%d", get_user_userid(id))
}
as said
striker07, get_playersnum() - Not the player who enters. That's what I need?