Garry's Mod Wiki

PhysObj:HasGameFlag

  boolean PhysObj:HasGameFlag( number flags )

Description

Returns whenever the specified flag(s) is/are set.

Arguments

1 number flags
Bitflag, see FVPHYSICS enum.

Returns

1 boolean
If flag was set or not