bool getVehicleHydraulics(vehicle vehicle)
Parameters
| Name | Type | Description |
|---|---|---|
| vehicle | vehicle | The vehicle. |
Returns
true if it has hydraulics. false if it does not or the element is not a vehicle.
Example
local vehicle = getPedOccupiedVehicle(localPlayer)
if vehicle and getVehicleHydraulics(vehicle) then
outputDebugString("Hydraulics installed")
end