Garry's Mod Wiki

Revision Difference

Entity:GetHitBoxGroupCount#515509

<function name="GetHitBoxGroupCount" parent="Entity" type="classfunc">⤶ <description>Returns the number of hit box groups that an entity has.</description>⤶ <realm>Shared</realm>⤶ <rets>⤶ <ret name="" type="number">number of hit box groups</ret>⤶ </rets>⤶ </function>⤶ ⤶ <example>⤶ <description>Prints how many hit box groups the client has</description>⤶ <code>⤶ local numHitBoxGroups = LocalPlayer():GetHitBoxGroupCount()⤶ print(numHitBoxGroups)⤶ </code>⤶ ⤶ </example>