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

fcs.inc

.inc 1.2 KB 60 реда 04.04.2026
Pawn / AMX Mod X
#if defined _fcs_included
  #endinput
#endif

#define _fcs_included



/*
 * Returns a players credits
 *
 * @param   client - The player index to get points of
 *
 * @return    The credits client
 *
 */

native fcs_get_user_credits(client);

/*
 * Sets <credits> to client
 *
 * @param   client - The player index to set points to
 * @param   credits - The amount of credits to set to client
 *
 * @return    The credits of client
 *
 */

native fcs_set_user_credits(client, credits);

/*
 * Adds <credits> points to client
 *
 * @param   client - The player index to add points to
 * @param   credits - The amount of credits to add to client
 *
 * @return    The credits of client
 *
 */

stock fcs_add_user_credits(client, credits)
{
  return fcs_set_user_credits(client, fcs_get_user_credits(client) + credits);
}

/*
 * Subtracts <credits>  from client
 *
 * @param   client - The player index to subtract points from
 * @param   credits - The amount of credits to substract from client
 *
 * @return    The credits of client
 *
 */

stock fcs_sub_user_credits(client, credits)
{
  return fcs_set_user_credits(client, fcs_get_user_credits(client) - credits);
}
РЕКЛАМИРАЙ ПРИ НАС!
AMXX-BG.INFO
КАК ДА ИЗПОЛЗВАМ
Добави в началото на .sma файла:
#include <fcs>
1. Изтегли
Свали файла от бутона по-горе
2. Копирай
Постави в scripting/include/
3. Включи
Добави #include директивата
4. Компилирай
Използвай amxxpc или scripting/compile.exe
PrivateServ.NET