ScriptClientBlocked

terminateThisThread

TERMINATE_THIS_THREAD0x1090044AD1DA76FA

The GTA V native TERMINATE_THIS_THREAD of the SCRIPT namespace, as LS:MP client scripts call it: the global function terminateThisThread, in JavaScript and in Lua.

SignatureJavaScript
terminateThisThread(): void
SignatureLua
terminateThisThread()
✕
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
Script SCRIPT
In the game
void TERMINATE_THIS_THREAD()
Hash
0x1090044AD1DA76FA

Open in the interactive natives reference