RedM Natives

_IS_EXPLOSION_IN_VOLUME

Hash0xE24822A4CFC9107A
Runtime nameIsExplosionInVolume
NamespaceFIRE
SideClient
NameCommunity guess
Docs
Since build1207

Signature

BOOL _IS_EXPLOSION_IN_VOLUME(int explosionType, Volume volume);

Parameters

NameTypeDescription
explosionTypeint—
volumeVolume—

Returns BOOL

Description

explosionType: see ADD_EXPLOSION

Usage

Lua
local retval = IsExplosionInVolume(explosionType, volume)

-- always works, by hash
local retval = Citizen.InvokeNative(0xE24822A4CFC9107A, explosionType, volume, Citizen.ReturnResultAnyway())
JavaScript and C#
JavaScript
const retval = IsExplosionInVolume(explosionType, volume);

// by hash
const retval = Citizen.invokeNative('0xE24822A4CFC9107A', explosionType, volume, Citizen.returnResultAnyway());
C#
bool retval = Function.Call<bool>((Hash)0xE24822A4CFC9107A, explosionType, volume);
  • The name is a community guess and may change. If the named call is missing in your client build, use InvokeNative with the hash — it always works.

Sources

alloc8or RDR3 NativeDB

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