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

Vexd_Utilities.inc

.inc 3.1 KB 110 реда 04.04.2026
Pawn / AMX Mod X
/* Vexd Utility backwards compatibility
*
* by the AMX Mod X Development Team
*
* This file is provided as is (no warranties).
*/

#if defined _Vexd_Utilities_included
  #endinput
#endif
#define _Vexd_Utilities_included

#include <engine>
#if defined AMXMOD_BCOMPAT
#if !defined _vexd_bcompat_included
#include <VexdUM>
#endif
#endif

stock Entvars_Get_Int(iIndex, iVariable)
	return entity_get_int(iIndex, iVariable);

stock Entvars_Set_Int(iIndex, iVariable, iNewValue)
	return entity_set_int(iIndex, iVariable, iNewValue);

stock Float:Entvars_Get_Float(iIndex, iVariable)
	return entity_get_float(iIndex, iVariable);

stock Entvars_Set_Float(iIndex, iVariable, Float:fNewValue)
	return entity_set_float(iIndex, iVariable, fNewValue);

stock Entvars_Get_Vector(iIndex, iVariable, Float:vRetVector[3])
	return entity_get_vector(iIndex, iVariable, vRetVector);

stock Entvars_Set_Vector(iIndex, iVariable, Float:vNewVector[3])
	return entity_set_vector(iIndex, iVariable, vNewVector);

stock Entvars_Get_Edict(iIndex, iVariable)
	return entity_get_edict(iIndex, iVariable);

stock Entvars_Set_Edict(iIndex, iVariable, iNewIndex)
	return entity_set_edict(iIndex, iVariable, iNewIndex);

stock Entvars_Get_String(iIndex, iVariable, szReturnValue[], iReturnLen)
	return entity_get_string(iIndex, iVariable, szReturnValue, iReturnLen);

stock Entvars_Set_String(iIndex, iVariable, szNewValue[])
	return entity_set_string(iIndex, iVariable, szNewValue);

stock Entvars_Get_Byte(iIndex, iVariable)
	return entity_get_byte(iIndex, iVariable);

stock Entvars_Set_Byte(iIndex, iVariable, iNewValue)
	return entity_set_byte(iIndex, iVariable, iNewValue);

stock CreateEntity(szClassname[])
	return create_entity(szClassname);

stock ENT_SetModel(iIndex, szModel[])
	return entity_set_model(iIndex, szModel);

stock ENT_SetOrigin(iIndex, Float:fNewOrigin[3])
	return entity_set_origin(iIndex, fNewOrigin);

stock FindEntity(iIndex, szValue[])
	return find_ent_by_class(iIndex, szValue);

stock RemoveEntity(iIndex)
	return remove_entity(iIndex);

stock TraceLn(iIgnoreEnt, Float:fStart[3], Float:fEnd[3], Float:vReturn[3])
	return trace_line(iIgnoreEnt, fStart, fEnd, vReturn);

stock TraceNormal(iIgnoreEnt, Float:fStart[3], Float:fEnd[3], Float:vReturn[3])
	return trace_normal(iIgnoreEnt, fStart, fEnd, vReturn);

stock VecToAngles(Float:fVector[3], Float:vReturn[3])
	return vector_to_angle(fVector, vReturn);

stock Float:VecLength(Float:vVector[3])
	return vector_length(vVector);

stock Float:VecDist(Float:vVector[3], Float:vVector2[3])
	return vector_distance(vVector, vVector2);

stock MessageBlock(iMessage, iMessageFlags)
	return set_msg_block(iMessage, iMessageFlags);

stock GetMessageBlock(iMessage)
	return get_msg_block(iMessage);

stock Float:HLTime()
	return halflife_time();

stock FakeTouch(iToucher, iTouched)
	return fake_touch(iToucher, iTouched);

stock AttachView(iIndex, iTargetIndex)
	return attach_view(iIndex, iTargetIndex);

stock SetView(iIndex, ViewType)
	return set_view(iIndex, ViewType);

stock SetSpeak(iIndex, iSpeakFlags)
	return set_speak(iIndex, iSpeakFlags);

forward vexd_pfntouch(pToucher, pTouched);

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