Garry's Mod Wiki

CEffectData:SetMagnitude

  CEffectData:SetMagnitude( number magnitude )

Description

Sets the magnitude of the effect.

Internally stored as a float with 12 bit precision for networking purposes, limited to range of 0-1023.

Arguments

1 number magnitude
The magnitude of the effect.