ApplyVehicleBrake()

Syntax

ApplyVehicleBrake(#Entity, Wheel, Brake.f)
Description
Apply the specified brake force to the vehicle wheel. The new brake force value replace any previous force previously applied to the vehicle wheel.

Parameters

#Entity The vehicle entity to use.
Wheel The wheel index, starting from 0.
Brake The brake force to apply on the wheel.

Return value

None.

See Also

ApplyVehicleSteering(), ApplyVehicleForce(), AddVehicleWheel()

Supported OS

All

<- AddVehicleWheel() - Vehicle Index - ApplyVehicleForce() ->