Premium Реклама Spotlight Bundles Boost Банери Кредити
Основно Начало Сървъри Marketplace Форум Сървъри
Общности Хостинг Добави Auction Boost
Ресурси
Библиотеки Карти Видеа Магазин Bundles
Инструменти
Builder Demo CFG HUD
AMXX API
Вход Регистрация
TOP SERVER
[IG] Easy Surf | Ramp Fix | RANKS | REPLAYS
Counter-Strike 1.6
surf_flyin_fortress
40.160.19.36:27015
18.05 18:49
8/64
186ms
/ Библиотеки / amxbans_core.inc

amxbans_core.inc

get amxbans db prefix

.inc 954 B 35 реда 04.04.2026
Pawn / AMX Mod X
#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�t free it!!
// value dbPrefix: the db Prefix from amxbans
forward amxbans_sql_initialized(Handle:sqlTuple, const dbPrefix[]);

// executed if a player gets admin
// value id: the player id
forward amxbans_admin_connect(id);

// executed if a admin disconnects
// value id: the player id
forward amxbans_admin_disconnect(id);
РЕКЛАМИРАЙ ПРИ НАС!
AMXX-BG.INFO
КАК ДА ИЗПОЛЗВАМ
Добави в началото на .sma файла:
#include <amxbans_core>
1. Изтегли
Свали файла от бутона по-горе
2. Копирай
Постави в scripting/include/
3. Включи
Добави #include директивата
4. Компилирай
Използвай amxxpc или scripting/compile.exe
PrivateServ.NET