HUDClient

changeFakeMpCash

CHANGE_FAKE_MP_CASH0x0772DF77852C2E30

The 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.

SignatureJavaScript
changeFakeMpCash(cash: number, bank: number): void
SignatureLua
changeFakeMpCash(cash: integer, bank: integer)

Usage

JavaScript
changeFakeMpCash(cash, bank);
Lua
changeFakeMpCash(cash, bank)

Parameters

ParameterTypeJavaScriptLua
cashintnumberinteger
bankintnumberinteger

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

Open in the interactive natives reference