RedM Natives

UI_STATE_MACHINE_REQUEST_TRANSITION

Hash0x7EA9C3547E80350E
Runtime nameUiStateMachineRequestTransition
SideClient
NameOfficial
Docs
Since build1207

Signature

Any UI_STATE_MACHINE_REQUEST_TRANSITION(Any p0, Any p1);

Parameters

NameTypeDescription
p0Any—
p1Any—

Returns Any

Usage

Lua
local retval = UiStateMachineRequestTransition(p0, p1)

-- always works, by hash
local retval = Citizen.InvokeNative(0x7EA9C3547E80350E, p0, p1, Citizen.ResultAsInteger())
JavaScript and C#
JavaScript
const retval = UiStateMachineRequestTransition(p0, p1);

// by hash
const retval = Citizen.invokeNative('0x7EA9C3547E80350E', p0, p1, Citizen.returnResultAnyway(), Citizen.resultAsInteger());
C#
int retval = Function.Call<int>((Hash)0x7EA9C3547E80350E, p0, p1);

Sources

alloc8or RDR3 NativeDB

Something wrong or missing? Contribute a verified note — corrections ship through pull requests.