isSpecialAbilityActive
IS_SPECIAL_ABILITY_ACTIVE0x3E5F7FC85D854E15The GTA V native IS_SPECIAL_ABILITY_ACTIVE of the PLAYER namespace, as LS:MP client scripts call it: the global function isSpecialAbilityActive, in JavaScript and in Lua.
isSpecialAbilityActive(player: Player, p1: any): booleanisSpecialAbilityActive(player: Player, p1: any): booleanUsage
JavaScript
const result = isSpecialAbilityActive(player, p1);Lua
local result = isSpecialAbilityActive(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_ACTIVE(Player player, Any p1)- Hash
0x3E5F7FC85D854E15