Garry's Mod Wiki

Revision Difference

PhysObj:HasGameFlag#510877

<function name="HasGameFlag" parent="PhysObj" type="classfunc"> <description>Returns whenever the specified flag(s) is/are set.</description> <realm>Shared</realm> <args> <arg name="flags" type="number">Bitflag, see &lt;page&gt;FVPHYSICS&lt;/page&gt;.</arg> </args> <rets> <ret name="" type="boolean">If flag was set or not</ret> </rets> </function>