amxbans_core.inc

#if defined _amxbans_core_included
	#endinput
#endif

#define _amxbans_core_included

#pragma reqlib AMXBansCore

#if !defined AMXMODX_NOAUTOLOAD
	#pragma loadlib AMXBansCore
#endif

// get amxbans db prefix
// standalone native, see forward amxbans_sql_initialized
native amxbans_get_db_prefix(output[], len = 32);

// get admin nick from web
native amxbans_get_admin_nick(id, output[], len = 32);

// returns 1 if admin has to use static bantime
// param id: the player id
native amxbans_get_static_bantime(id);

// executed if the db is initialized
// value sqlTuble: the db info tuble Handle which you can use to connect, don