Nothing Special   »   [go: up one dir, main page]

Garry's Mod Wiki

Vehicle:IsVehicleBodyInWater

  boolean Vehicle:IsVehicleBodyInWater()

Description

Returns whether this vehicle's engine is underwater or not. ( Internally the attachment point "engine" or "vehicle_engine" is checked )

Returns

1 boolean
Whether this vehicle's engine is underwater or not.