WeaponClient

clearPedLastWeaponDamage

CLEAR_PED_LAST_WEAPON_DAMAGE0x0E98F88A24C5F4B8

The GTA V native CLEAR_PED_LAST_WEAPON_DAMAGE of the WEAPON namespace, as LS:MP client scripts call it: the global function clearPedLastWeaponDamage, in JavaScript and in Lua.

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

Usage

JavaScript
clearPedLastWeaponDamage(ped);
Lua
clearPedLastWeaponDamage(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.

Reference

Namespace
Weapon WEAPON
In the game
void CLEAR_PED_LAST_WEAPON_DAMAGE(Ped ped)
Hash
0x0E98F88A24C5F4B8

Open in the interactive natives reference