RedM Natives

RESURRECT_PED

This function will simply bring the dead ped back to life.

Hash0x71BC8E838B9C6035
Runtime nameResurrectPed
NamespacePED
SideClient
NameOfficial
Docs
Since build1207
GTA V hash0x71BC8E838B9C6035

Signature

void RESURRECT_PED(Ped ped);

Parameters

NameTypeDescription
pedPed—

Returns void

Description

This function will simply bring the dead ped back to life.

Before calling this function, you may want to declare the position, where your Resurrected ped to be spawn at because theres a chance the ped will fall through the map

Also, disabling any assigned task immediately helped in the number of scenarios, where If you want peds to perform certain decided tasks.

Usage

Lua
ResurrectPed(ped)

-- always works, by hash
Citizen.InvokeNative(0x71BC8E838B9C6035, ped)
JavaScript and C#
JavaScript
ResurrectPed(ped);

// by hash
Citizen.invokeNative('0x71BC8E838B9C6035', ped);
C#
Function.Call((Hash)0x71BC8E838B9C6035, ped);

Sources

alloc8or RDR3 NativeDB

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