REMOVE_SHOP_ITEM_FROM_PED_BY_CATEGORY
Hash
0xDF631E4BCE1B1FC4Runtime name
RemoveShopItemFromPedByCategoryNamespacePED
SideClient
NameOfficial
Docs
Since build1207
Signature
void REMOVE_SHOP_ITEM_FROM_PED_BY_CATEGORY(Ped ped, Hash componentCategory, int p2, BOOL p3);Parameters
| Name | Type | Description |
|---|---|---|
ped | Ped | — |
componentCategory | Hash | — |
p2 | int | — |
p3 | BOOL | — |
Returns void
Description
Params: p2, p3 usually 0 in R* Scripts
Usage
RemoveShopItemFromPedByCategory(ped, componentCategory, p2, p3)
-- always works, by hash
Citizen.InvokeNative(0xDF631E4BCE1B1FC4, ped, componentCategory, p2, p3)JavaScript and C#
RemoveShopItemFromPedByCategory(ped, componentCategory, p2, p3);
// by hash
Citizen.invokeNative('0xDF631E4BCE1B1FC4', ped, componentCategory, p2, p3);Function.Call((Hash)0xDF631E4BCE1B1FC4, ped, componentCategory, 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`.
Sources
Something wrong or missing? Contribute a verified note — corrections ship through pull requests.