FiveM Docs
/
Native Reference
API Set:
all
server
client
Language:
raw
lua
c#
js
_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)
ADD_PETROL_DECAL
(float x, float y, float z, float groundLvl, float width, float transparency)
ADD_PETROL_TRAIL_DECAL_INFO
(float x, float y, float z, float p3)
ADD_TCMODIFIER_OVERRIDE
(char* modifierName1, char* modifierName2)
ADD_VEHICLE_CREW_EMBLEM
(Vehicle vehicle, Ped ped, int boneIndex, float x1, float x2, float x3, float y1, float y2, float y3, float z1, float z2, float z3, float scale, Any p13, int alpha)
_ANIMPOSTFX_GET_UNK
(char* effectName)
ANIMPOSTFX_IS_RUNNING
(char* effectName)
ANIMPOSTFX_PLAY
(char* effectName, int duration, BOOL looped)
ANIMPOSTFX_STOP
(char* effectName)
ANIMPOSTFX_STOP_ALL
()
_ANIMPOSTFX_STOP_AND_DO_UNK
(char* effectName)
ATTACH_TV_AUDIO_TO_ENTITY
(Entity entity)
BEGIN_SCALEFORM_MOVIE_METHOD
(int scaleform, char* methodName)
BEGIN_SCALEFORM_MOVIE_METHOD_ON_FRONTEND
(char* functionName)
BEGIN_SCALEFORM_MOVIE_METHOD_ON_FRONTEND_HEADER
(char* functionName)
BEGIN_SCALEFORM_SCRIPT_HUD_MOVIE_METHOD
(int hudComponent, char* methodName)
BEGIN_TAKE_HIGH_QUALITY_PHOTO
()
BEGIN_TAKE_MISSION_CREATOR_PHOTO
()
BEGIN_TEXT_COMMAND_SCALEFORM_STRING
(char* textLabel)
CALL_SCALEFORM_MOVIE_METHOD
(int scaleform, char* method)
CALL_SCALEFORM_MOVIE_METHOD_WITH_NUMBER
(int scaleform, char* methodName, float param1, float param2, float param3, float param4, float param5)
CALL_SCALEFORM_MOVIE_METHOD_WITH_NUMBER_AND_STRING
(int scaleform, char* methodName, float floatParam1, float floatParam2, float floatParam3, float floatParam4, float floatParam5, char* stringParam1, char* stringParam2, char* stringParam3, char* stringParam4, char* stringParam5)
CALL_SCALEFORM_MOVIE_METHOD_WITH_STRING
(int scaleform, char* methodName, char* param1, char* param2, char* param3, char* param4, char* param5)
_CASCADE_SHADOWS_CLEAR_SHADOW_SAMPLE_TYPE
()
CASCADE_SHADOWS_ENABLE_ENTITY_TRACKER
(BOOL toggle)
CASCADE_SHADOWS_INIT_SESSION
()
CASCADE_SHADOWS_SET_AIRCRAFT_MODE
(BOOL p0)