NetworkClientBlocked

ugcQueryByCategory

UGC_QUERY_BY_CATEGORY0x692D58DF40657E8C

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

SignatureJavaScript
ugcQueryByCategory(
  p0: any,
  p1: any,
  p2: any,
  p3: string,
  p4: any,
  p5: boolean
): boolean
SignatureLua
ugcQueryByCategory(
  p0: any,
  p1: any,
  p2: any,
  p3: string,
  p4: any,
  p5: boolean
): 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_QUERY_BY_CATEGORY(Any p0, Any p1, Any p2, const char* p3, Any p4, BOOL p5)
Hash
0x692D58DF40657E8C

Open in the interactive natives reference