# PED::_APPLY_SHOP_ITEM_TO_PED

- **Hash:** `0xD3A7B003ED343FD9`
- **Namespace:** PED
- **Runtime name (Lua/JS):** `ApplyShopItemToPed`
- **Side:** client (game native)
- **Name status:** community guess (may change)
- **Documentation:** named only
- **Since game build:** 1207
- **URL:** https://natives.borderlinerp.com/natives/PED/_APPLY_SHOP_ITEM_TO_PED

## Signature

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

## Parameters

- `ped` (`Ped`)
- `componentHash` (`Hash`)
- `immediately` (`BOOL`)
- `isMp` (`BOOL`)
- `p4` (`BOOL`)

## Returns

`void`

## Usage

### Lua

```lua
ApplyShopItemToPed(ped, componentHash, immediately, isMp, p4)

-- always available, by hash
Citizen.InvokeNative(0xD3A7B003ED343FD9, ped, componentHash, immediately, isMp, p4)
```

### JavaScript

```js
ApplyShopItemToPed(ped, componentHash, immediately, isMp, p4);

// by hash
Citizen.invokeNative('0xD3A7B003ED343FD9', ped, componentHash, immediately, isMp, p4);
```

### C#

```csharp
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.*
