The Lab
GRAPHICS native

START_PARTICLE_FX_NON_LOOPED_ON_ENTITY

returns BOOL12 paramsbuild 1207

Plays a local one-shot particle effect on entity, returning true on success.

Signature

C
BOOL START_PARTICLE_FX_NON_LOOPED_ON_ENTITY(const char* effectName, Entity entity, float offsetX, float offsetY, float offsetZ, float rotX, float rotY, float rotZ, float scale, BOOL axisX, BOOL axisY, BOOL axisZ); // 0xFF4C64C513388C12 b1207

Parameters

#NameType
1effectNameconst char*
2entityEntity
3offsetXfloat
4offsetYfloat
5offsetZfloat
6rotXfloat
7rotYfloat
8rotZfloat
9scalefloat
10axisXBOOL
11axisYBOOL
12axisZBOOL

Facts

Facts about START_PARTICLE_FX_NON_LOOPED_ON_ENTITY
Name
START_PARTICLE_FX_NON_LOOPED_ON_ENTITY
Hash
0xFF4C64C513388C12
Namespace
Returns
BOOL
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(0xFF4C64C513388C12, -- START_PARTICLE_FX_NON_LOOPED_ON_ENTITY
  "text", -- const char* effectName
  PlayerPedId(), -- Entity entity
  0.0, -- float offsetX
  0.0, -- float offsetY
  0.0, -- float offsetZ
  0.0, -- float rotX
  0.0, -- float rotY
  0.0, -- float rotZ
  0.0, -- float scale
  false, -- BOOL axisX
  false, -- BOOL axisY
  false -- BOOL axisZ
)
if result then
  -- ...
end
JavaScript
// Whole JS numbers are sent as integers: pass floats like 1.5 (or n + 0.0000001), never 1.
const result = Citizen.invokeNative("0xFF4C64C513388C12", // START_PARTICLE_FX_NON_LOOPED_ON_ENTITY
  "text", // const char* effectName
  PlayerPedId(), // Entity entity
  0.0, // float offsetX
  0.0, // float offsetY
  0.0, // float offsetZ
  0.0, // float rotX
  0.0, // float rotY
  0.0, // float rotZ
  0.0, // float scale
  false, // BOOL axisX
  false, // BOOL axisY
  false, // BOOL axisZ
  Citizen.returnResultAnyway()
);
if (result) {
  // ...
}
C#
bool result = Function.Call<bool>((Hash)0xFF4C64C513388C12, // START_PARTICLE_FX_NON_LOOPED_ON_ENTITY
  "text", // const char* effectName
  API.PlayerPedId(), // Entity entity
  0.0f, // float offsetX
  0.0f, // float offsetY
  0.0f, // float offsetZ
  0.0f, // float rotX
  0.0f, // float rotY
  0.0f, // float rotZ
  0.0f, // float scale
  false, // BOOL axisX
  false, // BOOL axisY
  false // BOOL axisZ
);
All GRAPHICS natives

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