UI_STATE_MACHINE_DESTROY_AND_CLEAR
Based on its name and signature, here is our best reading:
Destroys the UI state machine referenced by p0 and clears the stored reference.
Signature
void UI_STATE_MACHINE_DESTROY_AND_CLEAR(Any* p0); // 0x2738D68D2B4E09E7 b1207Parameters
| # | Name | Type |
|---|---|---|
| 1 | p0 | Any* (out pointer) |
Facts
| Name | UI_STATE_MACHINE_DESTROY_AND_CLEAR |
|---|---|
| Hash | 0x2738D68D2B4E09E7 |
| Namespace | |
| Returns | void |
| Game build | 1207 |
Examples
Calls by hash work in every RedM runtime. Replace the placeholder arguments with your own values.
local p0 = Citizen.InvokeNative(0x2738D68D2B4E09E7, -- UI_STATE_MACHINE_DESTROY_AND_CLEAR
Citizen.PointerValueInt() -- Any* p0
)
print(p0)const p0 = Citizen.invokeNative("0x2738D68D2B4E09E7", // UI_STATE_MACHINE_DESTROY_AND_CLEAR
Citizen.pointerValueInt() // Any* p0
);
console.log(p0)var p0Arg = new OutputArgument();
Function.Call((Hash)0x2738D68D2B4E09E7, // UI_STATE_MACHINE_DESTROY_AND_CLEAR
p0Arg // Any* p0
);
int p0 = p0Arg.GetResult<int>();Related UISTATEMACHINE natives
Facts compiled from community research (alloc8or/rdr3-nativedb-data, femga/rdr3_discoveries); descriptions and examples by The Lab.