Garry's Mod Wiki

Garry's Mod Wiki

  CEffectData:SetSurfaceProp( number surfaceProperties )

Description

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

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, -1 signifying an invalid value.)

Arguments

1 number surfaceProperties
The surface property index of the effect.

This site is a community mirror of the official Garry's Mod wiki.. This site is not maintained by Facepunch Studios.

Page content is automatically updated four times a day. Edits and history are not available.

Last Parsed: Loading...