setParticleFxLoopedColour
SET_PARTICLE_FX_LOOPED_COLOUR0x7F8F65877F88783BThe GTA V native SET_PARTICLE_FX_LOOPED_COLOUR of the GRAPHICS namespace, as LS:MP client scripts call it: the global function setParticleFxLoopedColour, in JavaScript and in Lua.
setParticleFxLoopedColour(
ptfxHandle: number,
r: number,
g: number,
b: number,
p4: boolean
): voidsetParticleFxLoopedColour(
ptfxHandle: integer,
r: number,
g: number,
b: number,
p4: boolean
)Usage
JavaScript
setParticleFxLoopedColour(ptfxHandle, r, g, b, p4);Lua
setParticleFxLoopedColour(ptfxHandle, r, g, b, p4)Parameters
| Parameter | Type | JavaScript | Lua |
|---|---|---|---|
ptfxHandle | int | number | integer |
r | float | number | number |
g | float | number | number |
b | float | number | number |
p4 | BOOL | boolean | boolean |
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
p4 = 0
Reference
- Namespace
- Graphics GRAPHICS
- In the game
void SET_PARTICLE_FX_LOOPED_COLOUR(int ptfxHandle, float r, float g, float b, BOOL p4)- Hash
0x7F8F65877F88783B