requestScript
REQUEST_SCRIPT0x6EB5F71AA68F2E8EThe 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.
requestScript(scriptName: string): voidrequestScript(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