UGC_QUERY_GET_CONTENT_NUM
Returns the number of contents returned by the user content query.
Signature
int UGC_QUERY_GET_CONTENT_NUM(int ugcRequestId); // 0x76160E0396142765 b1207Parameters
| # | Name | Type |
|---|---|---|
| 1 | ugcRequestId | int |
Facts
| Name | UGC_QUERY_GET_CONTENT_NUM |
|---|---|
| Hash | 0x76160E0396142765 |
| Namespace | |
| Returns | int |
| Game build | 1207 |
Examples
Calls by hash work in every RedM runtime. Replace the placeholder arguments with your own values.
local result = Citizen.InvokeNative(0x76160E0396142765, -- UGC_QUERY_GET_CONTENT_NUM
0, -- int ugcRequestId
Citizen.ResultAsInteger()
)
print(result)const result = Citizen.invokeNative("0x76160E0396142765", // UGC_QUERY_GET_CONTENT_NUM
0, // int ugcRequestId
Citizen.resultAsInteger()
);
console.log(result)int result = Function.Call<int>((Hash)0x76160E0396142765, // UGC_QUERY_GET_CONTENT_NUM
0 // int ugcRequestId
);Related NETWORK natives
- UGC_QUERY_GET_CONTENT_HAS_PLAYER_RECORD
- _UGC_QUERY_GET_ROOT_CONTENT_ID
- UGC_QUERY_WAS_FORCE_CANCELLED
- _UGC_QUERY_BY_CONTENT_ID
- _UGC_QUERY_BY_CONTENT_TYPE
- _UGC_QUERY_GET_BOOK_MARKED
- _UGC_QUERY_GET_CREATOR_HANDLE
- _UGC_QUERY_GET_CREATOR_PHOTO
- _UGC_QUERY_GET_DATE
- _UGC_QUERY_GET_LANGUAGE
- _UGC_QUERY_GET_MISSION_DESC_HASH
- _UGC_QUERY_GET_NAME
Facts compiled from community research (alloc8or/rdr3-nativedb-data, femga/rdr3_discoveries); descriptions and examples by The Lab.