CreateFire

From Multi Theft Auto: Wiki
Revision as of 21:24, 2 January 2009 by Arc (talk | contribs) (New page: __NOTOC__ {{Client function}} Creates a patch of fire that will spread a bit and die out after a while. ==Syntax== <syntaxhighlight lang="lua">bool createFire ( float x, float y, float z [, float size = ...)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

Creates a patch of fire that will spread a bit and die out after a while.

Syntax

bool createFire ( float x, float y, float z [, float size = 1.8 ] )

Required Arguments

  • x, y, z: coordinates of the fire.

Optional Arguments

  • size: the size of the initial fire.

Returns

Returns true if successful, false otherwise. There can be a maximum of 60 active fires.

See Also