APPLY_PED_DAMAGE_PACK
Applies the damage pack damagePack (wounds, blood or dirt) to ped with the given damage and mult strength.
Signature
void APPLY_PED_DAMAGE_PACK(Ped ped, const char* damagePack, float damage, float mult); // 0x46DF918788CB093F b1207Parameters
| # | Name | Type |
|---|---|---|
| 1 | ped | Ped |
| 2 | damagePack | const char* |
| 3 | damage | float |
| 4 | mult | float |
Facts
| Name | APPLY_PED_DAMAGE_PACK |
|---|---|
| Hash | 0x46DF918788CB093F |
| 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(0x46DF918788CB093F, -- APPLY_PED_DAMAGE_PACK
PlayerPedId(), -- Ped ped
"text", -- const char* damagePack
0.0, -- float damage
0.0 -- float mult
)// Whole JS numbers are sent as integers: pass floats like 1.5 (or n + 0.0000001), never 1.
Citizen.invokeNative("0x46DF918788CB093F", // APPLY_PED_DAMAGE_PACK
PlayerPedId(), // Ped ped
"text", // const char* damagePack
0.0, // float damage
0.0 // float mult
);Function.Call((Hash)0x46DF918788CB093F, // APPLY_PED_DAMAGE_PACK
API.PlayerPedId(), // Ped ped
"text", // const char* damagePack
0.0f, // float damage
0.0f // float mult
);Related PED natives
- _APPLY_PED_DAMAGE_PACK_TO_BONE
- APPLY_DAMAGE_TO_PED
- APPLY_PED_BLOOD_SPECIFIC
- _APPLY_PED_META_PED_OUTFIT
- _APPLY_SHOP_ITEM_TO_PED
- _APPLY_TEXTURE_ON_PED
- _CAN_PED_HEAR_TARGET_PED
- _CLEAR_PED_BLOOD_DAMAGE_FACIAL
- _CREATE_META_PED_OUTFIT_PED
- _DOES_META_PED_OUTFIT_EXIST_FOR_PED_MODEL
- _DOES_META_PED_SUBOUTFIT_EXIST_FOR_PED_MODEL
- _GET_IS_PED_IN_DISPUTE_WITH_PED
Facts compiled from community research (alloc8or/rdr3-nativedb-data, femga/rdr3_discoveries); descriptions and examples by The Lab.