CancelWarhead

Raise

This event is raised when the Warhead is canceled

Usage

Can be used to prevent that a player cancels the Warhead

Useful for Auto Nuke or similar

CancelWarheadEvent

EventArgsTypeDescription

Player

SynapsePlayer

The Player who pressed the Cancel Button or null

Allow

bool

If the Player is allowed to press the Button

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

Last updated