The Lab
PED native

COMPUTE_SATCHEL_ITEM_FOR_PED_DAMAGE

returns BOOL3 paramsbuild 1207

Based on its name and signature, here is our best reading:

Computes the satchel item a carcass would give for the given damage cleanliness. Parameters are not well documented.

Signature

C
BOOL COMPUTE_SATCHEL_ITEM_FOR_PED_DAMAGE(Any p0, Ped pedAttached, int damageCleanliness); // 0x9E7738B291706746 b1207

Parameters

#NameType
1p0Any
2pedAttachedPed
3damageCleanlinessint

Facts

Facts about COMPUTE_SATCHEL_ITEM_FOR_PED_DAMAGE
Name
COMPUTE_SATCHEL_ITEM_FOR_PED_DAMAGE
Hash
0x9E7738B291706746
Namespace
Returns
BOOL
Game build
1207

Examples

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

Lua
local result = Citizen.InvokeNative(0x9E7738B291706746, -- COMPUTE_SATCHEL_ITEM_FOR_PED_DAMAGE
  0, -- Any p0
  PlayerPedId(), -- Ped pedAttached
  0 -- int damageCleanliness
)
if result then
  -- ...
end
JavaScript
const result = Citizen.invokeNative("0x9E7738B291706746", // COMPUTE_SATCHEL_ITEM_FOR_PED_DAMAGE
  0, // Any p0
  PlayerPedId(), // Ped pedAttached
  0, // int damageCleanliness
  Citizen.returnResultAnyway()
);
if (result) {
  // ...
}
C#
bool result = Function.Call<bool>((Hash)0x9E7738B291706746, // COMPUTE_SATCHEL_ITEM_FOR_PED_DAMAGE
  0, // Any p0
  API.PlayerPedId(), // Ped pedAttached
  0 // int damageCleanliness
);
All PED natives

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