isSpecialAbilityUnlocked
IS_SPECIAL_ABILITY_UNLOCKED0xC6017F6A6CDFA694The GTA V native IS_SPECIAL_ABILITY_UNLOCKED of the PLAYER namespace, as LS:MP client scripts call it: the global function isSpecialAbilityUnlocked, in JavaScript and in Lua.
isSpecialAbilityUnlocked(playerModel: Hash): booleanisSpecialAbilityUnlocked(playerModel: Hash): booleanUsage
JavaScript
const result = isSpecialAbilityUnlocked(playerModel);Lua
local result = isSpecialAbilityUnlocked(playerModel)Parameters
| Parameter | Type | JavaScript | Lua |
|---|---|---|---|
playerModel | Hash | number | integer |
Returns
BOOL JavaScript boolean, Lua booleanReference
- Namespace
- Player PLAYER
- In the game
BOOL IS_SPECIAL_ABILITY_UNLOCKED(Hash playerModel)- Hash
0xC6017F6A6CDFA694