CreateExplosion

From GTA Network Wiki
Jump to: navigation, search

CreateExplosion
Server-Side Function

utilities-terminal.png Server-Side csharp.png C#

This function creates a explosion.

Syntax

void NAPI.Explosion.CreateExplosion(ExplosionType explosionType, Vector3 position, float damageScale = 1, uint dimension = NAPI.GlobalDimension);

Required Arguments

  • explosionType: parameter input should be in ExplosionType type (See Explosions).
  • position: parameter input should be in Vector3 type.

Optional Arguments

  • damageScale: parameter input should be in float type.
  • dimension: parameter input should be in uint type.

Usage example(s)

Example Description

NAPI.Explosion.CreateExplosion(explosionType, position, damageScale, dimension);

Changelog

Version Description
1.0 Release.

References