The Lab
NETWORK native

UGC_GET_CACHED_DESCRIPTION

returns const char*2 paramsbuild 1207

Returns the cached description text of a user content item.

Signature

C
const char* UGC_GET_CACHED_DESCRIPTION(Hash description, int length); // 0x40F7E66472DF3E5C b1207

Parameters

#NameType
1descriptionHash
2lengthint

Facts

Facts about UGC_GET_CACHED_DESCRIPTION
Name
UGC_GET_CACHED_DESCRIPTION
Hash
0x40F7E66472DF3E5C
Namespace
Returns
const char*
Game build
1207

Examples

Calls by hash work in every RedM runtime. Replace the placeholder arguments with your own values.

Lua
local result = Citizen.InvokeNative(0x40F7E66472DF3E5C, -- UGC_GET_CACHED_DESCRIPTION
  GetHashKey("name"), -- Hash description
  0, -- int length
  Citizen.ResultAsString()
)
print(result)
JavaScript
const result = Citizen.invokeNative("0x40F7E66472DF3E5C", // UGC_GET_CACHED_DESCRIPTION
  GetHashKey("name"), // Hash description
  0, // int length
  Citizen.resultAsString()
);
console.log(result)
C#
string result = Function.Call<string>((Hash)0x40F7E66472DF3E5C, // UGC_GET_CACHED_DESCRIPTION
  (uint)API.GetHashKey("name"), // Hash description
  0 // int length
);
All NETWORK natives

Facts compiled from community research (alloc8or/rdr3-nativedb-data, femga/rdr3_discoveries); descriptions and examples by The Lab.