WeaponClient

clearEntityLastWeaponDamage

CLEAR_ENTITY_LAST_WEAPON_DAMAGE0xAC678E40BE7C74D2

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

SignatureJavaScript
clearEntityLastWeaponDamage(entity: Entity): void
SignatureLua
clearEntityLastWeaponDamage(entity: Entity)

Usage

JavaScript
clearEntityLastWeaponDamage(entity);
Lua
clearEntityLastWeaponDamage(entity)

Parameters

ParameterTypeJavaScriptLua
entityEntitynumberinteger

Returns

Nothing. In JavaScript the call evaluates to undefined.

Reference

Namespace
Weapon WEAPON
In the game
void CLEAR_ENTITY_LAST_WEAPON_DAMAGE(Entity entity)
Hash
0xAC678E40BE7C74D2

Open in the interactive natives reference