START_PARTICLE_FX_NON_LOOPED_ON_PED_BONE
Plays a local one-shot particle effect on a bone of ped, returning true on success.
Signature
BOOL START_PARTICLE_FX_NON_LOOPED_ON_PED_BONE(const char* effectName, Ped ped, float offsetX, float offsetY, float offsetZ, float rotX, float rotY, float rotZ, int boneIndex, float scale, BOOL axisX, BOOL axisY, BOOL axisZ); // 0x3FAA72BD940C3AC0 b1207Parameters
| # | Name | Type |
|---|---|---|
| 1 | effectName | const char* |
| 2 | ped | Ped |
| 3 | offsetX | float |
| 4 | offsetY | float |
| 5 | offsetZ | float |
| 6 | rotX | float |
| 7 | rotY | float |
| 8 | rotZ | float |
| 9 | boneIndex | int |
| 10 | scale | float |
| 11 | axisX | BOOL |
| 12 | axisY | BOOL |
| 13 | axisZ | BOOL |
Facts
| Name | START_PARTICLE_FX_NON_LOOPED_ON_PED_BONE |
|---|---|
| Hash | 0x3FAA72BD940C3AC0 |
| Namespace | |
| Returns | BOOL |
| Game build | 1207 |
Examples
Calls by hash work in every RedM runtime. Replace the placeholder arguments with your own values.
local result = Citizen.InvokeNative(0x3FAA72BD940C3AC0, -- START_PARTICLE_FX_NON_LOOPED_ON_PED_BONE
"text", -- const char* effectName
PlayerPedId(), -- Ped ped
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, -- int boneIndex
0.0, -- float scale
false, -- BOOL axisX
false, -- BOOL axisY
false -- BOOL axisZ
)
if result then
-- ...
end// Whole JS numbers are sent as integers: pass floats like 1.5 (or n + 0.0000001), never 1.
const result = Citizen.invokeNative("0x3FAA72BD940C3AC0", // START_PARTICLE_FX_NON_LOOPED_ON_PED_BONE
"text", // const char* effectName
PlayerPedId(), // Ped ped
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, // int boneIndex
0.0, // float scale
false, // BOOL axisX
false, // BOOL axisY
false, // BOOL axisZ
Citizen.returnResultAnyway()
);
if (result) {
// ...
}bool result = Function.Call<bool>((Hash)0x3FAA72BD940C3AC0, // START_PARTICLE_FX_NON_LOOPED_ON_PED_BONE
"text", // const char* effectName
API.PlayerPedId(), // Ped ped
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, // int boneIndex
0.0f, // float scale
false, // BOOL axisX
false, // BOOL axisY
false // BOOL axisZ
);Related GRAPHICS natives
- START_PARTICLE_FX_LOOPED_ON_PED_BONE
- START_PARTICLE_FX_NON_LOOPED_ON_ENTITY
- START_PARTICLE_FX_LOOPED_ON_ENTITY_BONE
- _START_PARTICLE_FX_NON_LOOPED_ON_PED_BONE_2
- START_PARTICLE_FX_NON_LOOPED_AT_COORD
- START_PARTICLE_FX_LOOPED_ON_ENTITY
- START_NETWORKED_PARTICLE_FX_LOOPED_ON_ENTITY_BONE
- START_NETWORKED_PARTICLE_FX_NON_LOOPED_ON_ENTITY
- START_PARTICLE_FX_LOOPED_AT_COORD
- START_NETWORKED_PARTICLE_FX_LOOPED_ON_ENTITY
- START_NETWORKED_PARTICLE_FX_NON_LOOPED_AT_COORD
- SET_PARTICLE_FX_NON_LOOPED_ALPHA
Facts compiled from community research (alloc8or/rdr3-nativedb-data, femga/rdr3_discoveries); descriptions and examples by The Lab.