displayCash
DISPLAY_CASH0x96DEC8D5430208B7The 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.
displayCash(toggle: boolean): voiddisplayCash(toggle: boolean)Usage
JavaScript
displayCash(toggle);Lua
displayCash(toggle)Parameters
| Parameter | Type | JavaScript | Lua |
|---|---|---|---|
toggle | BOOL | boolean | boolean |
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