MiscClientBlocked

setThisScriptCanBePaused

SET_THIS_SCRIPT_CAN_BE_PAUSED0xAA391C728106F7AF

The 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.

SignatureJavaScript
setThisScriptCanBePaused(toggle: boolean): void
SignatureLua
setThisScriptCanBePaused(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

Open in the interactive natives reference