admin unjail
This commit is contained in:
@@ -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)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user