HUDClient

displayAmmoThisFrame

DISPLAY_AMMO_THIS_FRAME0xA5E78BA2B1331C55

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

SignatureJavaScript
displayAmmoThisFrame(display: boolean): void
SignatureLua
displayAmmoThisFrame(display: boolean)

Usage

JavaScript
displayAmmoThisFrame(display);
Lua
displayAmmoThisFrame(display)

Parameters

ParameterTypeJavaScriptLua
displayBOOLbooleanboolean

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

Open in the interactive natives reference