Garry's Mod Wiki

CEffectData:SetEntIndex

  CEffectData:SetEntIndex( number entIndex )

Description

Sets the entity of the effect via its index.

Arguments

1 number entIndex
The entity index to be set.