The Lab
PED native

_APPLY_PED_DAMAGE_PACK_TO_BONE

returns void9 paramsbuild 1207

Applies the damage pack damagePack (blood, wounds or dirt decals) to the bone boneId of ped at the given offset and rotation.

Signature

C
void _APPLY_PED_DAMAGE_PACK_TO_BONE(Ped ped, int boneId, float xOffset, float yOffset, float zOffset, float xRot, float yRot, float zRot, const char* damagePack); // 0x58D32261AE0F0843 b1207

Parameters

#NameType
1pedPed
2boneIdint
3xOffsetfloat
4yOffsetfloat
5zOffsetfloat
6xRotfloat
7yRotfloat
8zRotfloat
9damagePackconst char*

Facts

Facts about _APPLY_PED_DAMAGE_PACK_TO_BONE
Name
_APPLY_PED_DAMAGE_PACK_TO_BONE
Hash
0x58D32261AE0F0843
Namespace
Returns
void
Game build
1207

Examples

Calls by hash work in every RedM runtime. Replace the placeholder arguments with your own values.

Lua
Citizen.InvokeNative(0x58D32261AE0F0843, -- _APPLY_PED_DAMAGE_PACK_TO_BONE
  PlayerPedId(), -- Ped ped
  0, -- int boneId
  0.0, -- float xOffset
  0.0, -- float yOffset
  0.0, -- float zOffset
  0.0, -- float xRot
  0.0, -- float yRot
  0.0, -- float zRot
  "text" -- const char* damagePack
)
JavaScript
// Whole JS numbers are sent as integers: pass floats like 1.5 (or n + 0.0000001), never 1.
Citizen.invokeNative("0x58D32261AE0F0843", // _APPLY_PED_DAMAGE_PACK_TO_BONE
  PlayerPedId(), // Ped ped
  0, // int boneId
  0.0, // float xOffset
  0.0, // float yOffset
  0.0, // float zOffset
  0.0, // float xRot
  0.0, // float yRot
  0.0, // float zRot
  "text" // const char* damagePack
);
C#
Function.Call((Hash)0x58D32261AE0F0843, // _APPLY_PED_DAMAGE_PACK_TO_BONE
  API.PlayerPedId(), // Ped ped
  0, // int boneId
  0.0f, // float xOffset
  0.0f, // float yOffset
  0.0f, // float zOffset
  0.0f, // float xRot
  0.0f, // float yRot
  0.0f, // float zRot
  "text" // const char* damagePack
);
All PED natives

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