FiveM Docs
/
Native Reference
API Set:
all
server
client
Language:
raw
lua
c#
js
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)
TERRAINGRID_SET_PARAMS
(float x, float y, float z, float p3, float rotation, float p5, float width, float height, float p8, float scale, float glowIntensity, float normalHeight, float heightDiff)
TOGGLE_PAUSED_RENDERPHASES
(BOOL toggle)
TRIGGER_SCREENBLUR_FADE_IN
(float transitionTime)
TRIGGER_SCREENBLUR_FADE_OUT
(float transitionTime)
UI3DSCENE_IS_AVAILABLE
()
UI3DSCENE_PUSH_PRESET
(char* presetName)
UNPATCH_DECAL_DIFFUSE_MAP
(int decalType)
UPDATE_LIGHTS_ON_ENTITY
(Entity entity)
USE_PARTICLE_FX_ASSET
(char* name)