NetworkClientBlocked

ugcGetGetByCategory

UGC_GET_GET_BY_CATEGORY0x678BB03C1A3BD51E

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

SignatureJavaScript
ugcGetGetByCategory(p0: any, p1: any, p2: any, p3: string, p4: null): boolean
SignatureLua
ugcGetGetByCategory(p0: any, p1: any, p2: any, p3: string, p4: nil): boolean
✕
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
BOOL UGC_GET_GET_BY_CATEGORY(Any p0, Any p1, Any p2, const char* p3, Any* p4)
Hash
0x678BB03C1A3BD51E

Open in the interactive natives reference