_MONEY_DECREMENT_CASH_BALANCE
Subtracts amount from the local player's cash balance and returns true on success.
Signature
BOOL _MONEY_DECREMENT_CASH_BALANCE(int amount); // 0x466BC8769CF26A7A b1207Parameters
| # | Name | Type |
|---|---|---|
| 1 | amount | int |
Facts
| Name | _MONEY_DECREMENT_CASH_BALANCE |
|---|---|
| Hash | 0x466BC8769CF26A7A |
| 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(0x466BC8769CF26A7A, -- _MONEY_DECREMENT_CASH_BALANCE
0 -- int amount
)
if result then
-- ...
endconst result = Citizen.invokeNative("0x466BC8769CF26A7A", // _MONEY_DECREMENT_CASH_BALANCE
0, // int amount
Citizen.returnResultAnyway()
);
if (result) {
// ...
}bool result = Function.Call<bool>((Hash)0x466BC8769CF26A7A, // _MONEY_DECREMENT_CASH_BALANCE
0 // int amount
);Related MONEY natives
Facts compiled from community research (alloc8or/rdr3-nativedb-data, femga/rdr3_discoveries); descriptions and examples by The Lab.