FiveM Docs
/
Native Reference
API Set:
all
server
client
Language:
raw
lua
c#
js
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_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_UNK_BOOL_0x102_FOR_SUBMARINE_VEHICLE_TASK
(Vehicle vehicle, BOOL value)
_SET_UNK_FLOAT_0x104_FOR_SUBMARINE_VEHICLE_TASK
(Vehicle vehicle, float value)
_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)
SET_VEHICLE_CAN_LEAK_OIL
(Vehicle vehicle, BOOL toggle)
SET_VEHICLE_CAN_LEAK_PETROL
(Vehicle vehicle, BOOL toggle)
SET_VEHICLE_CAN_SAVE_IN_GARAGE
(Vehicle vehicle, BOOL toggle)
SET_VEHICLE_CEILING_HEIGHT
(Vehicle vehicle, float height)
SET_VEHICLE_CHEAT_POWER_INCREASE
(Vehicle vehicle, float value)
SET_VEHICLE_COLOUR_COMBINATION
(Vehicle vehicle, int colorCombination)