The Lab
PED native

APPLY_PED_DAMAGE_PACK

returns void4 paramsbuild 1207

Applies the damage pack damagePack (wounds, blood or dirt) to ped with the given damage and mult strength.

Signature

C
void APPLY_PED_DAMAGE_PACK(Ped ped, const char* damagePack, float damage, float mult); // 0x46DF918788CB093F b1207

Parameters

#NameType
1pedPed
2damagePackconst char*
3damagefloat
4multfloat

Facts

Facts about APPLY_PED_DAMAGE_PACK
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.

Lua
Citizen.InvokeNative(0x46DF918788CB093F, -- APPLY_PED_DAMAGE_PACK
  PlayerPedId(), -- Ped ped
  "text", -- const char* damagePack
  0.0, -- float damage
  0.0 -- float mult
)
JavaScript
// 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
);
C#
Function.Call((Hash)0x46DF918788CB093F, // APPLY_PED_DAMAGE_PACK
  API.PlayerPedId(), // Ped ped
  "text", // const char* damagePack
  0.0f, // float damage
  0.0f // float mult
);
All PED natives

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