somebody can help me to add admin and spec immunity to this plugin with cvar?
#pragma semicolon 1
public void OnPluginStart()
HookEvent( "player_disconnect", Event_Disconnect, EventHookMode_Pre);
public Action Event_Disconnect(Event event, const char name, bool dbc)
new client = GetClientOfUserId(GetEventInt(event, "userid"));
BanClient(client, 1440, BANFLAG_AUTO, "Ban");