EntityClient

doesEntityHaveSkeleton

DOES_ENTITY_HAVE_SKELETON0x764EB96874EFFDC1

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

SignatureJavaScript
doesEntityHaveSkeleton(entity: Entity): boolean
SignatureLua
doesEntityHaveSkeleton(entity: Entity): boolean

Usage

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

Parameters

ParameterTypeJavaScriptLua
entityEntitynumberinteger

Returns

BOOL JavaScript boolean, Lua boolean

Reference

Namespace
Entity ENTITY
In the game
BOOL DOES_ENTITY_HAVE_SKELETON(Entity entity)
Hash
0x764EB96874EFFDC1
Introduced
Game build 2699 legacy numbering
Formerly
_DOES_ENTITY_HAVE_SKELETON_DATA

Open in the interactive natives reference