FiveM Docs
/
Native Reference
API Set:
all
server
client
Language:
raw
lua
c#
js
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_NITRO_ENABLED
(Vehicle vehicle, BOOL toggle)
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)
SET_VEHICLE_SEARCHLIGHT
(Vehicle heli, BOOL toggle, BOOL canBeUsedByAI)
_SET_VEHICLE_SHADOW_EFFECT
(Vehicle vehicle, int p1, int p2)
SET_VEHICLE_SHOOT_AT_TARGET
(Ped driver, Entity entity, float xTarget, float yTarget, float zTarget)
_SET_VEHICLE_SILENT
(Vehicle vehicle, BOOL toggle)
SET_VEHICLE_SIREN
(Vehicle vehicle, BOOL toggle)
_SET_VEHICLE_ST
(Vehicle vehicle, BOOL toggle)
SET_VEHICLE_STEER_BIAS
(Vehicle vehicle, float value)