ScriptClientBlocked

requestScript

REQUEST_SCRIPT0x6EB5F71AA68F2E8E

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

SignatureJavaScript
requestScript(scriptName: string): void
SignatureLua
requestScript(scriptName: string)
✕
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 REQUEST_SCRIPT(const char* scriptName)
Hash
0x6EB5F71AA68F2E8E

Open in the interactive natives reference