The Lab
LAW native

GET_BOUNTY

returns int1 parambuild 1207

Returns the current bounty amount on player.

Signature

C
int GET_BOUNTY(Player player); // 0x54310AAB97B92816 b1207

Parameters

#NameType
1playerPlayer

Facts

Facts about GET_BOUNTY
Name
GET_BOUNTY
Hash
0x54310AAB97B92816
Namespace
Returns
int
Game build
1207

Examples

Calls by hash work in every RedM runtime. Replace the placeholder arguments with your own values.

Lua
local result = Citizen.InvokeNative(0x54310AAB97B92816, -- GET_BOUNTY
  PlayerId(), -- Player player
  Citizen.ResultAsInteger()
)
print(result)
JavaScript
const result = Citizen.invokeNative("0x54310AAB97B92816", // GET_BOUNTY
  PlayerId(), // Player player
  Citizen.resultAsInteger()
);
console.log(result)
C#
int result = Function.Call<int>((Hash)0x54310AAB97B92816, // GET_BOUNTY
  API.PlayerId() // Player player
);
All LAW natives

Facts compiled from community research (alloc8or/rdr3-nativedb-data, femga/rdr3_discoveries); descriptions and examples by The Lab.