Garry's Mod Wiki

Entity:AddEffects

  Entity:AddEffects( number effect )

Description

Applies an engine effect to an entity.

See also Entity:IsEffectActive and Entity:RemoveEffects.

Arguments

1 number effect
The effect to apply, see EF enum.

Example

Adds a blinking effect to an entity.

Entity:AddEffects( EF_ITEM_BLINK )