FiveM Docs
/
Native Reference
API Set:
all
server
client
Language:
raw
lua
c#
js
_SET_OPPRESSOR_TRANSFORM_STATE
(Vehicle vehicle, BOOL extend)
SET_OVERRIDE_NITROUS_LEVEL
(Vehicle vehicle, BOOL override)
SET_PARKED_VEHICLE_DENSITY_MULTIPLIER_THIS_FRAME
(float multiplier)
SET_PICKUP_ROPE_LENGTH_FOR_CARGOBOB
(Vehicle cargobob, float length1, float length2, BOOL state)
_SET_PLANE_ENGINE_HEALTH
(Vehicle vehicle, float health)
_SET_PLANE_PROPELLERS_HEALTH
(Vehicle plane, float health)
SET_PLANE_RESIST_TO_EXPLOSION
(Vehicle vehicle, BOOL toggle)
SET_PLANE_SECTION_DAMAGE_SCALE
(Vehicle vehicle, int damageSection, float damageScale)
SET_PLANE_TURBULENCE_MULTIPLIER
(Vehicle vehicle, float multiplier)
SET_PLAYBACK_SPEED
(Vehicle vehicle, float speed)
SET_PLAYBACK_TO_USE_AI
(Vehicle vehicle, int drivingStyle)
SET_PLAYBACK_TO_USE_AI_TRY_TO_REVERT_BACK_LATER
(Vehicle vehicle, int time, int drivingStyle, BOOL p3)
SET_PLAYERS_LAST_VEHICLE
(Vehicle vehicle)
SET_POLICE_FOCUS_WILL_TRACK_VEHICLE
(Vehicle vehicle, BOOL p1)
SET_RANDOM_BOATS
(BOOL toggle)
_SET_RANDOM_BOATS_IN_MP
(BOOL toggle)
SET_RANDOM_TRAINS
(BOOL toggle)
SET_RANDOM_VEHICLE_DENSITY_MULTIPLIER_THIS_FRAME
(float multiplier)
_SET_REDUCE_DRIFT_VEHICLE_SUSPENSION
(Vehicle vehicle, BOOL enable)
SET_RENDER_TRAIN_AS_DERAILED
(Vehicle train, BOOL toggle)
SET_SCRIPT_VEHICLE_GENERATOR
(int vehicleGenerator, BOOL enabled)
SET_SPECIAL_FLIGHT_MODE_ALLOWED
(Vehicle vehicle, BOOL toggle)
SET_SPECIAL_FLIGHT_MODE_RATIO
(Vehicle vehicle, float ratio)
SET_SPECIAL_FLIGHT_MODE_TARGET_RATIO
(Vehicle vehicle, float state)
SET_SUBMARINE_CRUSH_DEPTHS
(Vehicle vehicle, BOOL toggle, float depth1, float depth2, float depth3)
SET_TASK_VEHICLE_GOTO_PLANE_MIN_HEIGHT_ABOVE_TERRAIN
(Vehicle plane, int height)
SET_TAXI_LIGHTS
(Vehicle vehicle, BOOL state)
SET_TRAILER_INVERSE_MASS_SCALE
(Vehicle vehicle, float p1)
_SET_TRAILER_LEGS_LOWERED
()
SET_TRAILER_LEGS_RAISED
(Vehicle vehicle)
SET_TRAIN_CRUISE_SPEED
(Vehicle train, float speed)
SET_TRAIN_SPEED
(Vehicle train, float speed)
SET_TRAIN_TRACK_SPAWN_FREQUENCY
(int trackIndex, int frequency)
SET_TRANSFORM_RATE_FOR_ANIMATION
(Vehicle vehicle, float transformRate)
SET_TRANSFORM_TO_SUBMARINE_USES_ALTERNATE_INPUT
(Vehicle vehicle, bool useAlternateInput)