Garry's Mod Wiki

Revision Difference

CEffectData:SetSurfaceProp#527639

<function name="SetSurfaceProp" parent="CEffectData" type="classfunc"> <description>Sets the surface property index of the effect.</description>⤶ <description>Sets the surface property index of the effect.<note>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)</note>⤶ </description>⤶ <realm>Shared</realm> <args> <arg name="surfaceProperties" type="number">The surface property index of the effect.</arg> </args> </function>