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_maxspeed_api.inc

cs_maxspeed_api.inc

Keep this always at the bottom of this file

.inc 806 B 34 реда 04.04.2026
Pawn / AMX Mod X
#if defined _cs_maxspeed_api_included
  #endinput
#endif
#define _cs_maxspeed_api_included

#include <cs_maxspeed_api_const>

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

/**
 * Sets a player's maxspeed.
 *
 * @param id			Player index.
 * @param maxspeed		Custom maxspeed.
 * @param multiplier	Treat maxspeed as multiplier instead of absolute value.
 */
native cs_set_player_maxspeed(id, Float:maxspeed, multiplier = false)

/**
 * Resets a player's maxspeed to default CS maxspeed.
 *
 * @param id			Player index.
 */
native cs_reset_player_maxspeed(id)

// Keep this always at the bottom of this file
#include <cs_maxspeed_api_stocks>
РЕКЛАМИРАЙ ПРИ НАС!
AMXX-BG.INFO
КАК ДА ИЗПОЛЗВАМ
Добави в началото на .sma файла:
#include <cs_maxspeed_api>
1. Изтегли
Свали файла от бутона по-горе
2. Копирай
Постави в scripting/include/
3. Включи
Добави #include директивата
4. Компилирай
Използвай amxxpc или scripting/compile.exe
PrivateServ.NET