RedM Natives

_GET_PED_REMAINING_REVIVAL_TIME

normalized / non normalized 0.0 / 1000.0 STARTED IN WRITHE STAGE 1.0 / 0.0 END OF WRITHE, DEAD -1.0 DEAD Returns some value from AI task 562 (unknown).

Hash0xEBE89623EB861271
Runtime nameGetPedRemainingRevivalTime
NamespacePED
SideClient
NameCommunity guess
Docs
Since build1207

Signature

float _GET_PED_REMAINING_REVIVAL_TIME(Ped ped, BOOL normalized);

Parameters

NameTypeDescription
pedPed—
normalizedBOOL—

Returns float

Description

normalized / non normalized
0.0 / 1000.0 STARTED IN WRITHE STAGE
1.0 / 0.0 END OF WRITHE, DEAD
-1.0 DEAD

Returns some value from AI task 562 (unknown).

Usage

Lua
local retval = GetPedRemainingRevivalTime(ped, normalized)

-- always works, by hash
local retval = Citizen.InvokeNative(0xEBE89623EB861271, ped, normalized, Citizen.ResultAsFloat())
JavaScript and C#
JavaScript
const retval = GetPedRemainingRevivalTime(ped, normalized);

// by hash
const retval = Citizen.invokeNative('0xEBE89623EB861271', ped, normalized, Citizen.returnResultAnyway(), Citizen.resultAsFloat());
C#
float retval = Function.Call<float>((Hash)0xEBE89623EB861271, ped, normalized);
  • 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.