FiveM Docs
/
Native Reference
API Set:
all
server
client
Language:
raw
lua
c#
js
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)
_SET_TYRE_HEALTH
(Vehicle vehicle, int wheelIndex, float health)
_SET_TYRE_SOFTNESS_MULTIPLIER
(Vehicle vehicle, int wheelIndex, float multiplier)
_SET_TYRE_TRACTION_LOSS_MULTIPLIER
(Vehicle vehicle, int wheelIndex, float multiplier)
_SET_TYRE_WEAR_MULTIPLIER
(Vehicle vehicle, int wheelIndex, float multiplier)
_SET_USE_HIGHER_VEHICLE_JUMP_FORCE
(Vehicle vehicle, BOOL toggle)
SET_VEHICLE_ACT_AS_IF_HIGH_SPEED_FOR_FRAG_SMASHING
(Vehicle vehicle, BOOL actHighSpeed)
SET_VEHICLE_ACTIVE_DURING_PLAYBACK
(Vehicle vehicle, BOOL toggle)