The Lab
GRAPHICS native

SET_PARTICLE_FX_LOOPED_COLOUR

returns void5 paramsbuild 1207

Sets the RGB color of the looped particle effect ptfxHandle.

Signature

C
void SET_PARTICLE_FX_LOOPED_COLOUR(int ptfxHandle, float r, float g, float b, BOOL p4); // 0x239879FC61C610CC b1207

Parameters

#NameType
1ptfxHandleint
2rfloat
3gfloat
4bfloat
5p4BOOL

Facts

Facts about SET_PARTICLE_FX_LOOPED_COLOUR
Name
SET_PARTICLE_FX_LOOPED_COLOUR
Hash
0x239879FC61C610CC
Namespace
Returns
void
Game build
1207

Examples

Calls by hash work in every RedM runtime. Replace the placeholder arguments with your own values.

Lua
Citizen.InvokeNative(0x239879FC61C610CC, -- SET_PARTICLE_FX_LOOPED_COLOUR
  0, -- int ptfxHandle
  0.0, -- float r
  0.0, -- float g
  0.0, -- float b
  false -- BOOL p4
)
JavaScript
// Whole JS numbers are sent as integers: pass floats like 1.5 (or n + 0.0000001), never 1.
Citizen.invokeNative("0x239879FC61C610CC", // SET_PARTICLE_FX_LOOPED_COLOUR
  0, // int ptfxHandle
  0.0, // float r
  0.0, // float g
  0.0, // float b
  false // BOOL p4
);
C#
Function.Call((Hash)0x239879FC61C610CC, // SET_PARTICLE_FX_LOOPED_COLOUR
  0, // int ptfxHandle
  0.0f, // float r
  0.0f, // float g
  0.0f, // float b
  false // BOOL p4
);
All GRAPHICS natives

Facts compiled from community research (alloc8or/rdr3-nativedb-data, femga/rdr3_discoveries); descriptions and examples by The Lab.