RedM Natives

GET_PED_TIME_OF_DEATH

Hash0x1E98817B311AE98A
Runtime nameGetPedTimeOfDeath
NamespacePED
SideClient
NameOfficial
Docs
Since build1207
GTA V hash0x1E98817B311AE98A

Signature

int GET_PED_TIME_OF_DEATH(Ped ped);

Parameters

NameTypeDescription
pedPed—

Returns int

Usage

Lua
local retval = GetPedTimeOfDeath(ped)

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

// by hash
const retval = Citizen.invokeNative('0x1E98817B311AE98A', ped, Citizen.returnResultAnyway(), Citizen.resultAsInteger());
C#
int retval = Function.Call<int>((Hash)0x1E98817B311AE98A, ped);

Sources

alloc8or RDR3 NativeDB

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