FxAddDebris: Difference between revisions

From Multi Theft Auto: Wiki
Jump to navigation Jump to search
(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,...)
(No difference)

Revision as of 20:11, 25 June 2008

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