codeWantsScriptToTakeControl
CODE_WANTS_SCRIPT_TO_TAKE_CONTROL0x66E7CB63C97B7D20The GTA V native CODE_WANTS_SCRIPT_TO_TAKE_CONTROL of the HUD namespace, as LS:MP client scripts call it: the global function codeWantsScriptToTakeControl, in JavaScript and in Lua.
codeWantsScriptToTakeControl(): booleancodeWantsScriptToTakeControl(): booleanUsage
JavaScript
const result = codeWantsScriptToTakeControl();Lua
local result = codeWantsScriptToTakeControl()Parameters
None.
Returns
BOOL JavaScript boolean, Lua booleanReference
- Namespace
- HUD HUD
- In the game
BOOL CODE_WANTS_SCRIPT_TO_TAKE_CONTROL()- Hash
0x66E7CB63C97B7D20