PlayerClient

specialAbilityChargeAbsolute

SPECIAL_ABILITY_CHARGE_ABSOLUTE0xB7B0870EB531D08D

The GTA V native SPECIAL_ABILITY_CHARGE_ABSOLUTE of the PLAYER namespace, as LS:MP client scripts call it: the global function specialAbilityChargeAbsolute, in JavaScript and in Lua.

SignatureJavaScript
specialAbilityChargeAbsolute(
  player: Player,
  p1: number,
  p2: boolean,
  p3: any
): void
SignatureLua
specialAbilityChargeAbsolute(
  player: Player,
  p1: integer,
  p2: boolean,
  p3: any
)

Usage

JavaScript
specialAbilityChargeAbsolute(player, p1, p2, p3);
Lua
specialAbilityChargeAbsolute(player, p1, p2, p3)

Parameters

ParameterTypeJavaScriptLua
playerPlayernumberinteger
p1intnumberinteger
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.

p1 appears as 5, 10, 15, 25, or 30. p2 is always true.

Reference

Namespace
Player PLAYER
In the game
void SPECIAL_ABILITY_CHARGE_ABSOLUTE(Player player, int p1, BOOL p2, Any p3)
Hash
0xB7B0870EB531D08D

Open in the interactive natives reference