FiveM Docs
/
Native Reference
API Set:
all
server
client
Language:
raw
lua
c#
js
_SEETHROUGH_SET_NOISE_AMOUNT_MIN
(float amount)
SET_ARTIFICIAL_LIGHTS_STATE
(BOOL state)
_SET_ARTIFICIAL_LIGHTS_STATE_AFFECTS_VEHICLES
(BOOL toggle)
SET_BACKFACECULLING
(BOOL toggle)
_SET_BINK_MOVIE
(char* name)
_SET_BINK_MOVIE_TIME
(int binkMovie, float progress)
_SET_BINK_MOVIE_UNK_2
(int binkMovie, BOOL p1)
_SET_BINK_MOVIE_VOLUME
(int binkMovie, float value)
_SET_BINK_SHOULD_SKIP
(int binkMovie, BOOL shouldSkip)
SET_CHECKPOINT_CYLINDER_HEIGHT
(int checkpoint, float nearHeight, float farHeight, float radius)
_SET_CHECKPOINT_ICON_HEIGHT
(int checkpoint, float height_multiplier)
_SET_CHECKPOINT_ICON_SCALE
(int checkpoint, float scale)
SET_CHECKPOINT_RGBA
(int checkpoint, int red, int green, int blue, int alpha)
SET_CHECKPOINT_RGBA2
(int checkpoint, int red, int green, int blue, int alpha)
SET_CURRENT_PLAYER_TCMODIFIER
(char* modifierName)
SET_DEBUG_LINES_AND_SPHERES_DRAWING_ACTIVE
(BOOL enabled)
SET_DISABLE_DECAL_RENDERING_THIS_FRAME
()
SET_DISABLE_PETROL_DECALS_IGNITING_THIS_FRAME
()
SET_DRAW_ORIGIN
(float x, float y, float z, Any p3)
SET_ENTITY_ICON_COLOR
(Entity entity, int red, int green, int blue, int alpha)
SET_ENTITY_ICON_VISIBILITY
(Entity entity, BOOL toggle)
_SET_EXTRA_TIMECYCLE_MODIFIER
(char* modifierName)
SET_FLASH
(float p0, float p1, float fadeIn, float duration, float fadeOut)
_SET_FORCE_PED_FOOTSTEPS_TRACKS
(BOOL toggle)
_SET_FORCE_VEHICLE_TRAILS
(BOOL toggle)
SET_HIDOF_OVERRIDE
(BOOL p0, BOOL p1, float nearplaneOut, float nearplaneIn, float farplaneOut, float farplaneIn)
SET_NEXT_PLAYER_TCMODIFIER
(char* modifierName)
SET_NIGHTVISION
(BOOL toggle)
SET_NOISEOVERIDE
(BOOL toggle)
SET_NOISINESSOVERIDE
(float value)
SET_PARTICLE_FX_BULLET_IMPACT_SCALE
(float scale)
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)