EntityClient

doesEntityHaveAnimDirector

DOES_ENTITY_HAVE_ANIM_DIRECTOR0x2158E81A6AF65EA9

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

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

Usage

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

Parameters

ParameterTypeJavaScriptLua
entityEntitynumberinteger

Returns

BOOL JavaScript boolean, Lua boolean

Reference

Namespace
Entity ENTITY
In the game
BOOL DOES_ENTITY_HAVE_ANIM_DIRECTOR(Entity entity)
Hash
0x2158E81A6AF65EA9
Introduced
Game build 2699 legacy numbering
Formerly
_DOES_ENTITY_HAVE_ANIM_DIRECTOR

Open in the interactive natives reference