FxAddWood

From Multi Theft Auto: Wiki
Revision as of 20:02, 25 June 2008 by Arc (talk | contribs) (New page: __NOTOC__ {{Client function}} Creates a wood splinter particle effect. ==Syntax== <syntaxhighlight lang="lua"> bool fxAddWood ( float posX, float posY, float posZ, float dirX, float dirY, float dirZ, [in...)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

Creates a wood splinter particle effect.

Syntax

bool fxAddWood ( float posX, float posY, float posZ, float dirX, float dirY, float dirZ, [int count=1, float brightness=1.0] )

Required Arguments

  • posX, posY, posZ: the world coordinates where the effect originates.
  • dirX, dirY, dirZ: a direction vector indicating where the wood flies to.

Optional Arguments

  • count: the number of effects to create.
  • brightness: the brightness. Ranges from 0 to 1.

See Also