_REMOVE_SHOP_ITEM_FROM_PED
Directly removes a shop item component from a ped
Hash
0x0D7FFA1B2F69ED82Runtime name
RemoveShopItemFromPedNamespacePED
SideClient
NameCommunity guess
Docs
Since build1355
Signature
void _REMOVE_SHOP_ITEM_FROM_PED(Ped ped, Hash componentHash, int p2, BOOL p3);Parameters
| Name | Type | Description |
|---|---|---|
ped | Ped | — |
componentHash | Hash | — |
p2 | int | — |
p3 | BOOL | — |
Returns void
Description
Directly removes a shop item component from a ped
Params: p2 and p3 are always 0
Usage
RemoveShopItemFromPed(ped, componentHash, p2, p3)
-- always works, by hash
Citizen.InvokeNative(0x0D7FFA1B2F69ED82, ped, componentHash, p2, p3)JavaScript and C#
RemoveShopItemFromPed(ped, componentHash, p2, p3);
// by hash
Citizen.invokeNative('0x0D7FFA1B2F69ED82', ped, componentHash, p2, p3);Function.Call((Hash)0x0D7FFA1B2F69ED82, ped, componentHash, p2, p3);- Hash parameters: the named function also accepts a string and hashes it for you;
Citizen.InvokeNativeneeds the number — passjoaat("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
InvokeNativewith the hash — it always works.
Sources
Something wrong or missing? Contribute a verified note — corrections ship through pull requests.