GET_BOUNTY
Signature
int GET_BOUNTY(Player player);Parameters
| Name | Type | Description |
|---|---|---|
player | Player | — |
Returns int
Usage
local retval = GetBounty(player)
-- always works, by hash
local retval = Citizen.InvokeNative(0x54310AAB97B92816, player, Citizen.ResultAsInteger())JavaScript and C#
const retval = GetBounty(player);
// by hash
const retval = Citizen.invokeNative('0x54310AAB97B92816', player, Citizen.returnResultAnyway(), Citizen.resultAsInteger());int retval = Function.Call<int>((Hash)0x54310AAB97B92816, player);Sources
Something wrong or missing? Contribute a verified note — corrections ship through pull requests.