ServersYour serverFor creatorsForumFAQDocumentationSecurity
Download the launcher
  1. Documentation
  2. Server functions
  3. setVehicleWheelScale

Function

setVehicleWheelScale

ServerVehiclesIdentical to MTA:SA

Stores a multiplier for the vehicle's wheel size (1 = normal).

Syntax

bool setVehicleWheelScale(vehicle vehicle, float value)

Arguments

vehiclevehicle
The vehicle.
valuefloat
Multiplier 0.1-10.

Returns

true on success.

Example

local vehicle = createVehicle(411, 2000, -1690, 13.5)
setVehicleWheelScale(vehicle, 1.2)

Notes

State for scripts. Wheels in the game do not change; the wheel size of custom models is changed with the client-side setVehicleModelWheelSize.

See also