RedM Natives

DOES_ENTITY_HAVE_DRAWABLE

Hash0x20487F0DA9AF164A
Runtime nameDoesEntityHaveDrawable
NamespaceENTITY
SideClient
NameOfficial
Docs
Since build1207
GTA V hash0x060D6E96F8B8E48D

Signature

BOOL DOES_ENTITY_HAVE_DRAWABLE(Entity entity);

Parameters

NameTypeDescription
entityEntity—

Returns BOOL

Usage

Lua
local retval = DoesEntityHaveDrawable(entity)

-- always works, by hash
local retval = Citizen.InvokeNative(0x20487F0DA9AF164A, entity, Citizen.ReturnResultAnyway())
JavaScript and C#
JavaScript
const retval = DoesEntityHaveDrawable(entity);

// by hash
const retval = Citizen.invokeNative('0x20487F0DA9AF164A', entity, Citizen.returnResultAnyway());
C#
bool retval = Function.Call<bool>((Hash)0x20487F0DA9AF164A, entity);

Sources

alloc8or RDR3 NativeDB

Something wrong or missing? Contribute a verified note — corrections ship through pull requests.