NetworkClientNot in this build

ugcGetContentDescription

UGC_GET_CONTENT_DESCRIPTION0x4A56710BAB5C4DB4

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

SignatureJavaScript
ugcGetContentDescription(index: number): string
SignatureLua
ugcGetContentDescription(index: integer): string
⚠
Not in this game build

The global exists, but the native is not part of the game build LS:MP runs: calling it does nothing and returns undefined in JavaScript, nil in Lua. It never throws. See Coverage.

Usage

JavaScript
const text = ugcGetContentDescription(index);
Lua
local text = ugcGetContentDescription(index)

Parameters

ParameterTypeJavaScriptLua
indexintnumberinteger

Returns

string JavaScript string, Lua string

Reference

Namespace
Network NETWORK
In the game
const char* UGC_GET_CONTENT_DESCRIPTION(int index)
Hash
0x4A56710BAB5C4DB4
Introduced
Game build 3407 legacy numbering

Open in the interactive natives reference