GraphicsClient

isDecalAlive

IS_DECAL_ALIVE0xC694D74949CAFD0C

The GTA V native IS_DECAL_ALIVE of the GRAPHICS namespace, as LS:MP client scripts call it: the global function isDecalAlive, in JavaScript and in Lua.

SignatureJavaScript
isDecalAlive(decal: number): boolean
SignatureLua
isDecalAlive(decal: integer): boolean

Usage

JavaScript
const result = isDecalAlive(decal);
Lua
local result = isDecalAlive(decal)

Parameters

ParameterTypeJavaScriptLua
decalintnumberinteger

Returns

BOOL JavaScript boolean, Lua boolean

Reference

Namespace
Graphics GRAPHICS
In the game
BOOL IS_DECAL_ALIVE(int decal)
Hash
0xC694D74949CAFD0C

Open in the interactive natives reference