ScriptEvent:spawnClientEffect

From Mod Wiki
Revision as of 18:14, 5 November 2007 by Wizz (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

Parameters

string key -- Key to look up the effect from.

Result

entity

Supported By

idEntity

Comments

  • The key must begin with 'fx_'.
  • The result will be null if spawning the effect fails.

Functionality

Spawns a client entity of type rvClientEffect, and returns it.