UI_STATE_MACHINE_CREATE
Based on its name and signature, here is our best reading:
Creates a UI state machine from the given parameters, whose exact meaning is not documented.
Signature
Any UI_STATE_MACHINE_CREATE(Any p0, Any p1); // 0x4C6F2C4B7A03A266 b1207Parameters
| # | Name | Type |
|---|---|---|
| 1 | p0 | Any |
| 2 | p1 | Any |
Facts
| Name | UI_STATE_MACHINE_CREATE |
|---|---|
| Hash | 0x4C6F2C4B7A03A266 |
| 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(0x4C6F2C4B7A03A266, -- UI_STATE_MACHINE_CREATE
0, -- Any p0
0, -- Any p1
Citizen.ResultAsInteger()
)
print(result)const result = Citizen.invokeNative("0x4C6F2C4B7A03A266", // UI_STATE_MACHINE_CREATE
0, // Any p0
0, // Any p1
Citizen.resultAsInteger()
);
console.log(result)int result = Function.Call<int>((Hash)0x4C6F2C4B7A03A266, // UI_STATE_MACHINE_CREATE
0, // Any p0
0 // Any p1
);Related UISTATEMACHINE natives
Facts compiled from community research (alloc8or/rdr3-nativedb-data, femga/rdr3_discoveries); descriptions and examples by The Lab.