FiveM Docs
/
Native Reference
API Set:
all
server
client
Language:
raw
lua
c#
js
0x68B562E124CC0AEF
(Any p0, Any p1)
0x694E00132F2823ED
(Entity entity, BOOL toggle)
0x78E8E3A640178255
(Entity entity)
0xB17BC6453F6CF5AC
(Any p0, Any p1)
0xC34BC448DA29F5E9
(Entity entity, BOOL toggle)
0xCEA7C8E1B48FF68C
(Any p0, Any p1)
0xDC6F8601FAF2E893
(Entity entity, BOOL toggle)
0xE66377CDDADA4810
(Entity entity, BOOL p1)
Namespace:
EVENT
ADD_SHOCKING_EVENT_AT_POSITION
(int eventType, float x, float y, float z, float duration)
ADD_SHOCKING_EVENT_FOR_ENTITY
(int eventType, Entity entity, float duration)
BLOCK_DECISION_MAKER_EVENT
(Hash name, int eventType)
CLEAR_DECISION_MAKER_EVENT_RESPONSE
(Hash name, int eventType)
IS_SHOCKING_EVENT_IN_SPHERE
(int eventType, float x, float y, float z, float radius)
REMOVE_ALL_SHOCKING_EVENTS
(BOOL p0)
REMOVE_SHOCKING_EVENT
(ScrHandle event)
REMOVE_SHOCKING_EVENT_SPAWN_BLOCKING_AREAS
()
SET_DECISION_MAKER
(Ped ped, Hash name)
SUPPRESS_AGITATION_EVENTS_NEXT_FRAME
()
SUPPRESS_SHOCKING_EVENT_TYPE_NEXT_FRAME
(int eventType)
SUPPRESS_SHOCKING_EVENTS_NEXT_FRAME
()
UNBLOCK_DECISION_MAKER_EVENT
(Hash name, int eventType)
Namespace:
FILES
DOES_SHOP_PED_APPAREL_HAVE_RESTRICTION_TAG
(Hash componentHash, Hash restrictionTagHash, int componentId)
GET_DLC_VEHICLE_DATA
(int dlcVehicleIndex, Any* outData)
GET_DLC_VEHICLE_FLAGS
(int dlcVehicleIndex)
GET_DLC_VEHICLE_MOD_LOCK_HASH
(Hash hash)
GET_DLC_VEHICLE_MODEL
(int dlcVehicleIndex)
GET_DLC_WEAPON_COMPONENT_DATA
(int dlcWeaponIndex, int dlcWeapCompIndex, int* ComponentDataPtr)
_GET_DLC_WEAPON_COMPONENT_DATA_SP
(int dlcWeaponIndex, int dlcWeapCompIndex, int* ComponentDataPtr)
GET_DLC_WEAPON_DATA
(int dlcWeaponIndex, int* outData)
_GET_DLC_WEAPON_DATA_SP
(int dlcWeaponIndex, int* outData)
GET_FORCED_COMPONENT
(Hash componentHash, int forcedComponentIndex, Hash* nameHash, int* enumValue, int* componentType)
GET_FORCED_PROP
(Hash componentHash, int forcedPropIndex, Hash* nameHash, int* enumValue, int* anchorPoint)
GET_HASH_NAME_FOR_COMPONENT
(Entity entity, int componentId, int drawableVariant, int textureVariant)