Garry's Mod Wiki

CEffectData:SetHitBox

  CEffectData:SetHitBox( number hitBoxIndex )

Description

Sets the hit box index of the effect. Used by various effects for various purposes.

Internally stored as an integer, but only first 11 bits are networked, effectively limiting this function to 0-2047 range.

Arguments

1 number hitBoxIndex
The hit box index of the effect, for example from TraceResult structure