START_PARTICLE_FX_LOOPED_AT_COORD
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
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 b1207Parameters
| # | Name | Type |
|---|---|---|
| 1 | effectName | const char* |
| 2 | x | float |
| 3 | y | float |
| 4 | z | float |
| 5 | xRot | float |
| 6 | yRot | float |
| 7 | zRot | float |
| 8 | scale | float |
| 9 | xAxis | BOOL |
| 10 | yAxis | BOOL |
| 11 | zAxis | BOOL |
| 12 | p11 | BOOL |
Facts
| 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.
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)// 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)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
);Related GRAPHICS natives
- START_PARTICLE_FX_NON_LOOPED_AT_COORD
- START_PARTICLE_FX_LOOPED_ON_ENTITY
- START_PARTICLE_FX_LOOPED_ON_ENTITY_BONE
- START_PARTICLE_FX_LOOPED_ON_PED_BONE
- START_NETWORKED_PARTICLE_FX_NON_LOOPED_AT_COORD
- START_PARTICLE_FX_NON_LOOPED_ON_ENTITY
- START_PARTICLE_FX_NON_LOOPED_ON_PED_BONE
- START_NETWORKED_PARTICLE_FX_LOOPED_ON_ENTITY
- START_NETWORKED_PARTICLE_FX_LOOPED_ON_ENTITY_BONE
- START_NETWORKED_PARTICLE_FX_NON_LOOPED_ON_ENTITY
- _START_PARTICLE_FX_NON_LOOPED_ON_PED_BONE_2
- STOP_PARTICLE_FX_LOOPED
Facts compiled from community research (alloc8or/rdr3-nativedb-data, femga/rdr3_discoveries); descriptions and examples by The Lab.