RedM Natives

UI_STATE_MACHINE_CAN_REQUEST_TRANSITION

Hash0xF7C180F57F85D0B8
Runtime nameUiStateMachineCanRequestTransition
SideClient
NameOfficial
Docs
Since build1207

Signature

Any UI_STATE_MACHINE_CAN_REQUEST_TRANSITION(Any p0);

Parameters

NameTypeDescription
p0Any—

Returns Any

Usage

Lua
local retval = UiStateMachineCanRequestTransition(p0)

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

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

Sources

alloc8or RDR3 NativeDB

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