RedM Natives

GET_BOUNTY

Hash0x54310AAB97B92816
Runtime nameGetBounty
NamespaceLAW
SideClient
NameOfficial
Docs
Since build1207

Signature

int GET_BOUNTY(Player player);

Parameters

NameTypeDescription
playerPlayer—

Returns int

Usage

Lua
local retval = GetBounty(player)

-- always works, by hash
local retval = Citizen.InvokeNative(0x54310AAB97B92816, player, Citizen.ResultAsInteger())
JavaScript and C#
JavaScript
const retval = GetBounty(player);

// by hash
const retval = Citizen.invokeNative('0x54310AAB97B92816', player, Citizen.returnResultAnyway(), Citizen.resultAsInteger());
C#
int retval = Function.Call<int>((Hash)0x54310AAB97B92816, player);

Sources

alloc8or RDR3 NativeDB

Something wrong or missing? Contribute a verified note — corrections ship through pull requests.