_UI_PROMPT_HAS_MASH_MODE_JUST_PRESSED
returns true if the mash mode have just been pressed
Hash
0xB0E8599243B3F568Runtime name
UiPromptHasMashModeJustPressedNamespaceHUD
SideClient
NameCommunity guess
Docs
Since build1207
Signature
BOOL _UI_PROMPT_HAS_MASH_MODE_JUST_PRESSED(Prompt prompt);Parameters
| Name | Type | Description |
|---|---|---|
prompt | Prompt | — |
Returns BOOL
Description
returns true if the mash mode have just been pressed
Usage
local retval = UiPromptHasMashModeJustPressed(prompt)
-- always works, by hash
local retval = Citizen.InvokeNative(0xB0E8599243B3F568, prompt, Citizen.ReturnResultAnyway())JavaScript and C#
const retval = UiPromptHasMashModeJustPressed(prompt);
// by hash
const retval = Citizen.invokeNative('0xB0E8599243B3F568', prompt, Citizen.returnResultAnyway());bool retval = Function.Call<bool>((Hash)0xB0E8599243B3F568, prompt);- The name is a community guess and may change. If the named call is missing in your client build, use
InvokeNativewith the hash — it always works.
Sources
alloc8or RDR3 NativeDB · VORPCORE RDR3natives
Something wrong or missing? Contribute a verified note — corrections ship through pull requests.