FiveM Docs
/
Native Reference
API Set:
all
server
client
Language:
raw
lua
c#
js
PROCESS_ENTITY_ATTACHMENTS
(Entity entity)
REMOVE_FORCED_OBJECT
(Any p0, Any p1, Any p2, Any p3, Any p4)
REMOVE_MODEL_HIDE
(float x, float y, float z, float radius, Hash model, BOOL p5)
REMOVE_MODEL_SWAP
(float x, float y, float z, float radius, Hash originalModel, Hash newModel, BOOL p6)
RESET_ENTITY_ALPHA
(Entity entity)
SET_CAN_AUTO_VAULT_ON_ENTITY
(Entity entity, BOOL toggle)
SET_CAN_CLIMB_ON_ENTITY
(Entity entity, BOOL toggle)
SET_ENTITY_ALPHA
(Entity entity, int alphaLevel, BOOL skin)
SET_ENTITY_ALWAYS_PRERENDER
(Entity entity, BOOL toggle)
_SET_ENTITY_ANGULAR_VELOCITY
(Entity entity, float x, float y, float z)
SET_ENTITY_ANIM_CURRENT_TIME
(Entity entity, char* animDictionary, char* animName, float time)
SET_ENTITY_ANIM_SPEED
(Entity entity, char* animDictionary, char* animName, float speedMultiplier)
SET_ENTITY_AS_MISSION_ENTITY
(Entity entity, BOOL scriptHostObject, BOOL bGrabFromOtherScript)
SET_ENTITY_AS_NO_LONGER_NEEDED
(Entity* entity)
SET_ENTITY_CAN_BE_DAMAGED
(Entity entity, BOOL toggle)
SET_ENTITY_CAN_BE_DAMAGED_BY_RELATIONSHIP_GROUP
(Entity entity, BOOL bCanBeDamaged, int relGroup)
SET_ENTITY_CAN_BE_TARGETED_WITHOUT_LOS
(Entity entity, BOOL toggle)
_SET_ENTITY_CLEANUP_BY_ENGINE
(Entity entity, BOOL toggle)
SET_ENTITY_COLLISION
(Entity entity, BOOL toggle, BOOL keepPhysics)
SET_ENTITY_COMPLETELY_DISABLE_COLLISION
(Entity entity, BOOL toggle, BOOL keepPhysics)
SET_ENTITY_COORDS
(Entity entity, float xPos, float yPos, float zPos, BOOL alive, BOOL deadFlag, BOOL ragdollFlag, BOOL clearArea)
SET_ENTITY_COORDS_NO_OFFSET
(Entity entity, float x, float y, float z, BOOL keepTasks, BOOL keepIK, BOOL doWarp)
SET_ENTITY_COORDS_WITHOUT_PLANTS_RESET
(Entity entity, float xPos, float yPos, float zPos, BOOL alive, BOOL deadFlag, BOOL ragdollFlag, BOOL clearArea)
_SET_ENTITY_DECALS_DISABLED
(Entity entity, BOOL p1)
SET_ENTITY_DYNAMIC
(Entity entity, BOOL toggle)
SET_ENTITY_HAS_GRAVITY
(Entity entity, BOOL toggle)
SET_ENTITY_HEADING
(Entity entity, float heading)
SET_ENTITY_HEALTH
(Entity entity, int health)
SET_ENTITY_INVINCIBLE
(Entity entity, BOOL toggle)
SET_ENTITY_IS_TARGET_PRIORITY
(Entity entity, BOOL p1, float p2)
SET_ENTITY_LIGHTS
(Entity entity, BOOL toggle)
SET_ENTITY_LOAD_COLLISION_FLAG
(Entity entity, BOOL toggle)
SET_ENTITY_LOD_DIST
(Entity entity, int value)
SET_ENTITY_MAX_HEALTH
(Entity entity, int value)
SET_ENTITY_MAX_SPEED
(Entity entity, float speed)