UGC_REQUEST_CONTENT_DATA_FROM_PARAMS
Hash
0x7FD2990AF016795ERuntime name
UgcRequestContentDataFromParamsNamespaceNETWORK
SideClient
NameOfficial
Docs
Since build1207
GTA V hash
0x7FD2990AF016795ESignature
int UGC_REQUEST_CONTENT_DATA_FROM_PARAMS(const char* contentTypeName, const char* contentId, int fileId, int fileVersion, int languageId);Parameters
| Name | Type | Description |
|---|---|---|
contentTypeName | const char* | — |
contentId | const char* | — |
fileId | int | — |
fileVersion | int | — |
languageId | int | — |
Returns int
Usage
local retval = UgcRequestContentDataFromParams(contentTypeName, contentId, fileId, fileVersion, languageId)
-- always works, by hash
local retval = Citizen.InvokeNative(0x7FD2990AF016795E, contentTypeName, contentId, fileId, fileVersion, languageId, Citizen.ResultAsInteger())JavaScript and C#
const retval = UgcRequestContentDataFromParams(contentTypeName, contentId, fileId, fileVersion, languageId);
// by hash
const retval = Citizen.invokeNative('0x7FD2990AF016795E', contentTypeName, contentId, fileId, fileVersion, languageId, Citizen.returnResultAnyway(), Citizen.resultAsInteger());int retval = Function.Call<int>((Hash)0x7FD2990AF016795E, contentTypeName, contentId, fileId, fileVersion, languageId);Sources
Something wrong or missing? Contribute a verified note — corrections ship through pull requests.