enableSpecialAbility
ENABLE_SPECIAL_ABILITY0x181EC197DAEFE121The GTA V native ENABLE_SPECIAL_ABILITY of the PLAYER namespace, as LS:MP client scripts call it: the global function enableSpecialAbility, in JavaScript and in Lua.
enableSpecialAbility(player: Player, toggle: boolean, p2: any): voidenableSpecialAbility(player: Player, toggle: boolean, p2: any)Usage
JavaScript
enableSpecialAbility(player, toggle, p2);Lua
enableSpecialAbility(player, toggle, p2)Parameters
| Parameter | Type | JavaScript | Lua |
|---|---|---|---|
player | Player | number | integer |
toggle | BOOL | boolean | boolean |
p2 | Any | any | any |
Returns
Nothing. In JavaScript the call evaluates to undefined.
Reference
- Namespace
- Player PLAYER
- In the game
void ENABLE_SPECIAL_ABILITY(Player player, BOOL toggle, Any p2)- Hash
0x181EC197DAEFE121