PlayerClient

updateSpecialAbilityFromStat

UPDATE_SPECIAL_ABILITY_FROM_STAT0xFFEE8FA29AB9A18E

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

SignatureJavaScript
updateSpecialAbilityFromStat(player: Player, p1: any): void
SignatureLua
updateSpecialAbilityFromStat(player: Player, p1: any)

Usage

JavaScript
updateSpecialAbilityFromStat(player, p1);
Lua
updateSpecialAbilityFromStat(player, p1)

Parameters

ParameterTypeJavaScriptLua
playerPlayernumberinteger
p1Anyanyany

Returns

Nothing. In JavaScript the call evaluates to undefined.

Reference

Namespace
Player PLAYER
In the game
void UPDATE_SPECIAL_ABILITY_FROM_STAT(Player player, Any p1)
Hash
0xFFEE8FA29AB9A18E

Open in the interactive natives reference