Data filesClientBlocked

ugcUpdateMission

UGC_UPDATE_MISSION0x4645DE9980999E93

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

SignatureJavaScript
ugcUpdateMission(
  contentId: string,
  contentName: string,
  description: string,
  tagsCsv: string,
  contentTypeName: string,
  p5: any
): boolean
SignatureLua
ugcUpdateMission(
  contentId: string,
  contentName: string,
  description: string,
  tagsCsv: string,
  contentTypeName: string,
  p5: any
): boolean
✕
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
BOOL UGC_UPDATE_MISSION(const char* contentId, const char* contentName, const char* description, const char* tagsCsv, const char* contentTypeName, Any p5)
Hash
0x4645DE9980999E93

Open in the interactive natives reference