_APPLY_SHOP_ITEM_TO_PED
Hash
0xD3A7B003ED343FD9Runtime name
ApplyShopItemToPedNamespacePED
SideClient
NameCommunity guess
Docs
Since build1207
Signature
void _APPLY_SHOP_ITEM_TO_PED(Ped ped, Hash componentHash, BOOL immediately, BOOL isMp, BOOL p4);Parameters
| Name | Type | Description |
|---|---|---|
ped | Ped | — |
componentHash | Hash | — |
immediately | BOOL | — |
isMp | BOOL | — |
p4 | BOOL | — |
Returns void
Usage
ApplyShopItemToPed(ped, componentHash, immediately, isMp, p4)
-- always works, by hash
Citizen.InvokeNative(0xD3A7B003ED343FD9, ped, componentHash, immediately, isMp, p4)JavaScript and C#
ApplyShopItemToPed(ped, componentHash, immediately, isMp, p4);
// by hash
Citizen.invokeNative('0xD3A7B003ED343FD9', ped, componentHash, immediately, isMp, p4);Function.Call((Hash)0xD3A7B003ED343FD9, ped, componentHash, immediately, isMp, p4);- 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.