FiveM Docs
/
Native Reference
API Set:
all
server
client
Language:
raw
lua
c#
js
SET_VEHICLE_LIGHT_MULTIPLIER
(Vehicle vehicle, float multiplier)
SET_VEHICLE_LIGHTS
(Vehicle vehicle, int state)
SET_VEHICLE_LIVERY
(Vehicle vehicle, int livery)
SET_VEHICLE_LOD_MULTIPLIER
(Vehicle vehicle, float multiplier)
_SET_VEHICLE_MAX_SPEED
(Vehicle vehicle, float speed)
SET_VEHICLE_MOD
(Vehicle vehicle, int modType, int modIndex, BOOL customTires)
SET_VEHICLE_MOD_COLOR_1
(Vehicle vehicle, int paintType, int color, int pearlescentColor)
SET_VEHICLE_MOD_COLOR_2
(Vehicle vehicle, int paintType, int color)
SET_VEHICLE_MOD_KIT
(Vehicle vehicle, int modKit)
SET_VEHICLE_MODEL_IS_SUPPRESSED
(Hash model, BOOL suppressed)
SET_VEHICLE_NAME_DEBUG
(Vehicle vehicle, char* name)
SET_VEHICLE_NEEDS_TO_BE_HOTWIRED
(Vehicle vehicle, BOOL toggle)
_SET_VEHICLE_NEON_LIGHT_ENABLED
(Vehicle vehicle, int index, BOOL toggle)
_SET_VEHICLE_NEON_LIGHTS_COLOR_2
(Vehicle vehicle, int color)
_SET_VEHICLE_NEON_LIGHTS_COLOUR
(Vehicle vehicle, int r, int g, int b)
SET_VEHICLE_NUMBER_PLATE_TEXT
(Vehicle vehicle, char* plateText)
SET_VEHICLE_NUMBER_PLATE_TEXT_INDEX
(Vehicle vehicle, int plateIndex)
SET_VEHICLE_ON_GROUND_PROPERLY
(Vehicle vehicle)
SET_VEHICLE_OUT_OF_CONTROL
(Vehicle vehicle, BOOL killDriver, BOOL explodeOnImpact)
_SET_VEHICLE_PARACHUTE_ACTIVE
(Vehicle vehicle, BOOL active)
_SET_VEHICLE_PARACHUTE_MODEL
(Vehicle vehicle, Hash modelHash)
_SET_VEHICLE_PARACHUTE_TEXTURE_VARIATION
(Vehicle vehicle, int textureVariation)
SET_VEHICLE_PETROL_TANK_HEALTH
(Vehicle vehicle, float health)
SET_VEHICLE_PROVIDES_COVER
(Vehicle vehicle, BOOL toggle)
_SET_VEHICLE_RAMP_LAUNCH_MODIFIER
(Vehicle vehicle, float p1)
_SET_VEHICLE_RAMP_SIDEWAYS_LAUNCH_MOTION
(Vehicle vehicle, BOOL toggle)
_SET_VEHICLE_RAMP_UPWARDS_LAUNCH_MOTION
(Vehicle vehicle, BOOL toggle)
_SET_VEHICLE_RECEIVES_RAMP_DAMAGE
(Vehicle vehicle, BOOL toggle)
SET_VEHICLE_REDUCE_GRIP
(Vehicle vehicle, BOOL toggle)
_SET_VEHICLE_REDUCE_TRACTION
(Vehicle vehicle, int val)
_SET_VEHICLE_ROCKET_BOOST_ACTIVE
(Vehicle vehicle, BOOL active)
_SET_VEHICLE_ROCKET_BOOST_PERCENTAGE
(Vehicle vehicle, float percentage)
_SET_VEHICLE_ROCKET_BOOST_REFILL_TIME
(Vehicle vehicle, float time)
_SET_VEHICLE_ROOF_LIVERY
(Vehicle vehicle, int livery)
SET_VEHICLE_RUDDER_BROKEN
(Vehicle vehicle, BOOL toggle)