UI_REQUEST_SCENE
Based on its name and signature, here is our best reading:
Requests a UI scene. The parameters are not documented.
Signature
Any UI_REQUEST_SCENE(Any p0, Any p1); // 0xB6857100F8FD433C b1207Parameters
| # | Name | Type |
|---|---|---|
| 1 | p0 | Any |
| 2 | p1 | Any |
Facts
| Name | UI_REQUEST_SCENE |
|---|---|
| Hash | 0xB6857100F8FD433C |
| 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(0xB6857100F8FD433C, -- UI_REQUEST_SCENE
0, -- Any p0
0, -- Any p1
Citizen.ResultAsInteger()
)
print(result)const result = Citizen.invokeNative("0xB6857100F8FD433C", // UI_REQUEST_SCENE
0, // Any p0
0, // Any p1
Citizen.resultAsInteger()
);
console.log(result)int result = Function.Call<int>((Hash)0xB6857100F8FD433C, // UI_REQUEST_SCENE
0, // Any p0
0 // Any p1
);Related HUD natives
- UI_GET_SCENE_UIOBJECT
- UI_MOVIEVIEW_SET_RENDER_TARGET
- UI_PROMPT_IS_CONTROL_ACTION_ACTIVE
- _UI_PROMPT_ADD_GROUP_LINK
- _UI_PROMPT_ADD_GROUP_RETURN_LINK
- _UI_PROMPT_CLEAR_HORIZONTAL_ORIENTATION
- _UI_PROMPT_CLEAR_PROMPT_PRIORITY_PREFERENCE
- _UI_PROMPT_CONTEXT_SET_POINT
- _UI_PROMPT_CONTEXT_SET_RADIUS
- _UI_PROMPT_CONTEXT_SET_VOLUME
- _UI_PROMPT_CREATE
- _UI_PROMPT_DELETE
Facts compiled from community research (alloc8or/rdr3-nativedb-data, femga/rdr3_discoveries); descriptions and examples by The Lab.