# WEAPON::GET_BEST_PED_SHORTARM_GUID

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

## Signature

```c
void GET_BEST_PED_SHORTARM_GUID(Ped ped, Any* outGUID, BOOL p2, BOOL p3);
```

## Parameters

- `ped` (`Ped`)
- `outGUID` (`Any*`)
- `p2` (`BOOL`)
- `p3` (`BOOL`)

## Returns

`void`

## Usage

### Lua

```lua
local outGUID = GetBestPedShortarmGuid(ped, p2, p3)

-- always available, by hash
local outGUID = Citizen.InvokeNative(0xF52BD94B47CCF736, ped, Citizen.PointerValueInt(), p2, p3)
```

### JavaScript

```js
const outGUID = GetBestPedShortarmGuid(ped, p2, p3);

// by hash
const outGUID = Citizen.invokeNative('0xF52BD94B47CCF736', ped, Citizen.pointerValueInt(), p2, p3);
```

### C#

```csharp
var outGUID = new OutputArgument();
Function.Call((Hash)0xF52BD94B47CCF736, ped, outGUID, p2, p3);
// outGUID.GetResult<int>()
```

- Pointer (out) arguments are not passed in Lua/JS: their values are returned after the result, in order.
- `Any*` arguments are often structs. Build them with a DataView buffer and pass it with `:Buffer()` — see the examples and notes below.

*Sources: alloc8or RDR3 NativeDB.*
