_UGC_QUERY_BY_CONTENT_TYPE
Returns ugcRequestId
Hash
0xF40EF49B3099E98ERuntime name
UgcQueryByContentTypeNamespaceNETWORK
SideClient
NameCommunity guess
Docs
Since build1207
Signature
int _UGC_QUERY_BY_CONTENT_TYPE(int p0, int maxGet, const char* contentTypeName, int p3, int p4, int p5);Parameters
| Name | Type | Description |
|---|---|---|
p0 | int | — |
maxGet | int | — |
contentTypeName | const char* | — |
p3 | int | — |
p4 | int | — |
p5 | int | — |
Returns int
Description
Returns ugcRequestId
Usage
local retval = UgcQueryByContentType(p0, maxGet, contentTypeName, p3, p4, p5)
-- always works, by hash
local retval = Citizen.InvokeNative(0xF40EF49B3099E98E, p0, maxGet, contentTypeName, p3, p4, p5, Citizen.ResultAsInteger())JavaScript and C#
const retval = UgcQueryByContentType(p0, maxGet, contentTypeName, p3, p4, p5);
// by hash
const retval = Citizen.invokeNative('0xF40EF49B3099E98E', p0, maxGet, contentTypeName, p3, p4, p5, Citizen.returnResultAnyway(), Citizen.resultAsInteger());int retval = Function.Call<int>((Hash)0xF40EF49B3099E98E, p0, maxGet, contentTypeName, p3, p4, p5);- The name is a community guess and may change. If the named call is missing in your client build, use
InvokeNativewith the hash — it always works.
Sources
Something wrong or missing? Contribute a verified note — corrections ship through pull requests.