# PED::_0x31B2E7F2E3C58B89

- **Hash:** `0x31B2E7F2E3C58B89`
- **Namespace:** PED
- **Runtime name (Lua/JS):** `N_0x31b2e7f2e3c58b89`
- **Side:** client (game native)
- **Name status:** unknown (hash only)
- **Documentation:** named only
- **Since game build:** 1207
- **URL:** https://natives.borderlinerp.com/natives/PED/0x31B2E7F2E3C58B89

## Signature

```c
Any _0x31B2E7F2E3C58B89(Any p0, Any p1, Any p2, Any p3);
```

## Parameters

- `p0` (`Any`)
- `p1` (`Any`)
- `p2` (`Any`)
- `p3` (`Any`)

## Returns

`Any`

## Description

*Source: VORPCORE RDR3natives*

_GET_SHOP_ITEM_NUM_*? returns a number of ? p1 seems to be always joaat("base")

## Usage

### Lua

```lua
local retval = N_0x31b2e7f2e3c58b89(p0, p1, p2, p3)

-- always available, by hash
local retval = Citizen.InvokeNative(0x31B2E7F2E3C58B89, p0, p1, p2, p3, Citizen.ResultAsInteger())
```

### JavaScript

```js
const retval = N_0x31b2e7f2e3c58b89(p0, p1, p2, p3);

// by hash
const retval = Citizen.invokeNative('0x31B2E7F2E3C58B89', p0, p1, p2, p3, Citizen.returnResultAnyway(), Citizen.resultAsInteger());
```

### C#

```csharp
int retval = Function.Call<int>((Hash)0x31B2E7F2E3C58B89, p0, p1, p2, p3);
```

- This native has no known name, so the runtime exposes it only as `N_0x31b2e7f2e3c58b89` (if present in the client snapshot). `InvokeNative` with the hash always works.

*Sources: alloc8or RDR3 NativeDB, VORPCORE RDR3natives.*
