API
Exported functions which may be used from within external scripts
Get current depth of a vehicle wheel
Returns the current depth at which a specific wheel is submerged in
-- Client sided export
exports.kq_realoffroad:GetVehicleWheelDepth(vehicle, wheelIndex)vehicle:
numberthe numeric client entity idwheelIndex:
numberthe index of vehicle wheel (0-3)
Get average depth of the current vehicle
Returns the average depth of the vehicle that the player is driving
-- Client sided export
exports.kq_realoffroad:GetCurrentDepth()Last updated