Garry's Mod Wiki

Entity:GetHitBoxGroupCount

Entity:GetHitBoxGroupCount

number Entity:GetHitBoxGroupCount()

Description

We advise against using this. It may be changed or removed in a future update. You should use Entity:GetHitboxSetCount instead.

Returns the number of hit box sets that an entity has. Functionally identical to Entity:GetHitboxSetCount

Returns

1 number
number of hit box sets

Example

Prints how many hit box sets the client has

local numHitBoxGroups = LocalPlayer():GetHitBoxGroupCount() print(numHitBoxGroups)

Special Pages


Wikis

?

Render Time: 19ms

DB GetPage 2
Generate Html 2
SaveChanges (1) 6
Render Body 0
Render Sidebar 6