- Documentation
- Server functions
- setVehicleWheelGrip
Function
setVehicleWheelGrip
New function!Added to Trilogy Hub on 2 Nov 2026.
Changes a vehicle's wheel grip with a multiplier (1 = normal, 0.5 = half, 1.5 = half again as much). Each resource has its own multiplier and the car gets their product. 1 removes the resource's multiplier, and stopping a resource removes its multipliers by itself.
Syntax
bool setVehicleWheelGrip(vehicle vehicle, number multiplier)Arguments
vehiclevehicle- The vehicle.
multipliernumber- Multiplier 0.05-5.
Returns
true on success.
Example
addCommandHandler("lod", function(player)
local vehicle = getPedOccupiedVehicle(player)
if vehicle then setVehicleWheelGrip(vehicle, 0.5) end
end)
See also
getVehicleWheelGripReturns the vehicle's wheel grip multiplier (the product of every resource's multiplier, 1 = normal).setVehicleHandlingChanges the driving parameters (handling) of one vehicle for every player: mass, top speed, acceleration, grip, brakes, steering, suspension and other handling.cfg fields. The game gets its own copy of the handling entry for this car, so other vehicles of the model do not change. You can pass one field with a value, a whole table of fields, ornilto go back to the factory handling (includingsetModelHandling). Field names; the list:getHandlingFieldNames.