Vehicle:IsVehicleBodyInWater

From Garry's Mod
Jump to: navigation, search
 Vehicle:IsVehicleBodyInWater( )

Description

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

Returns

boolean

Whether this vehicle's engine is underwater or not.
Personal tools
Navigation