PlayerClient

specialAbilityLock

SPECIAL_ABILITY_LOCK0x6A09D0D590A47D13

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

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

Usage

JavaScript
specialAbilityLock(playerModel, p1);
Lua
specialAbilityLock(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_LOCK(Hash playerModel, Any p1)
Hash
0x6A09D0D590A47D13

Open in the interactive natives reference