copyScriptStruct
COPY_SCRIPT_STRUCT0x213AEB2B90CBA7ACThe GTA V native COPY_SCRIPT_STRUCT of the MISC namespace, as LS:MP client scripts call it: the global function copyScriptStruct, in JavaScript and in Lua.
copyScriptStruct(dst: null, src: null, size: number): voidcopyScriptStruct(dst: nil, src: nil, size: integer)✕
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
- Misc MISC
- In the game
void COPY_SCRIPT_STRUCT(Any* dst, Any* src, int size)- Hash
0x213AEB2B90CBA7AC- Introduced
- Game build 877 legacy numbering
- Formerly
_COPY_MEMORY