This repository has been archived by the owner on Feb 21, 2023. It is now read-only.
-
-
Notifications
You must be signed in to change notification settings - Fork 30
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
9c0c1f4
commit 072ed2a
Showing
3 changed files
with
16 additions
and
12 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,15 +1,21 @@ | ||
using System; | ||
using Smod2; | ||
using Smod2; | ||
using Smod2.API; | ||
using Smod2.Events; | ||
using Smod2.Game; | ||
|
||
namespace Smod.TestPlugin | ||
{ | ||
class RoundStartEventHandler: IEventRoundStart | ||
class RoundStartHandler : IEventRoundStart | ||
{ | ||
private Plugin plugin; | ||
|
||
public RoundStartHandler(Plugin plugin) | ||
{ | ||
this.plugin = plugin; | ||
} | ||
|
||
public void OnRoundStart(Server server) | ||
{ | ||
server.MaxPlayers = 2 ^ 32; | ||
plugin.Info("ROUND START EVENT CALLER"); | ||
} | ||
} | ||
} |