Garry's Mod Wiki

CEffectData:GetSurfaceProp

  number CEffectData:GetSurfaceProp()

Description

Returns the surface property index of the effect. See util.GetSurfaceData for more details about what they are.

See CEffectData:SetSurfaceProp for details about limitations of this function.

Returns

1 number
The surface property index of the effect.