RedM Natives

_UI_PROMPT_REGISTER_BEGIN

Hash0x04F97DE45A519419
Runtime nameUiPromptRegisterBegin
NamespaceHUD
SideClient
NameCommunity guess
Docs
Since build1207

Signature

Prompt _UI_PROMPT_REGISTER_BEGIN();

Returns Prompt

Usage

Lua
local retval = UiPromptRegisterBegin()

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

// by hash
const retval = Citizen.invokeNative('0x04F97DE45A519419', Citizen.returnResultAnyway(), Citizen.resultAsInteger());
C#
int retval = Function.Call<int>((Hash)0x04F97DE45A519419);
  • The name is a community guess and may change. If the named call is missing in your client build, use InvokeNative with the hash — it always works.

Sources

alloc8or RDR3 NativeDB

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