HUDClient

displayCash

DISPLAY_CASH0x96DEC8D5430208B7

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

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

Usage

JavaScript
displayCash(toggle);
Lua
displayCash(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.

"displayCash(false);" makes the cash amount render on the screen when appropriate
"displayCash(true);" disables cash amount rendering

Reference

Namespace
HUD HUD
In the game
void DISPLAY_CASH(BOOL toggle)
Hash
0x96DEC8D5430208B7

Open in the interactive natives reference