NetworkClientBlocked

ugcGetTopRatedContent

UGC_GET_TOP_RATED_CONTENT0x5324A0E3E4CE3570

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

SignatureJavaScript
ugcGetTopRatedContent(p0: any, p1: any, p2: null, p3: null): boolean
SignatureLua
ugcGetTopRatedContent(p0: any, p1: any, p2: nil, p3: 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_TOP_RATED_CONTENT(Any p0, Any p1, Any* p2, Any* p3)
Hash
0x5324A0E3E4CE3570

Open in the interactive natives reference