EntityClient

doesEntityHaveDrawable

DOES_ENTITY_HAVE_DRAWABLE0x060D6E96F8B8E48D

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

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

Usage

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

Parameters

ParameterTypeJavaScriptLua
entityEntitynumberinteger

Returns

BOOL JavaScript boolean, Lua boolean

Reference

Namespace
Entity ENTITY
In the game
BOOL DOES_ENTITY_HAVE_DRAWABLE(Entity entity)
Hash
0x060D6E96F8B8E48D

Open in the interactive natives reference