The Lab
MONEY native

_MONEY_GET_CASH_BALANCE

returns int0 paramsbuild 1207

Returns the local player's current cash balance as an integer, usually expressed in cents.

Signature

C
int _MONEY_GET_CASH_BALANCE(); // 0x0C02DABFA3B98176 b1207

Parameters

This native takes no parameters.

Facts

Facts about _MONEY_GET_CASH_BALANCE
Name
_MONEY_GET_CASH_BALANCE
Hash
0x0C02DABFA3B98176
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(0x0C02DABFA3B98176, -- _MONEY_GET_CASH_BALANCE
  Citizen.ResultAsInteger()
)
print(result)
JavaScript
const result = Citizen.invokeNative("0x0C02DABFA3B98176", // _MONEY_GET_CASH_BALANCE
  Citizen.resultAsInteger()
);
console.log(result)
C#
int result = Function.Call<int>((Hash)0x0C02DABFA3B98176); // _MONEY_GET_CASH_BALANCE
All MONEY natives

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