PlayerClient

specialAbilityDeactivateMp

SPECIAL_ABILITY_DEACTIVATE_MP0x17F7471EACA78290

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

SignatureJavaScript
specialAbilityDeactivateMp(player: Player, p1: number): void
SignatureLua
specialAbilityDeactivateMp(player: Player, p1: integer)

Usage

JavaScript
specialAbilityDeactivateMp(player, p1);
Lua
specialAbilityDeactivateMp(player, p1)

Parameters

ParameterTypeJavaScriptLua
playerPlayernumberinteger
p1intnumberinteger

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_DEACTIVATE_MP(Player player, int p1)
Hash
0x17F7471EACA78290
Introduced
Game build 678 legacy numbering
Formerly
_SPECIAL_ABILITY_DEPLETE

Open in the interactive natives reference