FiveM Docs
/
Native Reference
API Set:
all
server
client
Language:
raw
lua
c#
js
DECOR_GET_FLOAT
(Entity entity, char* propertyName)
DECOR_GET_INT
(Entity entity, char* propertyName)
DECOR_IS_REGISTERED_AS_TYPE
(char* propertyName, int type)
DECOR_REGISTER
(char* propertyName, int type)
DECOR_REGISTER_LOCK
()
DECOR_REMOVE
(Entity entity, char* propertyName)
DECOR_SET_BOOL
(Entity entity, char* propertyName, BOOL value)
DECOR_SET_FLOAT
(Entity entity, char* propertyName, float value)
DECOR_SET_INT
(Entity entity, char* propertyName, int value)
DECOR_SET_TIME
(Entity entity, char* propertyName, int timestamp)
Namespace:
DLC
_GET_EXTRA_CONTENT_PACK_HAS_BEEN_INSTALLED
()
GET_IS_LOADING_SCREEN_ACTIVE
()
HAS_CLOUD_REQUESTS_FINISHED
(BOOL* variable, Any unused)
IS_DLC_PRESENT
(Hash dlcHash)
ON_ENTER_MP
()
ON_ENTER_SP
()
0x241FCA5B1AA14F75
()
0x9489659372A81585
()
0xA213B11DFF526300
()
0xC4637A6D03C24CC3
()
0xF2E07819EF1A5289
()
Namespace:
ENTITY
APPLY_FORCE_TO_ENTITY
(Entity entity, int forceType, float x, float y, float z, float offX, float offY, float offZ, int boneIndex, BOOL isDirectionRel, BOOL ignoreUpVec, BOOL isForceRel, BOOL p12, BOOL p13)
APPLY_FORCE_TO_ENTITY_CENTER_OF_MASS
(Entity entity, int forceType, float x, float y, float z, BOOL p5, BOOL isDirectionRel, BOOL isForceRel, BOOL p8)
_ATTACH_ENTITY_BONE_TO_ENTITY_BONE
(Entity entity1, Entity entity2, int entityBone, int entityBone2, BOOL p4, BOOL p5)
_ATTACH_ENTITY_BONE_TO_ENTITY_BONE_PHYSICALLY
(Entity entity1, Entity entity2, int entityBone, int entityBone2, BOOL p4, BOOL p5)
ATTACH_ENTITY_TO_ENTITY
(Entity entity1, Entity entity2, int boneIndex, float xPos, float yPos, float zPos, float xRot, float yRot, float zRot, BOOL p9, BOOL useSoftPinning, BOOL collision, BOOL isPed, int rotationOrder, BOOL syncRot)
ATTACH_ENTITY_TO_ENTITY_PHYSICALLY
(Entity entity1, Entity entity2, int boneIndex1, int boneIndex2, float xPos1, float yPos1, float zPos1, float xPos2, float yPos2, float zPos2, float xRot, float yRot, float zRot, float breakForce, BOOL fixedRot, BOOL p15, BOOL collision, BOOL teleport, int p18)
CLEAR_ENTITY_LAST_DAMAGE_ENTITY
(Entity entity)
CREATE_FORCED_OBJECT
(float x, float y, float z, Any p3, Hash modelHash, BOOL p5)
CREATE_MODEL_HIDE
(float x, float y, float z, float radius, Hash model, BOOL p5)
CREATE_MODEL_HIDE_EXCLUDING_SCRIPT_OBJECTS
(float x, float y, float z, float radius, Hash model, BOOL p5)
CREATE_MODEL_SWAP
(float x, float y, float z, float radius, Hash originalModel, Hash newModel, BOOL p6)
DELETE_ENTITY
(Entity* entity)