The Lab
GRAPHICS native

START_NETWORKED_PARTICLE_FX_LOOPED_ON_ENTITY

returns int12 paramsbuild 1207

Starts a networked looped particle effect on entity and returns its handle.

Call USE_PARTICLE_FX_ASSET first and stop it with STOP_PARTICLE_FX_LOOPED.

Signature

C
int START_NETWORKED_PARTICLE_FX_LOOPED_ON_ENTITY(const char* effectName, Entity entity, float xOffset, float yOffset, float zOffset, float xRot, float yRot, float zRot, float scale, BOOL xAxis, BOOL yAxis, BOOL zAxis); // 0x8F90AB32E1944BDE b1207

Parameters

#NameType
1effectNameconst char*
2entityEntity
3xOffsetfloat
4yOffsetfloat
5zOffsetfloat
6xRotfloat
7yRotfloat
8zRotfloat
9scalefloat
10xAxisBOOL
11yAxisBOOL
12zAxisBOOL

Facts

Facts about START_NETWORKED_PARTICLE_FX_LOOPED_ON_ENTITY
Name
START_NETWORKED_PARTICLE_FX_LOOPED_ON_ENTITY
Hash
0x8F90AB32E1944BDE
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(0x8F90AB32E1944BDE, -- START_NETWORKED_PARTICLE_FX_LOOPED_ON_ENTITY
  "text", -- const char* effectName
  PlayerPedId(), -- Entity entity
  0.0, -- float xOffset
  0.0, -- float yOffset
  0.0, -- float zOffset
  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
  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("0x8F90AB32E1944BDE", // START_NETWORKED_PARTICLE_FX_LOOPED_ON_ENTITY
  "text", // const char* effectName
  PlayerPedId(), // Entity entity
  0.0, // float xOffset
  0.0, // float yOffset
  0.0, // float zOffset
  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
  Citizen.resultAsInteger()
);
console.log(result)
C#
int result = Function.Call<int>((Hash)0x8F90AB32E1944BDE, // START_NETWORKED_PARTICLE_FX_LOOPED_ON_ENTITY
  "text", // const char* effectName
  API.PlayerPedId(), // Entity entity
  0.0f, // float xOffset
  0.0f, // float yOffset
  0.0f, // float zOffset
  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
);
All GRAPHICS natives

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