The Lab
MONEY native

_MONEY_INCREMENT_CASH_BALANCE

returns BOOL2 paramsbuild 1207

Adds amount to the local player's cash balance, tagging the change with the addReason hash, and returns true on success.

Signature

C
BOOL _MONEY_INCREMENT_CASH_BALANCE(int amount, Hash addReason); // 0xBC3422DC91667621 b1207

Parameters

#NameType
1amountint
2addReasonHash

Facts

Facts about _MONEY_INCREMENT_CASH_BALANCE
Name
_MONEY_INCREMENT_CASH_BALANCE
Hash
0xBC3422DC91667621
Namespace
Returns
BOOL
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(0xBC3422DC91667621, -- _MONEY_INCREMENT_CASH_BALANCE
  0, -- int amount
  GetHashKey("name") -- Hash addReason
)
if result then
  -- ...
end
JavaScript
const result = Citizen.invokeNative("0xBC3422DC91667621", // _MONEY_INCREMENT_CASH_BALANCE
  0, // int amount
  GetHashKey("name"), // Hash addReason
  Citizen.returnResultAnyway()
);
if (result) {
  // ...
}
C#
bool result = Function.Call<bool>((Hash)0xBC3422DC91667621, // _MONEY_INCREMENT_CASH_BALANCE
  0, // int amount
  (uint)API.GetHashKey("name") // Hash addReason
);
All MONEY natives

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