FiveM Docs
/
Native Reference
API Set:
all
server
client
Language:
raw
lua
c#
js
_GET_ENTITY_PHYSICS_HEADING
(Entity entity)
_GET_ENTITY_PICKUP
(Entity entity, Hash modelHash)
GET_ENTITY_PITCH
(Entity entity)
GET_ENTITY_POPULATION_TYPE
(Entity entity)
_GET_ENTITY_PROOFS
(Entity entity, BOOL* bulletProof, BOOL* fireProof, BOOL* explosionProof, BOOL* collisionProof, BOOL* meleeProof, BOOL* steamProof, BOOL* p7, BOOL* drownProof)
GET_ENTITY_QUATERNION
(Entity entity, float* x, float* y, float* z, float* w)
GET_ENTITY_ROLL
(Entity entity)
GET_ENTITY_ROTATION
(Entity entity, int rotationOrder)
GET_ENTITY_ROTATION_VELOCITY
(Entity entity)
GET_ENTITY_SCRIPT
(Entity entity, ScrHandle* script)
GET_ENTITY_SPEED
(Entity entity)
GET_ENTITY_SPEED_VECTOR
(Entity entity, BOOL relative)
GET_ENTITY_SUBMERGED_LEVEL
(Entity entity)
GET_ENTITY_TYPE
(Entity entity)
GET_ENTITY_UPRIGHT_VALUE
(Entity entity)
GET_ENTITY_VELOCITY
(Entity entity)
GET_LAST_MATERIAL_HIT_BY_ENTITY
(Entity entity)
GET_NEAREST_PLAYER_TO_ENTITY
(Entity entity)
GET_NEAREST_PLAYER_TO_ENTITY_ON_TEAM
(Entity entity, int team)
GET_OBJECT_INDEX_FROM_ENTITY_INDEX
(Entity entity)
GET_OFFSET_FROM_ENTITY_GIVEN_WORLD_COORDS
(Entity entity, float posX, float posY, float posZ)
GET_OFFSET_FROM_ENTITY_IN_WORLD_COORDS
(Entity entity, float offsetX, float offsetY, float offsetZ)
GET_PED_INDEX_FROM_ENTITY_INDEX
(Entity entity)
GET_VEHICLE_INDEX_FROM_ENTITY_INDEX
(Entity entity)
GET_WORLD_POSITION_OF_ENTITY_BONE
(Entity entity, int boneIndex)
HAS_ANIM_EVENT_FIRED
(Entity entity, Hash actionHash)
HAS_COLLISION_LOADED_AROUND_ENTITY
(Entity entity)
HAS_ENTITY_ANIM_FINISHED
(Entity entity, char* animDict, char* animName, int p3)
HAS_ENTITY_BEEN_DAMAGED_BY_ANY_OBJECT
(Entity entity)
HAS_ENTITY_BEEN_DAMAGED_BY_ANY_PED
(Entity entity)
HAS_ENTITY_BEEN_DAMAGED_BY_ANY_VEHICLE
(Entity entity)
HAS_ENTITY_BEEN_DAMAGED_BY_ENTITY
(Entity entity1, Entity entity2, BOOL p2)
HAS_ENTITY_CLEAR_LOS_TO_ENTITY
(Entity entity1, Entity entity2, int flags)
_HAS_ENTITY_CLEAR_LOS_TO_ENTITY_2
(Entity entity1, Entity entity2, int traceType)
HAS_ENTITY_CLEAR_LOS_TO_ENTITY_IN_FRONT
(Entity entity1, Entity entity2)