FireClient

isEntityOnFire

IS_ENTITY_ON_FIRE0x28D3FED7190D3A0B

The GTA V native IS_ENTITY_ON_FIRE of the FIRE namespace, as LS:MP client scripts call it: the global function isEntityOnFire, in JavaScript and in Lua.

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

Usage

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

Parameters

ParameterTypeJavaScriptLua
entityEntitynumberinteger

Returns

BOOL JavaScript boolean, Lua boolean

Reference

Namespace
Fire FIRE
In the game
BOOL IS_ENTITY_ON_FIRE(Entity entity)
Hash
0x28D3FED7190D3A0B

Open in the interactive natives reference