_MONEY_INCREMENT_CASH_BALANCE
Adds amount to the local player's cash balance, tagging the change with the addReason hash, and returns true on success.
Signature
BOOL _MONEY_INCREMENT_CASH_BALANCE(int amount, Hash addReason); // 0xBC3422DC91667621 b1207Parameters
| # | Name | Type |
|---|---|---|
| 1 | amount | int |
| 2 | addReason | Hash |
Facts
| 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.
local result = Citizen.InvokeNative(0xBC3422DC91667621, -- _MONEY_INCREMENT_CASH_BALANCE
0, -- int amount
GetHashKey("name") -- Hash addReason
)
if result then
-- ...
endconst result = Citizen.invokeNative("0xBC3422DC91667621", // _MONEY_INCREMENT_CASH_BALANCE
0, // int amount
GetHashKey("name"), // Hash addReason
Citizen.returnResultAnyway()
);
if (result) {
// ...
}bool result = Function.Call<bool>((Hash)0xBC3422DC91667621, // _MONEY_INCREMENT_CASH_BALANCE
0, // int amount
(uint)API.GetHashKey("name") // Hash addReason
);Related MONEY natives
Facts compiled from community research (alloc8or/rdr3-nativedb-data, femga/rdr3_discoveries); descriptions and examples by The Lab.