_DATABINDING_ADD_UI_ITEM_LIST_FROM_PATH
Adds a UI item list under the container found at the given path and returns its id.
Signature
Any _DATABINDING_ADD_UI_ITEM_LIST_FROM_PATH(const char* p0, const char* p1); // 0xDB5B9A474148F699 b1207Parameters
| # | Name | Type |
|---|---|---|
| 1 | p0 | const char* |
| 2 | p1 | const char* |
Facts
| Name | _DATABINDING_ADD_UI_ITEM_LIST_FROM_PATH |
|---|---|
| Hash | 0xDB5B9A474148F699 |
| Namespace | |
| Returns | Any |
| Game build | 1207 |
Examples
Calls by hash work in every RedM runtime. Replace the placeholder arguments with your own values.
local result = Citizen.InvokeNative(0xDB5B9A474148F699, -- _DATABINDING_ADD_UI_ITEM_LIST_FROM_PATH
"text", -- const char* p0
"text", -- const char* p1
Citizen.ResultAsInteger()
)
print(result)const result = Citizen.invokeNative("0xDB5B9A474148F699", // _DATABINDING_ADD_UI_ITEM_LIST_FROM_PATH
"text", // const char* p0
"text", // const char* p1
Citizen.resultAsInteger()
);
console.log(result)int result = Function.Call<int>((Hash)0xDB5B9A474148F699, // _DATABINDING_ADD_UI_ITEM_LIST_FROM_PATH
"text", // const char* p0
"text" // const char* p1
);Related DATABINDING natives
- _DATABINDING_ADD_UI_ITEM_LIST
- _DATABINDING_ADD_UI_ITEM_LIST_BY_HASH
- _DATABINDING_INSERT_UI_ITEM_TO_LIST_FROM_PATH_STRING_ALIAS
- _DATABINDING_INSERT_UI_ITEM_TO_LIST_FROM_CONTEXT_HASH_ALIAS
- _DATABINDING_INSERT_UI_ITEM_TO_LIST_FROM_CONTEXT_STRING_ALIAS
- _DATABINDING_REMOVE_UI_ITEM_FROM_LIST_BY_INDEX
- _DATABINDING_ADD_DATA_BOOL_FROM_PATH
- _DATABINDING_ADD_DATA_CONTAINER_FROM_PATH
- _DATABINDING_ADD_DATA_CONTAINER_FROM_PATH_BY_HASH
- _DATABINDING_ADD_DATA_STRING_FROM_PATH
- _DATABINDING_SET_TEMPLATED_UI_ITEM_LIST_SIZE
- _DATABINDING_GET_DATA_CONTAINER_FROM_PATH
Facts compiled from community research (alloc8or/rdr3-nativedb-data, femga/rdr3_discoveries); descriptions and examples by The Lab.