unregisterScriptVariable
UNREGISTER_SCRIPT_VARIABLE0x340A36A700E99699The GTA V native UNREGISTER_SCRIPT_VARIABLE of the SECURITY namespace, as LS:MP client scripts call it: the global function unregisterScriptVariable, in JavaScript and in Lua.
unregisterScriptVariable(variable: null): voidunregisterScriptVariable(variable: nil)✕
Blocked for scripts: Raw memory and structures
This native reads or fills a memory structure a script has no way to provide, so it is not callable. For entity lists, use lsmp.getGamePool. For JSON, use lsmp.json.
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
- Security SECURITY
- In the game
void UNREGISTER_SCRIPT_VARIABLE(Any* variable)- Hash
0x340A36A700E99699- Introduced
- Game build 2545 legacy numbering
- Formerly
_UNREGISTER_PROTECTED_VARIABLE