HUDClient

setAllowAbilityBar

SET_ALLOW_ABILITY_BAR0x889329C80FE5963C

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

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

Usage

JavaScript
setAllowAbilityBar(toggle);
Lua
setAllowAbilityBar(toggle)

Parameters

ParameterTypeJavaScriptLua
toggleBOOLbooleanboolean

Returns

Nothing. In JavaScript the call evaluates to undefined.

Reference

Namespace
HUD HUD
In the game
void SET_ALLOW_ABILITY_BAR(BOOL toggle)
Hash
0x889329C80FE5963C
Introduced
Game build 1868 legacy numbering
Formerly
_SET_ALLOW_ABILITY_BAR_IN_MULTIPLAYER

Open in the interactive natives reference