PlayerClient

specialAbilityChargeNormalized

SPECIAL_ABILITY_CHARGE_NORMALIZED0xA0696A65F009EE18

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

SignatureJavaScript
specialAbilityChargeNormalized(
  player: Player,
  normalizedValue: number,
  p2: boolean,
  p3: any
): void
SignatureLua
specialAbilityChargeNormalized(
  player: Player,
  normalizedValue: number,
  p2: boolean,
  p3: any
)

Usage

JavaScript
specialAbilityChargeNormalized(player, normalizedValue, p2, p3);
Lua
specialAbilityChargeNormalized(player, normalizedValue, p2, p3)

Parameters

ParameterTypeJavaScriptLua
playerPlayernumberinteger
normalizedValuefloatnumbernumber
p2BOOLbooleanboolean
p3Anyanyany

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

Open in the interactive natives reference