ugcGetContentDescription
UGC_GET_CONTENT_DESCRIPTION0x4A56710BAB5C4DB4The 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.
ugcGetContentDescription(index: number): stringugcGetContentDescription(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
| Parameter | Type | JavaScript | Lua |
|---|---|---|---|
index | int | number | integer |
Returns
string JavaScript string, Lua stringReference
- Namespace
- Network NETWORK
- In the game
const char* UGC_GET_CONTENT_DESCRIPTION(int index)- Hash
0x4A56710BAB5C4DB4- Introduced
- Game build 3407 legacy numbering