NetworkClientBlocked

ugcGetGetByContentIds

UGC_GET_GET_BY_CONTENT_IDS0xB8322EEB38BE7C26

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

SignatureJavaScript
ugcGetGetByContentIds(
  data: null,
  dataCount: number,
  contentTypeName: string
): boolean
SignatureLua
ugcGetGetByContentIds(
  data: nil,
  dataCount: integer,
  contentTypeName: string
): 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_CONTENT_IDS(Any* data, int dataCount, const char* contentTypeName)
Hash
0xB8322EEB38BE7C26
Formerly
SET_BALANCE_ADD_MACHINES

Open in the interactive natives reference