specialAbilityLock
SPECIAL_ABILITY_LOCK0x6A09D0D590A47D13The 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.
specialAbilityLock(playerModel: Hash, p1: any): voidspecialAbilityLock(playerModel: Hash, p1: any)Usage
JavaScript
specialAbilityLock(playerModel, p1);Lua
specialAbilityLock(playerModel, p1)Parameters
| Parameter | Type | JavaScript | Lua |
|---|---|---|---|
playerModel | Hash | number | integer |
p1 | Any | any | any |
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