Garry's Mod Wiki

Revision Difference

Entity:GetHitBoxGroupCount#561505

<function name="GetHitBoxGroupCount" parent="Entity" type="classfunc"> <description><deprecated>You should use <page>Entity:GetHitboxSetCount</page> instead.</deprecated> Returns the number of hit box sets that an entity has. Functionally identical to <page>Entity:GetHitboxSetCount</page></description> <realm>Shared</realm> <rets> <ret name="" type="number">number of hit box sets</ret> </rets> </function> ⤶ <example>⤶ <description>Prints how many hit box sets the client has</description>⤶ <code>⤶ local numHitBoxGroups = LocalPlayer():GetHitBoxGroupCount()⤶ print(numHitBoxGroups)⤶ </code>⤶ ⤶ </example>