terminateAllScriptsWithThisName
TERMINATE_ALL_SCRIPTS_WITH_THIS_NAME0x9DC711BC69C548DFThe GTA V native TERMINATE_ALL_SCRIPTS_WITH_THIS_NAME of the MISC namespace, as LS:MP client scripts call it: the global function terminateAllScriptsWithThisName, in JavaScript and in Lua.
terminateAllScriptsWithThisName(scriptName: string): voidterminateAllScriptsWithThisName(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
- Misc MISC
- In the game
void TERMINATE_ALL_SCRIPTS_WITH_THIS_NAME(const char* scriptName)- Hash
0x9DC711BC69C548DF