fxCreateParticle | Multi Theft Auto: Wiki Skip to content

fxCreateParticle

Client-side
Server-side
Shared

This page is incomplete! Help wanted!

Please finish this page using the corresponding Old Wiki article.
Go to Contribution guidelines for more information.


Creates the given particles of the specified color. Can be useful for creating flares, toxic fumes, reward effects, etc.

Syntax

fxCreateParticle ( )

Code Examples

client

This example creates a constant green, toxic fume over the biowell.

setTimer(function()
fxCreateParticle("sand", 1271.76392, 295.11682, 20.65631, 0, 0, 1, 56, 191, 52, 255, false, 5, 1, 1, true)
end, 750, 0)