IsVehicleWheelInAir

From Onset Developer Wiki
The printable version is no longer supported and may have rendering errors. Please update your browser bookmarks and please use the default browser print function instead.
IsVehicleWheelInAir

Type: Function
Context: Client
Introduced: v1.0

Description

Check if the specified vehicle wheel is in air or not.

Syntax

IsVehicleWheelInAir(vehicle, wheel)

Parameters

  • vehicle
    The vehicle identifier.
  • wheel
    The wheel id (starting from 1)

Return Value

  • Returns true on success.

Example

if IsVehicleWheelInAir(vehicleId, 1) then
    print("The vehicle's driver side wheel is in air.")
end

See also