| Property | Value |
|---|---|
| Native Name | _ADD_EXPLOSION_WITH_DAMAGE_CAUSER |
| Hash | 0xB7DF150605EEDC9B |
| Return Type | void |
| Build | 1207 |
| API Set | client |
| Parameters | entity (Entity), p1 (int), x (float), y (float), z (float), explosionType (int), damageScale (float), isAudible (BOOL), isInvisible (BOOL), cameraShake (float) |
Description: Add explosion with and assign an entity as damage causer. explosionType: https://github.com/femga/rdr3_discoveries/blob/master/graphics/explosions/README.md
Usage
Lua (Direct):
AddExplosionWithDamageCauser(entity, p1, x, y, z, explosionType, damageScale, isAudible, isInvisible, cameraShake)
Lua (Hash):
Citizen.InvokeNative(0xB7DF150605EEDC9B, entity, p1, x, y, z, explosionType, damageScale, isAudible, isInvisible, cameraShake)