IsVehicleWheelInAir: Difference between revisions
From Onset Developer Wiki
No edit summary |
No edit summary |
||
Line 19: | Line 19: | ||
{{RelatedFunctions}} | {{RelatedFunctions}} | ||
*[[SetVehiclePropertyValue]] | |||
*[[GetVehiclePropertyValue]] | |||
*[[GetVehicleCount]] | |||
*[[GetVehicleLicensePlate]] | |||
*[[IsValidVehicle]] | |||
*[[GetStreamedVehicles]] | |||
*[[GetVehicleBoneLocation]] | |||
*[[GetVehicleBoneNames]] | |||
*[[GetVehicleModel]] | |||
*[[GetVehicleLocation]] | |||
*[[GetVehicleRotation]] | |||
*[[GetVehicleVelocity]] | |||
*[[GetVehicleForwardVector]] | |||
*[[GetVehicleRightVector]] | |||
*[[GetVehicleUpVector]] | |||
*[[GetVehicleBoundingBox]] | |||
*[[GetVehicleEngineRPM]] | |||
*[[GetVehicleForwardSpeed]] | |||
*[[GetVehicleGear]] | |||
*[[GetVehicleWheelSurface]] | |||
*[[IsVehicleWheelInAir]] | |||
*[[IsVehicleInAir]] | |||
*[[GetVehicleWheelSteerAngle]] | |||
*[[IsVehicleHornActive]] | |||
*[[GetVehicleEngineState]] | |||
*[[GetVehicleLightState]] | |||
*[[GetVehicleHoodRatio]] | |||
*[[GetVehicleTrunkRatio]] | |||
*[[IsVehicleInWater]] | |||
*[[IsVehicleSeatOccupied]] | |||
*[[GetVehicleDoorLocation]] | |||
*[[GetVehicleHealth]] |
Latest revision as of 18:40, 30 August 2020
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
- SetVehiclePropertyValue
- GetVehiclePropertyValue
- GetVehicleCount
- GetVehicleLicensePlate
- IsValidVehicle
- GetStreamedVehicles
- GetVehicleBoneLocation
- GetVehicleBoneNames
- GetVehicleModel
- GetVehicleLocation
- GetVehicleRotation
- GetVehicleVelocity
- GetVehicleForwardVector
- GetVehicleRightVector
- GetVehicleUpVector
- GetVehicleBoundingBox
- GetVehicleEngineRPM
- GetVehicleForwardSpeed
- GetVehicleGear
- GetVehicleWheelSurface
- IsVehicleWheelInAir
- IsVehicleInAir
- GetVehicleWheelSteerAngle
- IsVehicleHornActive
- GetVehicleEngineState
- GetVehicleLightState
- GetVehicleHoodRatio
- GetVehicleTrunkRatio
- IsVehicleInWater
- IsVehicleSeatOccupied
- GetVehicleDoorLocation
- GetVehicleHealth