NetworkClientBlocked

ugcGetContentUserName

UGC_GET_CONTENT_USER_NAME0x703F12425ECA8BF5

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

SignatureJavaScript
ugcGetContentUserName(p0: any): string
SignatureLua
ugcGetContentUserName(p0: any): string
✕
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
const char* UGC_GET_CONTENT_USER_NAME(Any p0)
Hash
0x703F12425ECA8BF5

Open in the interactive natives reference