Fire::addExplosion

From RAGE Multiplayer Wiki
Jump to navigation Jump to search

Creates an explosion at given coords. This function is missing last argument, so you cant create explosion with damage.

Syntax

mp.game.fire.addExplosion(x, y, z, explosionType, damageScale, isAudible, isInvisible, cameraShake);

Required Arguments

  • x: float
  • y: float
  • z: float
  • explosionType: int
  • damageScale: float
  • isAudible: Boolean (Trigger explosion sound)
  • isInvisible: Boolean (Trigger visibility)
  • cameraShake: float

Return value

  • Undefined

Example

Client-Side

See also

Template:Fire s function c