setAbilityBarVisibility
SET_ABILITY_BAR_VISIBILITY0x1DFEDD15019315A9The GTA V native SET_ABILITY_BAR_VISIBILITY of the HUD namespace, as LS:MP client scripts call it: the global function setAbilityBarVisibility, in JavaScript and in Lua.
setAbilityBarVisibility(visible: boolean): voidsetAbilityBarVisibility(visible: boolean)Usage
JavaScript
setAbilityBarVisibility(visible);Lua
setAbilityBarVisibility(visible)Parameters
| Parameter | Type | JavaScript | Lua |
|---|---|---|---|
visible | BOOL | boolean | boolean |
Returns
Nothing. In JavaScript the call evaluates to undefined.
Reference
- Namespace
- HUD HUD
- In the game
void SET_ABILITY_BAR_VISIBILITY(BOOL visible)- Hash
0x1DFEDD15019315A9- Introduced
- Game build 1493 legacy numbering
- Formerly
_SET_ABILITY_BAR_VISIBILITY_IN_MULTIPLAYER