mirror of
https://github.com/alliedmodders/amxmodx.git
synced 2024-12-25 06:15:37 +03:00
First version
This commit is contained in:
parent
28a1182cd2
commit
820fedca22
263
plugins/include/fakemeta_stocks.inc
Executable file
263
plugins/include/fakemeta_stocks.inc
Executable file
@ -0,0 +1,263 @@
|
||||
/*
|
||||
To do:
|
||||
- all dllfuncs
|
||||
*/
|
||||
|
||||
/* Fakemeta stocks
|
||||
*
|
||||
* by the AMX Mod X Development Team
|
||||
*
|
||||
* This file is provided as is (no warranties).
|
||||
*/
|
||||
|
||||
#if !defined _fakemeta_included
|
||||
#include <fakemeta>
|
||||
#endif
|
||||
|
||||
#if defined _fakemeta_stocks_included
|
||||
#endinput
|
||||
#endif
|
||||
#define _fakemeta_stocks_included
|
||||
|
||||
stock EF_PrecacheModel(string[])
|
||||
return engfunc(EngFunc_PrecacheModel, string)
|
||||
|
||||
stock EF_PrecacheSound(string[])
|
||||
return engfunc(EngFunc_PrecacheSound, string)
|
||||
|
||||
stock EF_SetModel(const ID, const STRING[])
|
||||
return engfunc(EngFunc_SetModel, ID, STRING)
|
||||
|
||||
stock EF_ModelIndex(const STRING[])
|
||||
return engfunc(EngFunc_ModelIndex, STRING)
|
||||
|
||||
stock EF_ModelFrames(modelIndex)
|
||||
return engfunc(EngFunc_ModelFrames, modelIndex)
|
||||
|
||||
|
||||
stock EF_SetSize(const STRING[])
|
||||
return engfunc(EngFunc_SetSize, STRING)
|
||||
|
||||
stock EF_ChangeLevel(const S1[], const S2[])
|
||||
return engfunc(EngFunc_ChangeLevel, S1, S2)
|
||||
|
||||
stock EF_VecToYaw(const Float:VECTOR[3], &Float:returnValue)
|
||||
return engfunc(EngFunc_VecToYaw, VECTOR)
|
||||
|
||||
stock EF_VecToAngles(const Float:VECTORIN[3], const Float:VECTOROUT[3])
|
||||
return engfunc(EngFunc_VecToAngles, VECTORIN, VECTOROUT)
|
||||
|
||||
stock EF_MoveToOrigin(const ENTITY, const Float:GOAL[3], const Float:DISTANCE, const MOVETYPE)
|
||||
return engfunc(EngFunc_MoveToOrigin, ENTITY, GOAL, DISTANCE, MOVETYPE)
|
||||
|
||||
|
||||
stock EF_ChangeYaw(const ENTITY)
|
||||
return engfunc(EngFunc_ChangeYaw, ENTITY)
|
||||
|
||||
stock EF_ChangePitch(const ENTITY)
|
||||
return engfunc(EngFunc_ChangePitch, ENTITY)
|
||||
|
||||
stock EF_FindEntityByString(const STARTSEARCHAFTER, const FIELD[], const VALUE[])
|
||||
return engfunc(EngFunc_FindEntityByString, STARTSEARCHAFTER, FIELD, VALUE)
|
||||
|
||||
stock EF_GetEntityIllum(const ENTITY)
|
||||
return engfunc(EngFunc_GetEntityIllum, ENTITY)
|
||||
|
||||
stock EF_FindEntityInSphere(const STARTSEARCHAFTER, const Float:ORIGIN[3], Float:radius)
|
||||
return engfunc(EngFunc_FindEntityInSphere, STARTSEARCHAFTER, ORIGIN, radius)
|
||||
|
||||
|
||||
stock EF_FindClientInPVS(const CLIENT)
|
||||
return engfunc(EngFunc_FindClientInPVS, CLIENT)
|
||||
|
||||
stock EF_EntitiesInPVS(const CLIENT)
|
||||
return engfunc(EngFunc_EntitiesInPVS, CLIENT)
|
||||
|
||||
stock EF_MakeVectors(const Float:VECTOR[3])
|
||||
return engfunc(EngFunc_MakeVectors, VECTOR)
|
||||
|
||||
stock EF_AngleVectors(const Float:VECTOR[3], Float:forward_[3], Float:right[3], Float:up[3])
|
||||
return engfunc(EngFunc_AngleVectors, VECTOR, forward_, right, up)
|
||||
|
||||
stock EF_CreateEntity()
|
||||
return engfunc(EngFunc_CreateEntity)
|
||||
|
||||
|
||||
stock EF_RemoveEntity(const ENTITY)
|
||||
return engfunc(EngFunc_RemoveEntity, ENTITY)
|
||||
|
||||
stock EF_CreateNamedEntity(const CLASSNAME)
|
||||
return engfunc(EngFunc_CreateNamedEntity, CLASSNAME)
|
||||
|
||||
stock EF_MakeStatic(const ENTITY)
|
||||
return engfunc(EngFunc_MakeStatic, ENTITY)
|
||||
|
||||
stock EF_EntIsOnFloor(const ENTITY)
|
||||
return engfunc(EngFunc_EntIsOnFloor, ENTITY)
|
||||
|
||||
stock EF_DropToFloor(const ENTITY)
|
||||
return engfunc(EngFunc_DropToFloor, ENTITY)
|
||||
|
||||
|
||||
stock EF_WalkMove(const ENTITY, Float:yaw, Float:distance, iMode)
|
||||
return engfunc(EngFunc_WalkMove, ENTITY, yaw, distance, iMode)
|
||||
|
||||
stock EF_SetOrigin(const ENTITY, const Float:ORIGIN[3])
|
||||
return engfunc(EngFunc_SetOrigin, ENTITY, ORIGIN)
|
||||
|
||||
stock EF_EmitSound(const ENTITY, channel, const SAMPLE[], Float:volume, Float:attenuation, fFlags, pitch)
|
||||
return engfunc(EngFunc_EmitSound, ENTITY, channel, SAMPLE, volume, attenuation, fFlags, pitch)
|
||||
|
||||
stock EF_EmitAmbientSound(const ENTITY, Float:pos[3], const SAMPLE[], Float:volume, Float:attenuation, fFlags, pitch)
|
||||
return engfunc(EngFunc_EmitAmbientSound, ENTITY, pos, SAMPLE, volume, attenuation, fFlags, pitch)
|
||||
|
||||
stock EF_TraceLine(const Float:V1[3], const Float:V2[3], fNoMonsters, const ENT_TO_SKIP)
|
||||
return engfunc(EngFunc_TraceLine, V1, V2, fNoMonsters, ENT_TO_SKIP)
|
||||
|
||||
|
||||
stock EF_TraceToss(const ENTITY, const ENTITY_TO_IGNORE)
|
||||
return engfunc(EngFunc_TraceToss, ENTITY, ENTITY_TO_IGNORE)
|
||||
|
||||
stock EF_TraceMonsterHull(const ENTITY, const Float:V1[3], const Float:V2[3], fNoMonsters, const ENTITY_TO_SKIP)
|
||||
return engfunc(EngFunc_TraceMonsterHull, ENTITY, V1, V2, fNoMonsters, ENTITY_TO_SKIP)
|
||||
|
||||
stock EF_TraceHull(const Float:V1[3], const Float:V2[3], fNoMonsters, hullNumber, const ENTITY_TO_SKIP)
|
||||
return engfunc(EngFunc_TraceHull, V1, V2, fNoMonsters, hullNumber, ENTITY_TO_SKIP)
|
||||
|
||||
stock EF_TraceModel(const Float:V1[3], const Float:V2[3], hullNumber, const ENTITY)
|
||||
return engfunc(EngFunc_TraceModel, V1, V2, hullNumber, ENTITY)
|
||||
|
||||
stock EF_TraceTexture(const TEXTURE_ENTITY, const Float:V1[3], const Float:V2[3])
|
||||
return engfunc(EngFunc_TraceTexture, TEXTURE_ENTITY, V1, V2)
|
||||
|
||||
|
||||
stock EF_TraceSphere(const Float:V1[3], const Float:V2[3], fNoMonsters, Float:radius, const ENTITY_TO_SKIP)
|
||||
return engfunc(EngFunc_TraceSphere, V1, V2, fNoMonsters, radius, ENTITY_TO_SKIP)
|
||||
|
||||
stock EF_GetAimVector(const ENTITY, Float:speed, Float:returnVector[3])
|
||||
return engfunc(EngFunc_GetAimVector, ENTITY, speed, returnVector)
|
||||
|
||||
stock EF_ParticleEffect(const Float:ORIGIN[3], const Float:DIRECTION[3], Float:color, Float:count)
|
||||
return engfunc(EngFunc_ParticleEffect, ORIGIN, DIRECTION, color, count)
|
||||
|
||||
stock EF_LightStyle(style, val[])
|
||||
return engfunc(EngFunc_LightStyle, style, val)
|
||||
|
||||
stock EF_DecalIndex(const NAME[])
|
||||
return engfunc(EngFunc_DecalIndex, NAME)
|
||||
|
||||
|
||||
stock EF_PointContents(const Float:VECTOR[3])
|
||||
return engfunc(EngFunc_PointContents, VECTOR)
|
||||
|
||||
stock EF_FreeEntPrivateData(const ENTITY)
|
||||
return engfunc(EngFunc_FreeEntPrivateData, ENTITY)
|
||||
|
||||
stock EF_SzFromIndex(iString)
|
||||
return engfunc(EngFunc_SzFromIndex, iString)
|
||||
|
||||
stock EF_AllocString(const STRING[])
|
||||
return engfunc(EngFunc_AllocString, STRING)
|
||||
|
||||
stock EF_RegUserMsg(const NAME[], iSize)
|
||||
return engfunc(EngFunc_RegUserMsg, NAME, iSize)
|
||||
|
||||
|
||||
stock EF_AnimationAutomove(const ENTITY, Float:flTime)
|
||||
return engfunc(EngFunc_AnimationAutomove, ENTITY, flTime)
|
||||
|
||||
stock EF_GetBonePosition(const ENTITY, iBone, Float:origin[3], Float:angles[3])
|
||||
return engfunc(EngFunc_GetBonePosition, ENTITY, iBone, origin, angles)
|
||||
|
||||
stock EF_GetAttachment(const ENTITY, iAttachment, Float:origin[3], Float:angles[3])
|
||||
return engfunc(EngFunc_GetAttachment, ENTITY, iAttachment, origin, angles)
|
||||
|
||||
stock EF_SetView(const CLIENT, const VIEW_ENTITY)
|
||||
return engfunc(EngFunc_SetView, CLIENT, VIEW_ENTITY)
|
||||
|
||||
stock EF_Time(&Float:returnValue)
|
||||
return engfunc(EngFunc_Time, returnValue)
|
||||
|
||||
|
||||
stock EF_CrosshairAngle(const CLIENT, Float:pitch, Float:yaw)
|
||||
return engfunc(EngFunc_CrosshairAngle, CLIENT, pitch, yaw)
|
||||
|
||||
stock EF_FadeClientVolume(const ENTITY, fadePercent, fadeOutSeconds, holdTime, fadeInSeconds)
|
||||
return engfunc(EngFunc_FadeClientVolume, ENTITY, fadePercent, fadeOutSeconds, holdTime, fadeInSeconds)
|
||||
|
||||
stock EF_SetClientMaxspeed(const ENTITY, Float:newMaxspeed)
|
||||
return engfunc(EngFunc_SetClientMaxspeed, ENTITY, newMaxspeed)
|
||||
|
||||
stock EF_CreateFakeClient(const NETNAME[])
|
||||
return engfunc(EngFunc_CreateFakeClient, NETNAME)
|
||||
|
||||
stock EF_RunPlayerMove(const FAKECLIENT, const Float:VIEWANGLES[3], Float:forwardmove, Float:sidemove, Float:upmove, buttons, impulse, msec)
|
||||
return engfunc(EngFunc_RunPlayerMove, FAKECLIENT, VIEWANGLES, forwardmove, sidemove, upmove, buttons, impulse, msec)
|
||||
|
||||
|
||||
stock EF_NumberOfEntities()
|
||||
return engfunc(EngFunc_NumberOfEntities)
|
||||
|
||||
stock EF_StaticDecal(const Float:ORIGIN[3], decalIndex, entityIndex, modelIndex)
|
||||
return engfunc(EngFunc_StaticDecal, ORIGIN, decalIndex, entityIndex, modelIndex)
|
||||
|
||||
stock EF_PrecacheGeneric(const STRING[])
|
||||
return engfunc(EngFunc_PrecacheGeneric, STRING)
|
||||
|
||||
stock EF_BuildSoundMSG(const ENTITY, channel, const SAMPLE[], Float:volume, Float:attenuation, fFlags, pitch, msg_dest, msg_type, const Float:ORIGIN[3], const ED)
|
||||
return engfunc(EngFunc_BuildSoundMsg, ENTITY, channel, SAMPLE, volume, attenuation, fFlags, pitch, msg_dest, msg_type, ORIGIN, ED)
|
||||
|
||||
stock EF_GetPhysicsKeyValue(const CLIENT, const KEY[])
|
||||
return engfunc(EngFunc_GetPhysicsKeyValue, CLIENT, KEY)
|
||||
|
||||
|
||||
stock EF_SetPhysicsKeyValue(const CLIENT, const KEY[], const VALUE[])
|
||||
return engfunc(EngFunc_SetPhysicsKeyValue, CLIENT, KEY, VALUE)
|
||||
|
||||
stock EF_GetPhysicsInfoString(const CLIENT, returnString[], maxLength)
|
||||
return engfunc(EngFunc_GetPhysicsInfoString, CLIENT, returnString, maxLength)
|
||||
|
||||
stock EF_PrecacheEvent(type, const STRING[])
|
||||
return engfunc(EngFunc_PrecacheEvent, type, STRING)
|
||||
|
||||
stock EF_PlaybackEvent(flags, const INVOKER, eventindex, Float:delay, Float:origin[3], Float:angles[3], Float:fparam1, Float:fparam2, iparam1, iparam2, bparam1, bparam2)
|
||||
return engfunc(EngFunc_PlaybackEvent, flags, INVOKER, eventindex, delay, origin, angles, fparam1, fparam2, iparam1, iparam2, bparam1, bparam2)
|
||||
|
||||
stock EF_CheckVisibility(const ENTITY, set[])
|
||||
return engfunc(EngFunc_CheckVisibility, ENTITY, set)
|
||||
|
||||
|
||||
stock EF_GetCurrentPlayer()
|
||||
return engfunc(EngFunc_GetCurrentPlayer)
|
||||
|
||||
stock EF_CanSkipPlayer(const PLAYER)
|
||||
return engfunc(EngFunc_CanSkipPlayer, PLAYER)
|
||||
|
||||
stock EF_SetGroupMask(mask, op)
|
||||
return engfunc(EngFunc_SetGroupMask, mask, op)
|
||||
|
||||
stock EF_GetClientListening(receiver, sender)
|
||||
return engfunc(EngFunc_GetClientListening, receiver, sender);
|
||||
|
||||
stock EF_SetClientListening(receiver, sender, bool:listen)
|
||||
return engfunc(EngFunc_SetClientListening, receiver, sender, listen);
|
||||
|
||||
|
||||
stock EF_MessageBegin(msg_dest, msg_type, const Float:ORIGIN[3], const ED)
|
||||
return engfunc(EngFunc_MessageBegin, msg_dest, msg_type, ORIGIN, ED)
|
||||
|
||||
stock EF_WriteCoord(Float:value)
|
||||
return engfunc(EngFunc_WriteCoord, value)
|
||||
|
||||
stock EF_WriteAngle(Float:value)
|
||||
return engfunc(EngFunc_WriteAngle, value)
|
||||
|
||||
|
||||
stock EF_InfoKeyValue(const CLIENT, const KEY[], returnValue[], maxLength)
|
||||
return engfunc(EngFunc_InfoKeyValue, CLIENT, KEY, returnValue, maxLength)
|
||||
|
||||
stock EF_SetKeyValue(const BUFFER[], const KEY[], const VALUE[])
|
||||
return engfunc(EngFunc_SetKeyValue, BUFFER, KEY, VALUE)
|
||||
|
||||
stock EF_SetClientKeyValue(const ID, const KEY[], const VALUE[])
|
||||
return engfunc(EngFunc_SetClientKeyValue, ID, KEY, VALUE)
|
Loading…
Reference in New Issue
Block a user