isSpecialAbilityEnabled
IS_SPECIAL_ABILITY_ENABLED0xB1D200FE26AEF3CBThe GTA V native IS_SPECIAL_ABILITY_ENABLED of the PLAYER namespace, as LS:MP client scripts call it: the global function isSpecialAbilityEnabled, in JavaScript and in Lua.
isSpecialAbilityEnabled(player: Player, p1: any): booleanisSpecialAbilityEnabled(player: Player, p1: any): booleanUsage
JavaScript
const result = isSpecialAbilityEnabled(player, p1);Lua
local result = isSpecialAbilityEnabled(player, p1)Parameters
| Parameter | Type | JavaScript | Lua |
|---|---|---|---|
player | Player | number | integer |
p1 | Any | any | any |
Returns
BOOL JavaScript boolean, Lua booleanReference
- Namespace
- Player PLAYER
- In the game
BOOL IS_SPECIAL_ABILITY_ENABLED(Player player, Any p1)- Hash
0xB1D200FE26AEF3CB