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