FxAddDebris

From Multi Theft Auto: Wiki
Revision as of 20:11, 25 June 2008 by Arc (talk | contribs) (New page: __NOTOC__ {{Client function}} Creates a debris particle effect. ==Syntax== <syntaxhighlight lang="lua"> bool fxAddDebris ( float posX, float posY, float posZ, [int colorR=255, int colorG=0, int colorB=0,...)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

Creates a debris particle effect.

Syntax

bool fxAddDebris ( float posX, float posY, float posZ, [int colorR=255, int colorG=0, int colorB=0, int colorA=255, float scale=1.0, int count=1] )

Required Arguments

  • posX, posY, posZ: the world coordinates where the effect originates.

Optional Arguments

  • colorR, colorG, colorB, colorA: the color and alpha (transparency) of the debris effect.
  • scale: the size of the effect.
  • count: the number of effects to create.

See Also