# OBJECT::SET_MAX_NUM_PORTABLE_PICKUPS_CARRIED_BY_PLAYER

- **Hash:** `0x0BF3B3BD47D79C08`
- **Namespace:** OBJECT
- **Runtime name (Lua/JS):** `SetMaxNumPortablePickupsCarriedByPlayer`
- **Side:** client (game native)
- **Name status:** official
- **Documentation:** named only
- **Since game build:** 1207
- **URL:** https://natives.borderlinerp.com/natives/OBJECT/SET_MAX_NUM_PORTABLE_PICKUPS_CARRIED_BY_PLAYER

## Signature

```c
void SET_MAX_NUM_PORTABLE_PICKUPS_CARRIED_BY_PLAYER(Hash modelHash, int p1);
```

## Parameters

- `modelHash` (`Hash`)
- `p1` (`int`)

## Returns

`void`

## Usage

### Lua

```lua
SetMaxNumPortablePickupsCarriedByPlayer(modelHash, p1)

-- always available, by hash
Citizen.InvokeNative(0x0BF3B3BD47D79C08, modelHash, p1)
```

### JavaScript

```js
SetMaxNumPortablePickupsCarriedByPlayer(modelHash, p1);

// by hash
Citizen.invokeNative('0x0BF3B3BD47D79C08', modelHash, p1);
```

### C#

```csharp
Function.Call((Hash)0x0BF3B3BD47D79C08, modelHash, p1);
```

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

*Sources: alloc8or RDR3 NativeDB.*
