changeFakeMpCash
CHANGE_FAKE_MP_CASH0x0772DF77852C2E30The GTA V native CHANGE_FAKE_MP_CASH of the HUD namespace, as LS:MP client scripts call it: the global function changeFakeMpCash, in JavaScript and in Lua.
changeFakeMpCash(cash: number, bank: number): voidchangeFakeMpCash(cash: integer, bank: integer)Usage
JavaScript
changeFakeMpCash(cash, bank);Lua
changeFakeMpCash(cash, bank)Parameters
| Parameter | Type | JavaScript | Lua |
|---|---|---|---|
cash | int | number | integer |
bank | int | number | integer |
Returns
Nothing. In JavaScript the call evaluates to undefined.
Notes
From the community native database. Names are LS:MP’s; samples may be written for C++ or another framework.
Displays cash change notifications on HUD.
Reference
- Namespace
- HUD HUD
- In the game
void CHANGE_FAKE_MP_CASH(int cash, int bank)- Hash
0x0772DF77852C2E30- Formerly
_SET_SINGLEPLAYER_HUD_CASH