FiveM Docs
/
Native Reference
API Set:
all
server
client
Language:
raw
lua
c#
js
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)
SET_VEHICLE_ACTIVE_FOR_PED_NAVIGATION
(Vehicle vehicle, BOOL toggle)
SET_VEHICLE_ALARM
(Vehicle vehicle, BOOL state)
SET_VEHICLE_ALLOW_NO_PASSENGERS_LOCKON
(Vehicle veh, BOOL toggle)
SET_VEHICLE_AUTOMATICALLY_ATTACHES
(Vehicle vehicle, BOOL p1, Any p2)
SET_VEHICLE_BODY_HEALTH
(Vehicle vehicle, float value)
_SET_VEHICLE_BOMB_COUNT
(Vehicle aircraft, int bombCount)
SET_VEHICLE_BRAKE
(Vehicle vehicle, BOOL toggle)
SET_VEHICLE_BRAKE_LIGHTS
(Vehicle vehicle, BOOL toggle)
SET_VEHICLE_BULLDOZER_ARM_POSITION
(Vehicle vehicle, float position, BOOL p2)
SET_VEHICLE_BURNOUT
(Vehicle vehicle, BOOL toggle)
_SET_VEHICLE_CAN_BE_LOCKED_ON
(Vehicle vehicle, BOOL canBeLockedOn, BOOL unk)
SET_VEHICLE_CAN_BE_TARGETTED
(Vehicle vehicle, BOOL state)
SET_VEHICLE_CAN_BE_USED_BY_FLEEING_PEDS
(Vehicle vehicle, BOOL toggle)
SET_VEHICLE_CAN_BE_VISIBLY_DAMAGED
(Vehicle vehicle, BOOL state)
SET_VEHICLE_CAN_BREAK
(Vehicle vehicle, BOOL toggle)
SET_VEHICLE_CAN_DEFORM_WHEELS
(Vehicle vehicle, BOOL toggle)
_SET_VEHICLE_CAN_ENGINE_OPERATE_ON_FIRE
(Vehicle vehicle, BOOL toggle)