_APPLY_PED_DAMAGE_PACK_TO_BONE
Applies the damage pack damagePack (blood, wounds or dirt decals) to the bone boneId of ped at the given offset and rotation.
Signature
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 b1207Parameters
| # | Name | Type |
|---|---|---|
| 1 | ped | Ped |
| 2 | boneId | int |
| 3 | xOffset | float |
| 4 | yOffset | float |
| 5 | zOffset | float |
| 6 | xRot | float |
| 7 | yRot | float |
| 8 | zRot | float |
| 9 | damagePack | const char* |
Facts
| 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.
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
)// 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
);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
);Related PED natives
- _APPLY_PED_META_PED_OUTFIT
- APPLY_DAMAGE_TO_PED
- APPLY_PED_DAMAGE_PACK
- _APPLY_SHOP_ITEM_TO_PED
- CLEAR_PED_LAST_DAMAGE_BONE
- GET_PED_LAST_DAMAGE_BONE
- GET_PED_TO_PLAYER_WEAPON_DAMAGE_MODIFIER
- SET_PED_TO_PLAYER_WEAPON_DAMAGE_MODIFIER
- _APPLY_TEXTURE_ON_PED
- _ADD_PED_SUBSCRIBE_TO_LEGENDARY_BLIPS
- _CAN_PED_HEAR_TARGET_PED
- _CLEAR_PED_BLOOD_DAMAGE_FACIAL
Facts compiled from community research (alloc8or/rdr3-nativedb-data, femga/rdr3_discoveries); descriptions and examples by The Lab.