GraphicsClient

setParticleFxNonLoopedColour

SET_PARTICLE_FX_NON_LOOPED_COLOUR0x26143A59EF48B262

The GTA V native SET_PARTICLE_FX_NON_LOOPED_COLOUR of the GRAPHICS namespace, as LS:MP client scripts call it: the global function setParticleFxNonLoopedColour, in JavaScript and in Lua.

SignatureJavaScript
setParticleFxNonLoopedColour(r: number, g: number, b: number): void
SignatureLua
setParticleFxNonLoopedColour(r: number, g: number, b: number)

Usage

JavaScript
setParticleFxNonLoopedColour(r, g, b);
Lua
setParticleFxNonLoopedColour(r, g, b)

Parameters

ParameterTypeJavaScriptLua
rfloatnumbernumber
gfloatnumbernumber
bfloatnumbernumber

Returns

Nothing. In JavaScript the call evaluates to undefined.

Notes

From the community native database. Names are LS:MP’s; samples may be written for C++ or another framework.

only works on some fx's, not networked

Reference

Namespace
Graphics GRAPHICS
In the game
void SET_PARTICLE_FX_NON_LOOPED_COLOUR(float r, float g, float b)
Hash
0x26143A59EF48B262

Open in the interactive natives reference