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
10/64
188ms
/ Библиотеки / cs_ham_bots_api.inc

cs_ham_bots_api.inc

This is the callback from the module. Do not modify this!

.inc 1.4 KB 47 реда 04.04.2026
Pawn / AMX Mod X
#if defined _cs_ham_bots_api_included
  #endinput
#endif
#define _cs_ham_bots_api_included

#if AMXX_VERSION_NUM >= 175
	#pragma reqlib cs_ham_bots_api
	#if !defined AMXMODX_NOAUTOLOAD
		#pragma loadlib cs_ham_bots_api
	#endif
#else
	#pragma library cs_ham_bots_api
#endif

/**
 * Hooks the virtual table for CZ Bots entity class.
 * An example would be: RegisterHamBots(Ham_TakeDamage, "player_hurt");
 * Look at the Ham enum for parameter lists.
 *
 * @param function		The function to hook.
 * @param callback		The forward to call.
 * @param post			Whether or not to forward this in post.
 * @return 				Returns a handle to the forward.  Use EnableHamForwardBots/DisableHamForwardBots to toggle the forward on or off.
 */
native RegisterHamBots(Ham:function, const Callback[], Post=0);

/**
 * Stops a ham forward from triggering for CZ Bots.
 * Use the return value from RegisterHamBots as the parameter here!
 *
 * @param fwd			The forward to stop.
 */
native DisableHamForwardBots(fwd);

/**
 * Starts a ham forward back up for CZ Bots.
 * Use the return value from RegisterHamBots as the parameter here!
 *
 * @param fwd			The forward to re-enable.
 */
native EnableHamForwardBots(fwd);


// This is the callback from the module. Do not modify this!
public HamHook:__RegisterHamBots(Ham:function, EntityId, const Callback[], Post)
	return RegisterHamFromEntity(function, EntityId, Callback, Post);
РЕКЛАМИРАЙ ПРИ НАС!
AMXX-BG.INFO
КАК ДА ИЗПОЛЗВАМ
Добави в началото на .sma файла:
#include <cs_ham_bots_api>
1. Изтегли
Свали файла от бутона по-горе
2. Копирай
Постави в scripting/include/
3. Включи
Добави #include директивата
4. Компилирай
Използвай amxxpc или scripting/compile.exe
PrivateServ.NET