IsVehicleWheelInAir: Difference between revisions

From Onset Developer Wiki
Created page with "{{Info|Function|Client|1.0}} {{FuncDescription|__EDIT_ME__}} {{FuncSyntax|IsVehicleWheelInAir(vehicle, wheel)}} {{FuncParameters}} {{FuncParam|vehicle|__EDIT_ME__}} {{FuncP..."
 
No edit summary
 
(One intermediate revision by one other user not shown)
Line 1: Line 1:
{{Info|Function|Client|1.0}}
{{Info|Function|Client|1.0}}


{{FuncDescription|__EDIT_ME__}}
{{FuncDescription|Check if the specified vehicle wheel is in air or not.}}


{{FuncSyntax|IsVehicleWheelInAir(vehicle, wheel)}}
{{FuncSyntax|IsVehicleWheelInAir(vehicle, wheel)}}


{{FuncParameters}}
{{FuncParameters}}
{{FuncParam|vehicle|__EDIT_ME__}}
{{FuncParam|vehicle|The vehicle identifier.}}
{{FuncParam|wheel|__EDIT_ME__}}
{{FuncParam|wheel|The wheel id (starting from 1)}}


{{FuncReturnValue|__EDIT_ME__}}
{{FuncReturnValue|Returns '''true''' on success.}}


== Example ==
== Example ==
__EDIT_ME__
<syntaxhighlight lang="Lua">
if IsVehicleWheelInAir(vehicleId, 1) then
    print("The vehicle's driver side wheel is in air.")
end
</syntaxhighlight>


{{RelatedFunctions}}
{{RelatedFunctions}}
__EDIT_ME__
*[[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