setAbilityBarValue
SET_ABILITY_BAR_VALUE0x9969599CCFF5D85EThe GTA V native SET_ABILITY_BAR_VALUE of the HUD namespace, as LS:MP client scripts call it: the global function setAbilityBarValue, in JavaScript and in Lua.
setAbilityBarValue(p0: number, p1: number): voidsetAbilityBarValue(p0: number, p1: number)Usage
JavaScript
setAbilityBarValue(p0, p1);Lua
setAbilityBarValue(p0, p1)Parameters
| Parameter | Type | JavaScript | Lua |
|---|---|---|---|
p0 | float | number | number |
p1 | float | number | number |
Returns
Nothing. In JavaScript the call evaluates to undefined.
Reference
- Namespace
- HUD HUD
- In the game
void SET_ABILITY_BAR_VALUE(float p0, float p1)- Hash
0x9969599CCFF5D85E