SurfaceInfo/IsWater

From Garry's Mod
Jump to: navigation, search
 SurfaceInfo:IsWater( )

Description

Checks if the brush surface is water.

This internally checks the SURFDRAW_WATER flag.

Returns

boolean

Returns true if the surface is water.
Personal tools
Navigation