FiveM Docs
/
Native Reference
API Set:
all
server
client
Language:
raw
lua
c#
js
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)
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)
SET_VEHICLE_COLOURS
(Vehicle vehicle, int colorPrimary, int colorSecondary)