_UI_STATE_MACHINE_IS_EXITED
Based on its name and signature, here is our best reading:
Returns true if the UI state machine identified by p0 has exited.
Signature
BOOL _UI_STATE_MACHINE_IS_EXITED(Hash p0); // 0x11E73195E735B25B b1207Parameters
| # | Name | Type |
|---|---|---|
| 1 | p0 | Hash |
Facts
| Name | _UI_STATE_MACHINE_IS_EXITED |
|---|---|
| Hash | 0x11E73195E735B25B |
| 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(0x11E73195E735B25B, -- _UI_STATE_MACHINE_IS_EXITED
GetHashKey("name") -- Hash p0
)
if result then
-- ...
endconst result = Citizen.invokeNative("0x11E73195E735B25B", // _UI_STATE_MACHINE_IS_EXITED
GetHashKey("name"), // Hash p0
Citizen.returnResultAnyway()
);
if (result) {
// ...
}bool result = Function.Call<bool>((Hash)0x11E73195E735B25B, // _UI_STATE_MACHINE_IS_EXITED
(uint)API.GetHashKey("name") // Hash p0
);Related UISTATEMACHINE natives
Facts compiled from community research (alloc8or/rdr3-nativedb-data, femga/rdr3_discoveries); descriptions and examples by The Lab.