Garry's Mod Wiki

CEffectData:SetSurfaceProp

  CEffectData:SetSurfaceProp( number surfaceProperties )

Description

Sets the surface property index of the effect.

Internally stored as an integer, but only first 8 bits are networked, effectively limiting this function to -1-254 range.(yes, that's not a mistake)

Arguments

1 number surfaceProperties
The surface property index of the effect.