specialAbilityDeactivateMp
SPECIAL_ABILITY_DEACTIVATE_MP0x17F7471EACA78290The 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.
specialAbilityDeactivateMp(player: Player, p1: number): voidspecialAbilityDeactivateMp(player: Player, p1: integer)Usage
JavaScript
specialAbilityDeactivateMp(player, p1);Lua
specialAbilityDeactivateMp(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_DEACTIVATE_MP(Player player, int p1)- Hash
0x17F7471EACA78290- Introduced
- Game build 678 legacy numbering
- Formerly
_SPECIAL_ABILITY_DEPLETE