RedM Natives

_APPLY_SHOP_ITEM_TO_PED

Hash0xD3A7B003ED343FD9
Runtime nameApplyShopItemToPed
NamespacePED
SideClient
NameCommunity guess
Docs
Since build1207

Signature

void _APPLY_SHOP_ITEM_TO_PED(Ped ped, Hash componentHash, BOOL immediately, BOOL isMp, BOOL p4);

Parameters

NameTypeDescription
pedPed—
componentHashHash—
immediatelyBOOL—
isMpBOOL—
p4BOOL—

Returns void

Usage

Lua
ApplyShopItemToPed(ped, componentHash, immediately, isMp, p4)

-- always works, by hash
Citizen.InvokeNative(0xD3A7B003ED343FD9, ped, componentHash, immediately, isMp, p4)
JavaScript and C#
JavaScript
ApplyShopItemToPed(ped, componentHash, immediately, isMp, p4);

// by hash
Citizen.invokeNative('0xD3A7B003ED343FD9', ped, componentHash, immediately, isMp, p4);
C#
Function.Call((Hash)0xD3A7B003ED343FD9, ped, componentHash, immediately, isMp, p4);
  • 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.