Перейти к содержанию

CreateExplosion

Материал из RAGE MP Wiki Archive
Версия от 09:23, 30 ноября 2019; imported>Xabi (Created page with "Creates an explosion on a specific location. {{CSharpContainer| {{#tag:syntaxhighlight|void {{Template:CSharp_Serverside_namespace}}Explosion.CreateExplosion(ExplosionType e...")
(разн.) ← Предыдущая версия | Текущая версия (разн.) | Следующая версия → (разн.)

Creates an explosion on a specific location.


<syntaxhighlight lang="csharp">void NAPI.Explosion.CreateExplosion(ExplosionType explosionType, Vector3 position, float damageScale = 1, uint dimension NAPI..GlobalDimension);</syntaxhighlight>

Parameters

  • explosionType: parameter input should be in ExplosionType type
  • position: parameter input should be in Vector3 type
  • damageScale: optional parameter, input should be in float type
  • dimension: optional parameter, input should be in uint type


Example

<syntaxhighlight lang="csharp"> // Code here... </syntaxhighlight>