RedM Natives

IS_DECAL_ALIVE

Hash0x3E4B4E5CF5D3EEB5
Runtime nameIsDecalAlive
NamespaceGRAPHICS
SideClient
NameOfficial
Docs
Since build1207
GTA V hash0xC694D74949CAFD0C

Signature

BOOL IS_DECAL_ALIVE(int decal);

Parameters

NameTypeDescription
decalint—

Returns BOOL

Usage

Lua
local retval = IsDecalAlive(decal)

-- always works, by hash
local retval = Citizen.InvokeNative(0x3E4B4E5CF5D3EEB5, decal, Citizen.ReturnResultAnyway())
JavaScript and C#
JavaScript
const retval = IsDecalAlive(decal);

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

Sources

alloc8or RDR3 NativeDB

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