RedM Natives

_GET_REVIVABLE_HORSE

Returns the targeted revivable horse (critically injured/writhing) when the revive prompt is active; 0 if none.

Hash0x351F74ED6177EBE7
Runtime nameGetRevivableHorse
NamespaceTASK
SideClient
NameCommunity guess
Docs
Since build1207
Also known as_GET_HORSE_IN_REVIVAL_STATE

Signature

Entity _GET_REVIVABLE_HORSE();

Returns Entity

Description

alloc8or RDR3 NativeDB

Returns the targeted revivable horse (critically injured/writhing) when the revive prompt is active; 0 if none.

VORPCORE RDR3natives

Returns the horse entity currently in a revivable state and within the revive prompt range (if any)

Usage

Lua
local retval = GetRevivableHorse()

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

// by hash
const retval = Citizen.invokeNative('0x351F74ED6177EBE7', Citizen.returnResultAnyway(), Citizen.resultAsInteger());
C#
int retval = Function.Call<int>((Hash)0x351F74ED6177EBE7);
  • 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.