FiveM Docs
/
Native Reference
API Set:
all
server
client
Language:
raw
lua
c#
js
SET_PARTICLE_FX_CAM_INSIDE_NONPLAYER_VEHICLE
(Vehicle vehicle, BOOL p1)
SET_PARTICLE_FX_CAM_INSIDE_VEHICLE
(BOOL p0)
SET_PARTICLE_FX_LOOPED_ALPHA
(int ptfxHandle, float alpha)
SET_PARTICLE_FX_LOOPED_COLOUR
(int ptfxHandle, float r, float g, float b, BOOL bLocalOnly)
SET_PARTICLE_FX_LOOPED_EVOLUTION
(int ptfxHandle, char* propertyName, float amount, BOOL noNetwork)
SET_PARTICLE_FX_LOOPED_FAR_CLIP_DIST
(int ptfxHandle, float range)
SET_PARTICLE_FX_LOOPED_OFFSETS
(int ptfxHandle, float x, float y, float z, float rotX, float rotY, float rotZ)
SET_PARTICLE_FX_LOOPED_SCALE
(int ptfxHandle, float scale)
SET_PARTICLE_FX_NON_LOOPED_ALPHA
(float alpha)
SET_PARTICLE_FX_NON_LOOPED_COLOUR
(float r, float g, float b)
_SET_PARTICLE_FX_NON_LOOPED_EMITTER_SCALE
(float p0, float p1, float scale)
SET_PARTICLE_FX_OVERRIDE
(char* oldAsset, char* newAsset)
SET_PARTICLE_FX_SHOOTOUT_BOAT
(Any p0)
SET_PLAYER_TCMODIFIER_TRANSITION
(float value)
SET_SCALEFORM_MOVIE_AS_NO_LONGER_NEEDED
(int* scaleformHandle)
SET_SCALEFORM_MOVIE_TO_USE_LARGE_RT
(int scaleformMovieId, BOOL useLargeRT)
SET_SCALEFORM_MOVIE_TO_USE_SUPER_LARGE_RT
(int scaleformHandle, BOOL toggle)
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)