mirror of
https://github.com/alliedmodders/amxmodx.git
synced 2024-12-25 14:25:38 +03:00
41 lines
591 B
C#
Executable File
41 lines
591 B
C#
Executable File
using System;
|
|
|
|
namespace AMXXRelease
|
|
{
|
|
//Natural Selection
|
|
public class ModNs : AMod
|
|
{
|
|
public ModNs()
|
|
{
|
|
AddModules();
|
|
AddPlugins();
|
|
}
|
|
|
|
public override sealed string GetName()
|
|
{
|
|
return "ns";
|
|
}
|
|
|
|
private void AddPlugins()
|
|
{
|
|
AddPlugin("mapchooser");
|
|
AddPlugin("nextmap");
|
|
AddPlugin("timeleft");
|
|
AddPlugin("idlekicker");
|
|
AddPlugin("nscommands");
|
|
AddPlugin("unstuck");
|
|
}
|
|
|
|
private void AddModules()
|
|
{
|
|
Module ns = new Module();
|
|
|
|
ns.sourcedir = "dlls\\ns\\ns";
|
|
ns.projname = "ns_amxx";
|
|
ns.vcproj = "ns";
|
|
|
|
m_Modules.Add(ns);
|
|
}
|
|
}
|
|
}
|