The Lab
FIRE native

ADD_EXPLOSION

returns void8 paramsbuild 1207

Creates an explosion of explosionType at the given coordinates with the given damage scale, audibility, visibility and camera shake.

Signature

C
void ADD_EXPLOSION(float x, float y, float z, int explosionType, float damageScale, BOOL isAudible, BOOL isInvisible, float cameraShake); // 0x7D6F58F69DA92530 b1207

Parameters

#NameType
1xfloat
2yfloat
3zfloat
4explosionTypeint
5damageScalefloat
6isAudibleBOOL
7isInvisibleBOOL
8cameraShakefloat

Facts

Facts about ADD_EXPLOSION
Name
ADD_EXPLOSION
Hash
0x7D6F58F69DA92530
Namespace
Returns
void
Game build
1207

Examples

Calls by hash work in every RedM runtime. Replace the placeholder arguments with your own values.

Lua
Citizen.InvokeNative(0x7D6F58F69DA92530, -- ADD_EXPLOSION
  0.0, -- float x
  0.0, -- float y
  0.0, -- float z
  0, -- int explosionType
  0.0, -- float damageScale
  false, -- BOOL isAudible
  false, -- BOOL isInvisible
  0.0 -- float cameraShake
)
JavaScript
// Whole JS numbers are sent as integers: pass floats like 1.5 (or n + 0.0000001), never 1.
Citizen.invokeNative("0x7D6F58F69DA92530", // ADD_EXPLOSION
  0.0, // float x
  0.0, // float y
  0.0, // float z
  0, // int explosionType
  0.0, // float damageScale
  false, // BOOL isAudible
  false, // BOOL isInvisible
  0.0 // float cameraShake
);
C#
Function.Call((Hash)0x7D6F58F69DA92530, // ADD_EXPLOSION
  0.0f, // float x
  0.0f, // float y
  0.0f, // float z
  0, // int explosionType
  0.0f, // float damageScale
  false, // BOOL isAudible
  false, // BOOL isInvisible
  0.0f // float cameraShake
);
All FIRE natives

Facts compiled from community research (alloc8or/rdr3-nativedb-data, femga/rdr3_discoveries); descriptions and examples by The Lab.