The Lab
GRAPHICS native

START_PARTICLE_FX_LOOPED_AT_COORD

returns int12 paramsbuild 1207

Starts a looped particle effect at the given coordinates and returns its handle.

Call USE_PARTICLE_FX_ASSET first and stop it with STOP_PARTICLE_FX_LOOPED.

Signature

C
int START_PARTICLE_FX_LOOPED_AT_COORD(const char* effectName, float x, float y, float z, float xRot, float yRot, float zRot, float scale, BOOL xAxis, BOOL yAxis, BOOL zAxis, BOOL p11); // 0xBA32867E86125D3A b1207

Parameters

#NameType
1effectNameconst char*
2xfloat
3yfloat
4zfloat
5xRotfloat
6yRotfloat
7zRotfloat
8scalefloat
9xAxisBOOL
10yAxisBOOL
11zAxisBOOL
12p11BOOL

Facts

Facts about START_PARTICLE_FX_LOOPED_AT_COORD
Name
START_PARTICLE_FX_LOOPED_AT_COORD
Hash
0xBA32867E86125D3A
Namespace
Returns
int
Game build
1207

Examples

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

Lua
local result = Citizen.InvokeNative(0xBA32867E86125D3A, -- START_PARTICLE_FX_LOOPED_AT_COORD
  "text", -- const char* effectName
  0.0, -- float x
  0.0, -- float y
  0.0, -- float z
  0.0, -- float xRot
  0.0, -- float yRot
  0.0, -- float zRot
  0.0, -- float scale
  false, -- BOOL xAxis
  false, -- BOOL yAxis
  false, -- BOOL zAxis
  false, -- BOOL p11
  Citizen.ResultAsInteger()
)
print(result)
JavaScript
// Whole JS numbers are sent as integers: pass floats like 1.5 (or n + 0.0000001), never 1.
const result = Citizen.invokeNative("0xBA32867E86125D3A", // START_PARTICLE_FX_LOOPED_AT_COORD
  "text", // const char* effectName
  0.0, // float x
  0.0, // float y
  0.0, // float z
  0.0, // float xRot
  0.0, // float yRot
  0.0, // float zRot
  0.0, // float scale
  false, // BOOL xAxis
  false, // BOOL yAxis
  false, // BOOL zAxis
  false, // BOOL p11
  Citizen.resultAsInteger()
);
console.log(result)
C#
int result = Function.Call<int>((Hash)0xBA32867E86125D3A, // START_PARTICLE_FX_LOOPED_AT_COORD
  "text", // const char* effectName
  0.0f, // float x
  0.0f, // float y
  0.0f, // float z
  0.0f, // float xRot
  0.0f, // float yRot
  0.0f, // float zRot
  0.0f, // float scale
  false, // BOOL xAxis
  false, // BOOL yAxis
  false, // BOOL zAxis
  false // BOOL p11
);
All GRAPHICS natives

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