getEntityBoneCount
GET_ENTITY_BONE_COUNT0xB328DCC3A3AA401BThe 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.
getEntityBoneCount(entity: Entity): numbergetEntityBoneCount(entity: Entity): integerUsage
JavaScript
const result = getEntityBoneCount(entity);Lua
local result = getEntityBoneCount(entity)Parameters
| Parameter | Type | JavaScript | Lua |
|---|---|---|---|
entity | Entity | number | integer |
Returns
int JavaScript number, Lua integerReference
- 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