# WEAPON::_DOES_PED_HAVE_REVOLVER

- **Hash:** `0x5B235F24472F2C3B`
- **Namespace:** WEAPON
- **Runtime name (Lua/JS):** `DoesPedHaveRevolver`
- **Side:** client (game native)
- **Name status:** community guess (may change)
- **Documentation:** described
- **Since game build:** 1207
- **URL:** https://natives.borderlinerp.com/natives/WEAPON/_DOES_PED_HAVE_REVOLVER

## Signature

```c
BOOL _DOES_PED_HAVE_REVOLVER(Ped ped, BOOL p1);
```

## Parameters

- `ped` (`Ped`)
- `p1` (`BOOL`)

## Returns

`BOOL`

## Description

*Source: alloc8or RDR3 NativeDB*

Preview: https://imgur.com/a/U8Q04Xu

*Source: VORPCORE RDR3natives*

Returns whether the ped has a revolver p1: 0 or 1

## Usage

### Lua

```lua
local retval = DoesPedHaveRevolver(ped, p1)

-- always available, by hash
local retval = Citizen.InvokeNative(0x5B235F24472F2C3B, ped, p1, Citizen.ReturnResultAnyway())
```

### JavaScript

```js
const retval = DoesPedHaveRevolver(ped, p1);

// by hash
const retval = Citizen.invokeNative('0x5B235F24472F2C3B', ped, p1, Citizen.returnResultAnyway());
```

### C#

```csharp
bool retval = Function.Call<bool>((Hash)0x5B235F24472F2C3B, ped, p1);
```

- 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, VORPCORE RDR3natives.*
