displayAmmoThisFrame
DISPLAY_AMMO_THIS_FRAME0xA5E78BA2B1331C55The GTA V native DISPLAY_AMMO_THIS_FRAME of the HUD namespace, as LS:MP client scripts call it: the global function displayAmmoThisFrame, in JavaScript and in Lua.
displayAmmoThisFrame(display: boolean): voiddisplayAmmoThisFrame(display: boolean)Usage
JavaScript
displayAmmoThisFrame(display);Lua
displayAmmoThisFrame(display)Parameters
| Parameter | Type | JavaScript | Lua |
|---|---|---|---|
display | BOOL | boolean | boolean |
Returns
Nothing. In JavaScript the call evaluates to undefined.
Reference
- Namespace
- HUD HUD
- In the game
void DISPLAY_AMMO_THIS_FRAME(BOOL display)- Hash
0xA5E78BA2B1331C55