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
/ Библиотеки / ichat.inc

ichat.inc

.inc 1.1 KB 35 реда 04.04.2026
Pawn / AMX Mod X
#if defined _ichat_included
  #endinput
#endif
#define _ichat_included

#define iChatIsUserVip( %1 ) iChatVipAction( %1, 0 )
#define iChatSetUserVip( %1 ) iChatVipAction( %1, 1 )
#define iChatRemoveUserVip( %1 ) iChatVipAction( %1, 2 )

/**
 * Send data to iChat main plugin
 * You can change the maximum number of datas. Deafult is 2 (0, 1). If more or less, it will be 0.
 * An exemble would be: iChatSendCustomData( id, 0, "Custom" );
 * You can't format, you have to use formatex before.
 *
 * @param iIndex		Index of the player wich the data will be send.
 * @param iTagNum		Custom tag index.
 * @param szData[ ]		The data to be send.
 */
native iChatSendCustomData( iIndex, iTagNum, szData[ ] );

/**
 * Check, set, or remove a VIP.
 * You have to reset all by yourself (at putinserver etc...).
 * It's not saved at map change.
 *
 * @param iIndex		Index of the player.
 * @param iAction		Action on the native:
 *							- 0: return if iIndex is VIP.
 *							- 1: set iIndex VIP.
 *							- 2: remove iIndex from VIPs.
 * @return iIndex's VIP status once the action done.
 */
native iChatVipAction( iIndex, iAction );
РЕКЛАМИРАЙ ПРИ НАС!
AMXX-BG.INFO
КАК ДА ИЗПОЛЗВАМ
Добави в началото на .sma файла:
#include <ichat>
1. Изтегли
Свали файла от бутона по-горе
2. Копирай
Постави в scripting/include/
3. Включи
Добави #include директивата
4. Компилирай
Използвай amxxpc или scripting/compile.exe
PrivateServ.NET