UI_STATE_MACHINE_EXISTS
Based on its name and signature, here is our best reading:
Reports whether the UI state machine identified by p0 exists.
Signature
Any UI_STATE_MACHINE_EXISTS(Any p0); // 0x5D15569C0FEBF757 b1207Parameters
| # | Name | Type |
|---|---|---|
| 1 | p0 | Any |
Facts
| Name | UI_STATE_MACHINE_EXISTS |
|---|---|
| Hash | 0x5D15569C0FEBF757 |
| 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(0x5D15569C0FEBF757, -- UI_STATE_MACHINE_EXISTS
0, -- Any p0
Citizen.ResultAsInteger()
)
print(result)const result = Citizen.invokeNative("0x5D15569C0FEBF757", // UI_STATE_MACHINE_EXISTS
0, // Any p0
Citizen.resultAsInteger()
);
console.log(result)int result = Function.Call<int>((Hash)0x5D15569C0FEBF757, // UI_STATE_MACHINE_EXISTS
0 // Any p0
);Related UISTATEMACHINE natives
Facts compiled from community research (alloc8or/rdr3-nativedb-data, femga/rdr3_discoveries); descriptions and examples by The Lab.