PlayerClient

specialAbilityUnlock

SPECIAL_ABILITY_UNLOCK0xF145F3BE2EFA9A3B

The GTA V native SPECIAL_ABILITY_UNLOCK of the PLAYER namespace, as LS:MP client scripts call it: the global function specialAbilityUnlock, in JavaScript and in Lua.

SignatureJavaScript
specialAbilityUnlock(playerModel: Hash, p1: any): void
SignatureLua
specialAbilityUnlock(playerModel: Hash, p1: any)

Usage

JavaScript
specialAbilityUnlock(playerModel, p1);
Lua
specialAbilityUnlock(playerModel, p1)

Parameters

ParameterTypeJavaScriptLua
playerModelHashnumberinteger
p1Anyanyany

Returns

Nothing. In JavaScript the call evaluates to undefined.

Reference

Namespace
Player PLAYER
In the game
void SPECIAL_ABILITY_UNLOCK(Hash playerModel, Any p1)
Hash
0xF145F3BE2EFA9A3B

Open in the interactive natives reference