specialAbilityChargeNormalized
SPECIAL_ABILITY_CHARGE_NORMALIZED0xA0696A65F009EE18The GTA V native SPECIAL_ABILITY_CHARGE_NORMALIZED of the PLAYER namespace, as LS:MP client scripts call it: the global function specialAbilityChargeNormalized, in JavaScript and in Lua.
specialAbilityChargeNormalized(
player: Player,
normalizedValue: number,
p2: boolean,
p3: any
): voidspecialAbilityChargeNormalized(
player: Player,
normalizedValue: number,
p2: boolean,
p3: any
)Usage
JavaScript
specialAbilityChargeNormalized(player, normalizedValue, p2, p3);Lua
specialAbilityChargeNormalized(player, normalizedValue, p2, p3)Parameters
| Parameter | Type | JavaScript | Lua |
|---|---|---|---|
player | Player | number | integer |
normalizedValue | float | number | number |
p2 | BOOL | boolean | boolean |
p3 | Any | any | any |
Returns
Nothing. In JavaScript the call evaluates to undefined.
Notes
From the community native database. Names are LS:MP’s; samples may be written for C++ or another framework.
normalizedValue is from 0.0 - 1.0
p2 is always 1
Reference
- Namespace
- Player PLAYER
- In the game
void SPECIAL_ABILITY_CHARGE_NORMALIZED(Player player, float normalizedValue, BOOL p2, Any p3)- Hash
0xA0696A65F009EE18- Formerly
RESET_SPECIAL_ABILITY_CONTROLS_CINEMATIC