admin unjail

This commit is contained in:
2019-09-04 23:51:58 +02:00
parent cae5ceb2d1
commit f80eed6a68
2 changed files with 36 additions and 2 deletions

View File

@@ -16,6 +16,7 @@ using ReallifeGamemode.Server.Factions.Medic;
using ReallifeGamemode.Server.Models;
using ReallifeGamemode.Server.Job;
using ReallifeGamemode.Server.Finance;
using ReallifeGamemode.Server.Wanted;
/**
* @overview Life of German Reallife - Admin Commands (Admin.cs)
@@ -352,6 +353,16 @@ namespace ReallifeGamemode.Server.Commands
#endregion
#region ALevel1
[Command("aunjail", "~m~Benutzung: ~s~/aunjail [Spieler]", GreedyArg = true)]
public void CmdAdminAunjai(Client player, string targetname)
{
Client target = ClientService.GetClientByNameOrId(targetname);
if (target == null)
return;
ReallifeGamemode.Server.Wanted.Jail.Release_Jail_Admin(player, target);
}
[Command("a", "~m~Benutzung: ~s~/a [Nachricht]", GreedyArg = true)]
public void CmdAdminA(Client player, string message)
{