- Documentation
- Server functions
- resetVehicleComponentScale
Function
resetVehicleComponentScale
Clears the part scale stored with setVehicleComponentScale.
Syntax
bool resetVehicleComponentScale(vehicle vehicle, string component)Arguments
vehiclevehicle- The vehicle.
componentstring- Part name.
Returns
true on success.
Example
local vehicle = createVehicle(411, 2000, -1690, 13.5)
resetVehicleComponentScale(vehicle, "exhaust_ok")