StartWarhead

Raise

This event is raised when the Player presses the button in the Outside Warhead Station

It's only called when the Button is pressed not when the Warhead is started in any other way like plugins/ remote Admin

Usage

Can be used to prevent that a player starts the Warhead

StartWarheadEvent

EventArgsTypeDescription

Player

SynapsePlayer

The Player who pressed the Warhead Button

Allow

bool

If the Player is allowed to press the Button

public class StartWarheadEvent : PlayerInteractEvent
{
    public StartWarheadEvent(SynapsePlayer player, bool allow) : base(player, allow) { }
}

Last updated