forked from joker-119/SCPSLGamemodes
-
Notifications
You must be signed in to change notification settings - Fork 0
/
GamemodeTemplate.cs
37 lines (34 loc) · 865 Bytes
/
GamemodeTemplate.cs
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
using Smod2;
using Smod2.API;
using Smod2.Events;
using Smod2.EventHandlers;
using Smod2.API;
namespace Gamemode
{
[PluginDetails(
author = "Mozeman",
name = "Gamemode Name",
description = "Gamemode Template",
id = "moze.gamemode.name",
version = "1.0",
SmodMajor = 3,
SmodMinor = 2,
SmodRevision = 2
)]
public class Gamemode : Plugin
{
public override void OnDisable()
{
}
public override void OnEnable()
{
this.Info("Gamemode has loaded");
}
public override void Register()
{
// Register Events
// this.AddEventHandlers(new RoundStartHandler(this), Priority.Highest);
GamemodeManager.GamemodeManager.RegisterMode(this, "01111111111111111111");
}
}
}