EntityClient

clearEntityLastDamageEntity

CLEAR_ENTITY_LAST_DAMAGE_ENTITY0xA72CD9CA74A5ECBA

The GTA V native CLEAR_ENTITY_LAST_DAMAGE_ENTITY of the ENTITY namespace, as LS:MP client scripts call it: the global function clearEntityLastDamageEntity, in JavaScript and in Lua.

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

Usage

JavaScript
clearEntityLastDamageEntity(entity);
Lua
clearEntityLastDamageEntity(entity)

Parameters

ParameterTypeJavaScriptLua
entityEntitynumberinteger

Returns

Nothing. In JavaScript the call evaluates to undefined.

Reference

Namespace
Entity ENTITY
In the game
void CLEAR_ENTITY_LAST_DAMAGE_ENTITY(Entity entity)
Hash
0xA72CD9CA74A5ECBA

Open in the interactive natives reference