FiveM Docs
/
Native Reference
API Set:
all
server
client
Language:
raw
lua
c#
js
SET_ENTITY_VISIBLE
(Entity entity, BOOL toggle, BOOL unk)
SET_OBJECT_AS_NO_LONGER_NEEDED
(Object* object)
SET_PED_AS_NO_LONGER_NEEDED
(Ped* ped)
SET_PICK_UP_BY_CARGOBOB_DISABLED
(Entity entity, BOOL toggle)
SET_VEHICLE_AS_NO_LONGER_NEEDED
(Vehicle* vehicle)
SET_WAIT_FOR_COLLISIONS_BEFORE_PROBE
(Entity entity, BOOL toggle)
STOP_ENTITY_ANIM
(Entity entity, char* animation, char* animGroup, float p3)
STOP_SYNCHRONIZED_ENTITY_ANIM
(Entity entity, float p1, BOOL p2)
STOP_SYNCHRONIZED_MAP_ENTITY_ANIM
(float p0, float p1, float p2, float p3, Any p4, float p5)
WOULD_ENTITY_BE_OCCLUDED
(Hash entityModelHash, float x, float y, float z, BOOL p4)
0x1A092BB0C3808B96
(Entity entity, BOOL p1)
0x352E2B5CF420BF3B
(Any p0, Any p1)
0x36F32DE87082343E
(Any p0, Any p1)
0x490861B88F4FD846
(Any p0)
0x5C3B791D580E0BC2
(Entity entity, float p1)
0x68B562E124CC0AEF
(Any p0, Any p1)
0x78E8E3A640178255
(Entity entity)
0xB17BC6453F6CF5AC
(Any p0, Any p1)
0xC34BC448DA29F5E9
(Entity entity, BOOL toggle)
0xCEA7C8E1B48FF68C
(Any p0, Any p1)
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)