NetworkClient1 output

networkGetAssistedKillOfEntity

NETWORK_GET_ASSISTED_KILL_OF_ENTITY0x83660B734994124D

The GTA V native NETWORK_GET_ASSISTED_KILL_OF_ENTITY of the NETWORK namespace, as LS:MP client scripts call it: the global function networkGetAssistedKillOfEntity, in JavaScript and in Lua.

SignatureJavaScript
networkGetAssistedKillOfEntity(player: Player, entity: Entity): [
  ok: boolean,
  p2: number
]
SignatureLua
networkGetAssistedKillOfEntity(
  player: Player,
  entity: Entity
): boolean, integer

Usage

JavaScript
const [ok, p2] = networkGetAssistedKillOfEntity(player, entity);
Lua
local ok, p2 = networkGetAssistedKillOfEntity(player, entity)

Parameters

ParameterTypeJavaScriptLua
playerPlayernumberinteger
entityEntitynumberinteger

Returns

2 values, in this order: an array in JavaScript, multiple return values in Lua.

#ValueTypeJavaScriptLuaDescription
1okBOOLbooleanbooleanThe native’s own return value.
2p2intnumberintegeroutput

Notes

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

networkGetAssistedDamageOfEntity that ensures the entity is dead (isEntityDead)

Reference

Namespace
Network NETWORK
In the game
BOOL NETWORK_GET_ASSISTED_KILL_OF_ENTITY(Player player, Entity entity, int* p2)
Hash
0x83660B734994124D
Introduced
Game build 463 legacy numbering
Formerly
_NETWORK_GET_ASSISTED_DAMAGE_OF_DEAD_ENTITY

Open in the interactive natives reference