RedM Natives

_REMOVE_SHOP_ITEM_FROM_PED

Directly removes a shop item component from a ped

Hash0x0D7FFA1B2F69ED82
Runtime nameRemoveShopItemFromPed
NamespacePED
SideClient
NameCommunity guess
Docs
Since build1355

Signature

void _REMOVE_SHOP_ITEM_FROM_PED(Ped ped, Hash componentHash, int p2, BOOL p3);

Parameters

NameTypeDescription
pedPed—
componentHashHash—
p2int—
p3BOOL—

Returns void

Description

Directly removes a shop item component from a ped
Params: p2 and p3 are always 0

Usage

Lua
RemoveShopItemFromPed(ped, componentHash, p2, p3)

-- always works, by hash
Citizen.InvokeNative(0x0D7FFA1B2F69ED82, ped, componentHash, p2, p3)
JavaScript and C#
JavaScript
RemoveShopItemFromPed(ped, componentHash, p2, p3);

// by hash
Citizen.invokeNative('0x0D7FFA1B2F69ED82', ped, componentHash, p2, p3);
C#
Function.Call((Hash)0x0D7FFA1B2F69ED82, ped, componentHash, p2, p3);
  • Hash parameters: the named function also accepts a string and hashes it for you; Citizen.InvokeNative needs the number — pass joaat("name") or a backtick literal like `name`.
  • The name is a community guess and may change. If the named call is missing in your client build, use InvokeNative with the hash — it always works.

Sources

alloc8or RDR3 NativeDB

Something wrong or missing? Contribute a verified note — corrections ship through pull requests.