Table of Contents

Class SpawningTeamVehicleEventArgs

Namespace
Exiled.Events.EventArgs.Map
Assembly
Exiled.Events.dll

Contains all information before the server spawns a team's respawn vehicle.

public class SpawningTeamVehicleEventArgs : IDeniableEvent, IExiledEvent
Inheritance
SpawningTeamVehicleEventArgs
Implements
Inherited Members
Extension Methods

Constructors

SpawningTeamVehicleEventArgs(SpawnableWaveBase, bool)

Initializes a new instance of the SpawningTeamVehicleEventArgs class.

public SpawningTeamVehicleEventArgs(SpawnableWaveBase team, bool isAllowed = true)

Parameters

team SpawnableWaveBase

The team who the vehicle belongs to.

isAllowed bool

Properties

IsAllowed

Gets or sets a value indicating whether the vehicle can be spawned.

public bool IsAllowed { get; set; }

Property Value

bool

Team

Gets or sets which vehicle should spawn.

public SpawnableWaveBase Team { get; set; }

Property Value

SpawnableWaveBase