57 lines
1.4 KiB
C#
57 lines
1.4 KiB
C#
using System;
|
|
using System.Collections.Generic;
|
|
using System.Text;
|
|
using System.Collections;
|
|
using GTANetworkAPI;
|
|
|
|
namespace ReallifeGamemode.Server.Util
|
|
{
|
|
public static class GlobalHelper
|
|
{
|
|
public static List<Client> DutyAdmins = new List<Client>();
|
|
|
|
public static Dictionary<string, string> CustomJoinMessages = new Dictionary<string, string>
|
|
{
|
|
{ "murcel1337", "Miesester Projektleiter ist da! (aviate)" },
|
|
{ ".MichaPlays.", "Der Echte Ballas Leader ist online (MichaPlays)" },
|
|
{ "balboistderbeste", "Hurra! Hurra! Der Balbo ist jetzt da!" },
|
|
{ "paaqo1337", "Picasso is back!" }
|
|
};
|
|
|
|
public static string AdminLevelToString(AdminLevel lvl)
|
|
{
|
|
string ret = "";
|
|
|
|
if (lvl == AdminLevel.TEAM)
|
|
{
|
|
ret = "Teammitglied";
|
|
}
|
|
else if (lvl == AdminLevel.SUPPORTER)
|
|
{
|
|
ret = "Supporter";
|
|
}
|
|
else if (lvl == AdminLevel.ADMIN)
|
|
{
|
|
ret = "Admin Level 1";
|
|
}
|
|
else if (lvl == AdminLevel.ADMIN2)
|
|
{
|
|
ret = "Admin Level 2";
|
|
}
|
|
else if (lvl == AdminLevel.ADMIN3)
|
|
{
|
|
ret = "Admin Level 3";
|
|
}
|
|
else if (lvl == AdminLevel.HEADADMIN)
|
|
{
|
|
ret = "Admin Level 1337";
|
|
}
|
|
else if (lvl == AdminLevel.PROJEKTLEITUNG)
|
|
{
|
|
ret = "Admin Level 1338";
|
|
}
|
|
return ret;
|
|
}
|
|
}
|
|
}
|