Native referenceRedM

IS_EXPLOSION_IN_SPHERE

0xD62DD846D82CBB90 FIRE
FUNCTION SIGNATURE
BOOL IS_EXPLOSION_IN_SPHERE(`explosionType` (int), `x` (float), `y` (float), `z` (float), `radius` (float));

Description: explosionType: see ADD_EXPLOSION

Property Value
Native Name IS_EXPLOSION_IN_SPHERE
Hash 0xD62DD846D82CBB90
Return Type BOOL
Build 1207
Parameters explosionType (int), x (float), y (float), z (float), radius (float)

Parameters

  • explosionType (int)
  • x (float)
  • y (float)
  • z (float)
  • radius (float)

Usage

Lua (Direct):

local result = IsExplosionInSphere(explosionType, x, y, z, radius)

Lua (Hash):

local result = Citizen.InvokeNative(0xD62DD846D82CBB90, explosionType, x, y, z, radius)

Back to FIRE