specialAbilityActivate
SPECIAL_ABILITY_ACTIVATE0x821FDC827D6F4090The GTA V native SPECIAL_ABILITY_ACTIVATE of the PLAYER namespace, as LS:MP client scripts call it: the global function specialAbilityActivate, in JavaScript and in Lua.
specialAbilityActivate(player: Player, p1: number): voidspecialAbilityActivate(player: Player, p1: integer)Usage
JavaScript
specialAbilityActivate(player, p1);Lua
specialAbilityActivate(player, p1)Parameters
| Parameter | Type | JavaScript | Lua |
|---|---|---|---|
player | Player | number | integer |
p1 | int | number | integer |
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 is always 0 in the scripts
Reference
- Namespace
- Player PLAYER
- In the game
void SPECIAL_ABILITY_ACTIVATE(Player player, int p1)- Hash
0x821FDC827D6F4090- Introduced
- Game build 678 legacy numbering
- Formerly
_SPECIAL_ABILITY_ACTIVATE