NetworkClient

networkHasBoneBeenHitByKiller

NETWORK_HAS_BONE_BEEN_HIT_BY_KILLER0x2E0BF682CC778D49

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

SignatureJavaScript
networkHasBoneBeenHitByKiller(boneIndex: number): boolean
SignatureLua
networkHasBoneBeenHitByKiller(boneIndex: integer): boolean

Usage

JavaScript
const result = networkHasBoneBeenHitByKiller(boneIndex);
Lua
local result = networkHasBoneBeenHitByKiller(boneIndex)

Parameters

ParameterTypeJavaScriptLua
boneIndexintnumberinteger

Returns

BOOL JavaScript boolean, Lua boolean

Reference

Namespace
Network NETWORK
In the game
BOOL NETWORK_HAS_BONE_BEEN_HIT_BY_KILLER(int boneIndex)
Hash
0x2E0BF682CC778D49

Open in the interactive natives reference