NetworkClientBlocked

ugcGetContentCategory

UGC_GET_CONTENT_CATEGORY0xA7BAB11E7C9C6C5A

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

SignatureJavaScript
ugcGetContentCategory(p0: number): number
SignatureLua
ugcGetContentCategory(p0: integer): 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_GET_CONTENT_CATEGORY(int p0)
Hash
0xA7BAB11E7C9C6C5A
Formerly
_GET_CONTENT_CATEGORY

Open in the interactive natives reference