FiveM Docs
/
Native Reference
API Set:
all
server
client
Language:
raw
lua
c#
js
SET_SCALEFORM_MOVIE_AS_NO_LONGER_NEEDED
(int* scaleformHandle)
SET_SCALEFORM_MOVIE_TO_USE_SYSTEM_TIME
(int scaleform, BOOL toggle)
SET_SCRIPT_GFX_ALIGN
(int horizontalAlign, int verticalAlign)
SET_SCRIPT_GFX_ALIGN_PARAMS
(float x, float y, float w, float h)
SET_SCRIPT_GFX_DRAW_BEHIND_PAUSEMENU
(BOOL flag)
SET_SCRIPT_GFX_DRAW_ORDER
(int order)
SET_SEETHROUGH
(BOOL toggle)
SET_STREAMED_TEXTURE_DICT_AS_NO_LONGER_NEEDED
(char* textureDict)
SET_TIMECYCLE_MODIFIER
(char* modifierName)
SET_TIMECYCLE_MODIFIER_STRENGTH
(float strength)
SET_TRACKED_POINT_INFO
(int point, float x, float y, float z, float radius)
SET_TRANSITION_TIMECYCLE_MODIFIER
(char* modifierName, float transition)
SET_TV_AUDIO_FRONTEND
(BOOL toggle)
SET_TV_CHANNEL
(int channel)
SET_TV_CHANNEL_PLAYLIST
(int tvChannel, char* playlistName, BOOL restart)
SET_TV_CHANNEL_PLAYLIST_AT_HOUR
(int tvChannel, char* playlistName, int hour)
SET_TV_VOLUME
(float volume)
START_NETWORKED_PARTICLE_FX_LOOPED_ON_ENTITY
(char* effectName, Entity entity, float xOffset, float yOffset, float zOffset, float xRot, float yRot, float zRot, float scale, BOOL xAxis, BOOL yAxis, BOOL zAxis)
START_NETWORKED_PARTICLE_FX_LOOPED_ON_ENTITY_BONE
(char* effectName, Entity entity, float xOffset, float yOffset, float zOffset, float xRot, float yRot, float zRot, int boneIndex, float scale, BOOL xAxis, BOOL yAxis, BOOL zAxis)
START_NETWORKED_PARTICLE_FX_NON_LOOPED_AT_COORD
(char* effectName, float xPos, float yPos, float zPos, float xRot, float yRot, float zRot, float scale, BOOL xAxis, BOOL yAxis, BOOL zAxis)
START_NETWORKED_PARTICLE_FX_NON_LOOPED_ON_ENTITY
(char* effectName, Entity entity, float offsetX, float offsetY, float offsetZ, float rotX, float rotY, float rotZ, float scale, BOOL axisX, BOOL axisY, BOOL axisZ)
_START_NETWORKED_PARTICLE_FX_NON_LOOPED_ON_ENTITY_BONE
(char* effectName, Entity entity, float offsetX, float offsetY, float offsetZ, float rotX, float rotY, float rotZ, int boneIndex, float scale, BOOL axisX, BOOL axisY, BOOL axisZ)
START_NETWORKED_PARTICLE_FX_NON_LOOPED_ON_PED_BONE
(char* effectName, Ped ped, float offsetX, float offsetY, float offsetZ, float rotX, float rotY, float rotZ, int boneIndex, float scale, BOOL axisX, BOOL axisY, BOOL axisZ)
START_PARTICLE_FX_LOOPED_AT_COORD
(char* effectName, float x, float y, float z, float xRot, float yRot, float zRot, float scale, BOOL xAxis, BOOL yAxis, BOOL zAxis, BOOL p11)
START_PARTICLE_FX_LOOPED_ON_ENTITY
(char* effectName, Entity entity, float xOffset, float yOffset, float zOffset, float xRot, float yRot, float zRot, float scale, BOOL xAxis, BOOL yAxis, BOOL zAxis)
START_PARTICLE_FX_LOOPED_ON_ENTITY_BONE
(char* effectName, Entity entity, float xOffset, float yOffset, float zOffset, float xRot, float yRot, float zRot, int boneIndex, float scale, BOOL xAxis, BOOL yAxis, BOOL zAxis)
START_PARTICLE_FX_LOOPED_ON_PED_BONE
(char* effectName, Ped ped, float xOffset, float yOffset, float zOffset, float xRot, float yRot, float zRot, int boneIndex, float scale, BOOL xAxis, BOOL yAxis, BOOL zAxis)
START_PARTICLE_FX_NON_LOOPED_AT_COORD
(char* effectName, float xPos, float yPos, float zPos, float xRot, float yRot, float zRot, float scale, BOOL xAxis, BOOL yAxis, BOOL zAxis)
START_PARTICLE_FX_NON_LOOPED_ON_ENTITY
(char* effectName, Entity entity, float offsetX, float offsetY, float offsetZ, float rotX, float rotY, float rotZ, float scale, BOOL axisX, BOOL axisY, BOOL axisZ)
START_PARTICLE_FX_NON_LOOPED_ON_PED_BONE
(char* effectName, Ped ped, float offsetX, float offsetY, float offsetZ, float rotX, float rotY, float rotZ, int boneIndex, float scale, BOOL axisX, BOOL axisY, BOOL axisZ)
START_PETROL_TRAIL_DECALS
(float p0)
_STOP_BINK_MOVIE
(int binkMovie)
STOP_PARTICLE_FX_LOOPED
(int ptfxHandle, BOOL p1)
TERRAINGRID_ACTIVATE
(BOOL toggle)
TERRAINGRID_SET_COLOURS
(int lowR, int lowG, int lowB, int lowAlpha, int R, int G, int B, int Alpha, int highR, int highG, int highB, int highAlpha)