The Lab
GRAPHICS native

SET_PARTICLE_FX_LOOPED_OFFSETS

returns void7 paramsbuild 1207

Updates the offset and rotation of the looped particle effect ptfxHandle.

Signature

C
void SET_PARTICLE_FX_LOOPED_OFFSETS(int ptfxHandle, float x, float y, float z, float rotX, float rotY, float rotZ); // 0xD3A4A95FC94FE83B b1207

Parameters

#NameType
1ptfxHandleint
2xfloat
3yfloat
4zfloat
5rotXfloat
6rotYfloat
7rotZfloat

Facts

Facts about SET_PARTICLE_FX_LOOPED_OFFSETS
Name
SET_PARTICLE_FX_LOOPED_OFFSETS
Hash
0xD3A4A95FC94FE83B
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(0xD3A4A95FC94FE83B, -- SET_PARTICLE_FX_LOOPED_OFFSETS
  0, -- int ptfxHandle
  0.0, -- float x
  0.0, -- float y
  0.0, -- float z
  0.0, -- float rotX
  0.0, -- float rotY
  0.0 -- float rotZ
)
JavaScript
// Whole JS numbers are sent as integers: pass floats like 1.5 (or n + 0.0000001), never 1.
Citizen.invokeNative("0xD3A4A95FC94FE83B", // SET_PARTICLE_FX_LOOPED_OFFSETS
  0, // int ptfxHandle
  0.0, // float x
  0.0, // float y
  0.0, // float z
  0.0, // float rotX
  0.0, // float rotY
  0.0 // float rotZ
);
C#
Function.Call((Hash)0xD3A4A95FC94FE83B, // SET_PARTICLE_FX_LOOPED_OFFSETS
  0, // int ptfxHandle
  0.0f, // float x
  0.0f, // float y
  0.0f, // float z
  0.0f, // float rotX
  0.0f, // float rotY
  0.0f // float rotZ
);
All GRAPHICS natives

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