NetworkClientBlocked

ugcGetRootContentId

UGC_GET_ROOT_CONTENT_ID0xC0173D6BFF4E0348

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

SignatureJavaScript
ugcGetRootContentId(p0: number): string
SignatureLua
ugcGetRootContentId(p0: 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_ROOT_CONTENT_ID(int p0)
Hash
0xC0173D6BFF4E0348
Formerly
_GET_ROOT_CONTENT_ID

Open in the interactive natives reference