HUDClient

useFakeMpCash

USE_FAKE_MP_CASH0x170F541E1CADD1DE

The GTA V native USE_FAKE_MP_CASH of the HUD namespace, as LS:MP client scripts call it: the global function useFakeMpCash, in JavaScript and in Lua.

SignatureJavaScript
useFakeMpCash(toggle: boolean): void
SignatureLua
useFakeMpCash(toggle: boolean)

Usage

JavaScript
useFakeMpCash(toggle);
Lua
useFakeMpCash(toggle)

Parameters

ParameterTypeJavaScriptLua
toggleBOOLbooleanboolean

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.

Related to displaying cash on the HUD
Always called before changeFakeMpCash in decompiled scripts

Reference

Namespace
HUD HUD
In the game
void USE_FAKE_MP_CASH(BOOL toggle)
Hash
0x170F541E1CADD1DE

Open in the interactive natives reference