PedClient

reviveInjuredPed

REVIVE_INJURED_PED0x8D8ACD8388CD99CE

The GTA V native REVIVE_INJURED_PED of the PED namespace, as LS:MP client scripts call it: the global function reviveInjuredPed, in JavaScript and in Lua.

SignatureJavaScript
reviveInjuredPed(ped: Ped): void
SignatureLua
reviveInjuredPed(ped: Ped)

Usage

JavaScript
reviveInjuredPed(ped);
Lua
reviveInjuredPed(ped)

Parameters

ParameterTypeJavaScriptLua
pedPednumberinteger

Returns

Nothing. In JavaScript the call evaluates to undefined.

Notes

From the community native database. Names are LS:MP’s; samples may be written for C++ or another framework.

It will revive/cure the injured ped. The condition is ped must not be dead.

Upon setting and converting the health int, found, if health falls below 5, the ped will lay on the ground in pain(Maximum default health is 100).

This function is well suited there.

Reference

Namespace
Ped PED
In the game
void REVIVE_INJURED_PED(Ped ped)
Hash
0x8D8ACD8388CD99CE

Open in the interactive natives reference