Garry's Mod Wiki

Entity:SetRenderFX

  Entity:SetRenderFX( number renderFX )

Description

Sets entity's render FX. Requires the entitys rendermode to support transparency.

Arguments

1 number renderFX
The new render FX to set, see kRenderFx enum