CreateOwnedExplosion

From GTA Network Wiki
Jump to: navigation, search

CreateOwnedExplosion
Server-Side Function

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

Creates a player-owned explosion

Syntax

void NAPI.Explosion.CreateOwnedExplosion(Client owner, ExplosionType explosionType, Vector3 position, float damageScale = 1f, uint dimension = NAPI.GlobalDimension);

Required Arguments

  • owner: parameter input should be in Client type.
  • explosionType: parameter input should be in ExplosionType type.
  • position: the position of the explosion. Parameter input should be in Vector3 type.

Optional Arguments

  • damageScale: input should be in float type.
  • dimension: dimension of the explosion. Input type should be in uint type.

Usage example(s)

//

Changelog

Version Description
1.0 Release.

References