RedM Natives

_IS_REVIVABLE_HORSE_PROMPT_VISIBLE

Checks for the revive-horse prompt.

Hash0x756C7B4C43DF0422
Runtime nameIsRevivableHorsePromptVisible
NamespaceTASK
SideClient
NameCommunity guess
Docs
Since build1207
Also known as_IS_REVIVE_HORSE_PROMPT_VISIBLE

Signature

BOOL _IS_REVIVABLE_HORSE_PROMPT_VISIBLE(BOOL strict);

Parameters

NameTypeDescription
strictBOOL—

Returns BOOL

Description

alloc8or RDR3 NativeDB

Checks for the revive-horse prompt.
strict=true: prompt must be usable (enabled and inputs not blocked). strict=false: true if the prompt simply exists (may be disabled).

VORPCORE RDR3natives

Returns true if a revivable horse prompt is currently visibled (i.e., visible and interactable) near the player.This indicates that there is a downed horse nearby which can be revived

Usage

Lua
local retval = IsRevivableHorsePromptVisible(strict)

-- always works, by hash
local retval = Citizen.InvokeNative(0x756C7B4C43DF0422, strict, Citizen.ReturnResultAnyway())
JavaScript and C#
JavaScript
const retval = IsRevivableHorsePromptVisible(strict);

// by hash
const retval = Citizen.invokeNative('0x756C7B4C43DF0422', strict, Citizen.returnResultAnyway());
C#
bool retval = Function.Call<bool>((Hash)0x756C7B4C43DF0422, strict);
  • 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 · VORPCORE RDR3natives

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