The Lab
PED native

_COMPUTE_SATCHEL_ITEM_FOR_PED_CARCASS

returns int4 paramsbuild 1207

Computes the satchel items ped's carcass would yield for the given cleanliness and skinning quality, writing them to outInventoryItemArray.

Signature

C
int _COMPUTE_SATCHEL_ITEM_FOR_PED_CARCASS(Any* outInventoryItemArray, Ped ped, int damageCleanliness, int skinningQuality); // 0x6B89FAA36FC909A3 b1207

Parameters

#NameType
1outInventoryItemArrayAny* (out pointer)
2pedPed
3damageCleanlinessint
4skinningQualityint

Facts

Facts about _COMPUTE_SATCHEL_ITEM_FOR_PED_CARCASS
Name
_COMPUTE_SATCHEL_ITEM_FOR_PED_CARCASS
Hash
0x6B89FAA36FC909A3
Namespace
Returns
int
Game build
1207

Examples

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

Lua
local result, outInventoryItemArray = Citizen.InvokeNative(0x6B89FAA36FC909A3, -- _COMPUTE_SATCHEL_ITEM_FOR_PED_CARCASS
  Citizen.PointerValueInt(), -- Any* outInventoryItemArray
  PlayerPedId(), -- Ped ped
  0, -- int damageCleanliness
  0, -- int skinningQuality
  Citizen.ResultAsInteger()
)
print(result, outInventoryItemArray)
JavaScript
const [result, outInventoryItemArray] = Citizen.invokeNative("0x6B89FAA36FC909A3", // _COMPUTE_SATCHEL_ITEM_FOR_PED_CARCASS
  Citizen.pointerValueInt(), // Any* outInventoryItemArray
  PlayerPedId(), // Ped ped
  0, // int damageCleanliness
  0, // int skinningQuality
  Citizen.resultAsInteger()
);
console.log(result, outInventoryItemArray)
C#
var outInventoryItemArrayArg = new OutputArgument();
int result = Function.Call<int>((Hash)0x6B89FAA36FC909A3, // _COMPUTE_SATCHEL_ITEM_FOR_PED_CARCASS
  outInventoryItemArrayArg, // Any* outInventoryItemArray
  API.PlayerPedId(), // Ped ped
  0, // int damageCleanliness
  0 // int skinningQuality
);
int outInventoryItemArray = outInventoryItemArrayArg.GetResult<int>();
All PED natives

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