# LAW::GET_BOUNTY

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

## Signature

```c
int GET_BOUNTY(Player player);
```

## Parameters

- `player` (`Player`)

## Returns

`int`

## Usage

### Lua

```lua
local retval = GetBounty(player)

-- always available, by hash
local retval = Citizen.InvokeNative(0x54310AAB97B92816, player, Citizen.ResultAsInteger())
```

### JavaScript

```js
const retval = GetBounty(player);

// by hash
const retval = Citizen.invokeNative('0x54310AAB97B92816', player, Citizen.returnResultAnyway(), Citizen.resultAsInteger());
```

### C#

```csharp
int retval = Function.Call<int>((Hash)0x54310AAB97B92816, player);
```

*Sources: alloc8or RDR3 NativeDB.*
