EntityClient

getEntityBoneCount

GET_ENTITY_BONE_COUNT0xB328DCC3A3AA401B

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

SignatureJavaScript
getEntityBoneCount(entity: Entity): number
SignatureLua
getEntityBoneCount(entity: Entity): integer

Usage

JavaScript
const result = getEntityBoneCount(entity);
Lua
local result = getEntityBoneCount(entity)

Parameters

ParameterTypeJavaScriptLua
entityEntitynumberinteger

Returns

int JavaScript number, Lua integer

Reference

Namespace
Entity ENTITY
In the game
int GET_ENTITY_BONE_COUNT(Entity entity)
Hash
0xB328DCC3A3AA401B
Introduced
Game build 791 legacy numbering
Formerly
_GET_ENTITY_BONE_COUNT

Open in the interactive natives reference