The Lab
GRAPHICS native

START_PARTICLE_FX_LOOPED_ON_PED_BONE

returns int13 paramsbuild 1207

Starts a looped particle effect on a bone of ped and returns its handle.

Signature

C
int START_PARTICLE_FX_LOOPED_ON_PED_BONE(const char* effectName, Ped ped, float xOffset, float yOffset, float zOffset, float xRot, float yRot, float zRot, int boneIndex, float scale, BOOL xAxis, BOOL yAxis, BOOL zAxis); // 0xE689C1B1432BB8AF b1207

Parameters

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

Facts

Facts about START_PARTICLE_FX_LOOPED_ON_PED_BONE
Name
START_PARTICLE_FX_LOOPED_ON_PED_BONE
Hash
0xE689C1B1432BB8AF
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(0xE689C1B1432BB8AF, -- START_PARTICLE_FX_LOOPED_ON_PED_BONE
  "text", -- const char* effectName
  PlayerPedId(), -- Ped ped
  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, -- int boneIndex
  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("0xE689C1B1432BB8AF", // START_PARTICLE_FX_LOOPED_ON_PED_BONE
  "text", // const char* effectName
  PlayerPedId(), // Ped ped
  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, // int boneIndex
  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)0xE689C1B1432BB8AF, // START_PARTICLE_FX_LOOPED_ON_PED_BONE
  "text", // const char* effectName
  API.PlayerPedId(), // Ped ped
  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, // int boneIndex
  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.