setThisScriptCanBePaused
SET_THIS_SCRIPT_CAN_BE_PAUSED0xAA391C728106F7AFThe GTA V native SET_THIS_SCRIPT_CAN_BE_PAUSED of the MISC namespace, as LS:MP client scripts call it: the global function setThisScriptCanBePaused, in JavaScript and in Lua.
setThisScriptCanBePaused(toggle: boolean): voidsetThisScriptCanBePaused(toggle: boolean)✕
Blocked for scripts: Game script threads
Resources do not start, stop or adopt the game's own compiled scripts. Your code runs as an LS:MP resource.
Calling it raises disabled by LSMP script policy, which try / catch (JavaScript) or pcall (Lua) can intercept. Nothing reaches the game. See Blocked natives.
Reference
- Namespace
- Misc MISC
- In the game
void SET_THIS_SCRIPT_CAN_BE_PAUSED(BOOL toggle)- Hash
0xAA391C728106F7AF