UGC_QUERY_GET_CONTENT_HAS_PLAYER_RECORD
Returns true if the content at index in the query results has a player record.
Signature
BOOL UGC_QUERY_GET_CONTENT_HAS_PLAYER_RECORD(Any p0, int index); // 0xF794765390A6DCA5 b1207Parameters
| # | Name | Type |
|---|---|---|
| 1 | p0 | Any |
| 2 | index | int |
Facts
| Name | UGC_QUERY_GET_CONTENT_HAS_PLAYER_RECORD |
|---|---|
| Hash | 0xF794765390A6DCA5 |
| Namespace | |
| Returns | BOOL |
| Game build | 1207 |
Examples
Calls by hash work in every RedM runtime. Replace the placeholder arguments with your own values.
local result = Citizen.InvokeNative(0xF794765390A6DCA5, -- UGC_QUERY_GET_CONTENT_HAS_PLAYER_RECORD
0, -- Any p0
0 -- int index
)
if result then
-- ...
endconst result = Citizen.invokeNative("0xF794765390A6DCA5", // UGC_QUERY_GET_CONTENT_HAS_PLAYER_RECORD
0, // Any p0
0, // int index
Citizen.returnResultAnyway()
);
if (result) {
// ...
}bool result = Function.Call<bool>((Hash)0xF794765390A6DCA5, // UGC_QUERY_GET_CONTENT_HAS_PLAYER_RECORD
0, // Any p0
0 // int index
);Related NETWORK natives
- UGC_QUERY_GET_CONTENT_NUM
- _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.