Data filesClientBlocked

datafileStoreMissionHeader

DATAFILE_STORE_MISSION_HEADER0x2ED61456317B8178

The GTA V native DATAFILE_STORE_MISSION_HEADER of the DATAFILE namespace, as LS:MP client scripts call it: the global function datafileStoreMissionHeader, in JavaScript and in Lua.

SignatureJavaScript
datafileStoreMissionHeader(p0: number): void
SignatureLua
datafileStoreMissionHeader(p0: 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
Data files DATAFILE
In the game
void DATAFILE_STORE_MISSION_HEADER(int p0)
Hash
0x2ED61456317B8178

Open in the interactive natives reference