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

cs_teams_api.inc

.inc 519 B 25 реда 04.04.2026
Pawn / AMX Mod X
#if defined _cs_teams_api_included
  #endinput
#endif
#define _cs_teams_api_included

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

#include <cstrike>

/**
 * Sets a player's team.
 *
 * @param id			Player index.
 * @param team			CS_TEAM_ constant.
 * @param update		Whether to update team on scoreboard.
 */
native cs_set_player_team(id, CsTeams:team, update = true)
РЕКЛАМИРАЙ ПРИ НАС!
AMXX-BG.INFO
КАК ДА ИЗПОЛЗВАМ
Добави в началото на .sma файла:
#include <cs_teams_api>
1. Изтегли
Свали файла от бутона по-горе
2. Копирай
Постави в scripting/include/
3. Включи
Добави #include директивата
4. Компилирай
Използвай amxxpc или scripting/compile.exe
PrivateServ.NET