IslandPatrol
Error while compiling: IslandPatrol.cs(133,12): error CS1525: Unexpected symbol 'void
}
[ConsoleCommand
[ConsoleCommand("forceevent")] void cmdForceEvent(ConsoleSystem.Arg arg) { var player = arg.Player(); if (player != null && !player.IsAdmin) return; StartEvent(); arg.ReplyWith("Island Patrol event has been forced to start!"); }
public class IslandPatrol : RustPlugin { [ConsoleCommand("forceevent")] void cmdForceEvent(ConsoleSystem.Arg arg) { var player = arg.Player(); if (player != null && !player.IsAdmin) return; StartEvent(); arg.ReplyWith("Island Patrol event has been forced to start!"); }