NetworkClientBlocked

ugcTextureDownloadRequest

UGC_TEXTURE_DOWNLOAD_REQUEST0x308F96458B7087CC

The GTA V native UGC_TEXTURE_DOWNLOAD_REQUEST of the NETWORK namespace, as LS:MP client scripts call it: the global function ugcTextureDownloadRequest, in JavaScript and in Lua.

SignatureJavaScript
ugcTextureDownloadRequest(
  p0: string,
  p1: number,
  p2: number,
  p3: number,
  p4: string,
  p5: boolean
): number
SignatureLua
ugcTextureDownloadRequest(
  p0: string,
  p1: integer,
  p2: integer,
  p3: integer,
  p4: string,
  p5: boolean
): integer
✕
Blocked for scripts: Rockstar online sessions and content

LS:MP runs its own networking: scripts do not join, host or transition Rockstar sessions, or fetch Rockstar's user content and remote files.

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
Network NETWORK
In the game
int UGC_TEXTURE_DOWNLOAD_REQUEST(const char* p0, int p1, int p2, int p3, const char* p4, BOOL p5)
Hash
0x308F96458B7087CC

Open in the interactive natives reference