NetworkClientBlocked

ugcGetContentPath

UGC_GET_CONTENT_PATH0xBAF6BABF9E7CCC13

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

SignatureJavaScript
ugcGetContentPath(p0: number, p1: number): string
SignatureLua
ugcGetContentPath(p0: integer, p1: integer): string
✕
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
const char* UGC_GET_CONTENT_PATH(int p0, int p1)
Hash
0xBAF6BABF9E7CCC13
Formerly
_UGC_GET_CLOUD_PATH

Open in the interactive natives reference