The Lab
PED native

_REMOVE_SHOP_ITEM_FROM_PED

returns void4 paramsbuild 1355

Removes the shop item component componentHash from ped.

Call _UPDATE_PED_VARIATION afterwards to refresh the ped.

Signature

C
void _REMOVE_SHOP_ITEM_FROM_PED(Ped ped, Hash componentHash, int p2, BOOL p3); // 0x0D7FFA1B2F69ED82 b1355

Parameters

#NameType
1pedPed
2componentHashHash
3p2int
4p3BOOL

Facts

Facts about _REMOVE_SHOP_ITEM_FROM_PED
Name
_REMOVE_SHOP_ITEM_FROM_PED
Hash
0x0D7FFA1B2F69ED82
Namespace
Returns
void
Game build
1355

Examples

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

Lua
Citizen.InvokeNative(0x0D7FFA1B2F69ED82, -- _REMOVE_SHOP_ITEM_FROM_PED
  PlayerPedId(), -- Ped ped
  GetHashKey("name"), -- Hash componentHash
  0, -- int p2
  false -- BOOL p3
)
JavaScript
Citizen.invokeNative("0x0D7FFA1B2F69ED82", // _REMOVE_SHOP_ITEM_FROM_PED
  PlayerPedId(), // Ped ped
  GetHashKey("name"), // Hash componentHash
  0, // int p2
  false // BOOL p3
);
C#
Function.Call((Hash)0x0D7FFA1B2F69ED82, // _REMOVE_SHOP_ITEM_FROM_PED
  API.PlayerPedId(), // Ped ped
  (uint)API.GetHashKey("name"), // Hash componentHash
  0, // int p2
  false // BOOL p3
);
All PED natives

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