function addEffect (client-side)
Available since version: 0.1.4.9
This function is used to add visual effect on player.
Player can have more than one active visual effect on itself.
Declaration
bool addEffect(int id, string effect)
Parameters
intid: the player id.stringeffect: the name of the VisualFX, e.g:"SPELLFX_MAYA_GHOST".
Returns bool
true if effect was successfully added, otherwise false.