_IS_ENTITY_BEING_DAMAGED_BY_FIRE
Returns true if entity is currently taking fire damage.
Signature
BOOL _IS_ENTITY_BEING_DAMAGED_BY_FIRE(Entity entity); // 0xA4454592DCF7C992 b1207Parameters
| # | Name | Type |
|---|---|---|
| 1 | entity | Entity |
Facts
| Name | _IS_ENTITY_BEING_DAMAGED_BY_FIRE |
|---|---|
| Hash | 0xA4454592DCF7C992 |
| Namespace | |
| Returns | BOOL |
| Game build | 1207 |
Examples
Calls by hash work in every RedM runtime. Replace the placeholder arguments with your own values.
local result = Citizen.InvokeNative(0xA4454592DCF7C992, -- _IS_ENTITY_BEING_DAMAGED_BY_FIRE
PlayerPedId() -- Entity entity
)
if result then
-- ...
endconst result = Citizen.invokeNative("0xA4454592DCF7C992", // _IS_ENTITY_BEING_DAMAGED_BY_FIRE
PlayerPedId(), // Entity entity
Citizen.returnResultAnyway()
);
if (result) {
// ...
}bool result = Function.Call<bool>((Hash)0xA4454592DCF7C992, // _IS_ENTITY_BEING_DAMAGED_BY_FIRE
API.PlayerPedId() // Entity entity
);Related FIRE natives
Facts compiled from community research (alloc8or/rdr3-nativedb-data, femga/rdr3_discoveries); descriptions and examples by The Lab.