FiveM Docs
/
Native Reference
API Set:
all
server
client
Language:
raw
lua
c#
js
_GET_VARIANT_PROP
(Hash componentHash, int variantPropIndex, Hash* nameHash, int* enumValue, int* anchorPoint)
INIT_SHOP_PED_COMPONENT
(int* outComponent)
INIT_SHOP_PED_PROP
(int* outProp)
IS_CONTENT_ITEM_LOCKED
(Hash itemHash)
IS_DLC_VEHICLE_MOD
(Hash hash)
_LOAD_CONTENT_CHANGE_SET_GROUP
(Hash hash)
SETUP_SHOP_PED_APPAREL_QUERY
(int p0, int p1, int p2, int p3)
SETUP_SHOP_PED_APPAREL_QUERY_TU
(int character, int p1, int p2, BOOL p3, int p4, int componentId)
SETUP_SHOP_PED_OUTFIT_QUERY
(int character, BOOL p1)
_UNLOAD_CONTENT_CHANGE_SET_GROUP
(Hash hash)
0x6CEBE002E58DEE97
(Hash componentHash)
0x96E2929292A4DB77
(Hash componentHash)
Namespace:
FIRE
ADD_EXPLOSION
(float x, float y, float z, int explosionType, float damageScale, BOOL isAudible, BOOL isInvisible, float cameraShake)
ADD_EXPLOSION_WITH_USER_VFX
(float x, float y, float z, int explosionType, Hash explosionFx, float damageScale, BOOL isAudible, BOOL isInvisible, float cameraShake)
ADD_OWNED_EXPLOSION
(Ped ped, float x, float y, float z, int explosionType, float damageScale, BOOL isAudible, BOOL isInvisible, float cameraShake)
GET_CLOSEST_FIRE_POS
(Vector3* outPosition, float x, float y, float z)
_GET_ENTITY_INSIDE_EXPLOSION_AREA
(int explosionType, float x1, float y1, float z1, float x2, float y2, float z2, float radius)
_GET_ENTITY_INSIDE_EXPLOSION_SPHERE
(int explosionType, float x, float y, float z, float radius)
GET_NUMBER_OF_FIRES_IN_RANGE
(float x, float y, float z, float radius)
IS_ENTITY_ON_FIRE
(Entity entity)
IS_EXPLOSION_ACTIVE_IN_AREA
(int explosionType, float x1, float y1, float z1, float x2, float y2, float z2)
IS_EXPLOSION_IN_ANGLED_AREA
(int explosionType, float x1, float y1, float z1, float x2, float y2, float z2, float width)
IS_EXPLOSION_IN_AREA
(int explosionType, float x1, float y1, float z1, float x2, float y2, float z2)
IS_EXPLOSION_IN_SPHERE
(int explosionType, float x, float y, float z, float radius)
REMOVE_SCRIPT_FIRE
(FireId fireHandle)
_SET_FIRE_SPREAD_RATE
(float p0)
START_ENTITY_FIRE
(Entity entity)
START_SCRIPT_FIRE
(float X, float Y, float Z, int maxChildren, BOOL isGasFire)
STOP_ENTITY_FIRE
(Entity entity)
STOP_FIRE_IN_RANGE
(float x, float y, float z, float radius)
Namespace:
GRAPHICS
ADD_DECAL
(int decalType, float posX, float posY, float posZ, float dirX, float dirY, float dirZ, float sideX, float sideY, float sideZ, float width, float height, float rCoef, float gCoef, float bCoef, float opacity, float timeout, BOOL isLongRange, BOOL isDynamic, BOOL useComplexColn)
ADD_ENTITY_ICON
(Entity entity, char* icon)
_ADD_OIL_DECAL
(float x, float y, float z, float groundLvl, float width, float transparency)