admin changes
This commit is contained in:
@@ -139,7 +139,7 @@ namespace ReallifeGamemode.Server.Commands
|
||||
if (!GlobalHelper.DutyAdmins.Contains(player))
|
||||
{
|
||||
GlobalHelper.DutyAdmins.Add(player);
|
||||
ChatService.Broadcast("~g~** " + player.Name + " hat sich zum Support angemeldet");
|
||||
ChatService.Broadcast("~r~** " + player.Name + " hat sich zum Support angemeldet");
|
||||
|
||||
player.TriggerEvent("toggleADutyMode", true);
|
||||
|
||||
@@ -221,6 +221,7 @@ namespace ReallifeGamemode.Server.Commands
|
||||
NAPI.Entity.SetEntityVelocity(player.Vehicle, new Vector3());
|
||||
}
|
||||
else player.Position = target.Position;
|
||||
ChatService.SendMessage(player, "~c~* Du hast dich zu " + player.Name + " teleportiert.");
|
||||
}
|
||||
|
||||
[Command("position", "~m~Benutzung: ~s~/position")]
|
||||
@@ -232,7 +233,7 @@ namespace ReallifeGamemode.Server.Commands
|
||||
return;
|
||||
}
|
||||
|
||||
ChatService.SendMessage(player, "Position: X Y Z H: " + player.Position + " " + player.Heading);
|
||||
ChatService.SendMessage(player, "Position: X Y Z: " + player.Position + " Richtung: " + player.Heading);
|
||||
}
|
||||
|
||||
[Command("gh", "~m~Benutzung: ~s~/gh [Name]")]
|
||||
@@ -258,7 +259,7 @@ namespace ReallifeGamemode.Server.Commands
|
||||
NAPI.Entity.SetEntityVelocity(target.Vehicle, new Vector3());
|
||||
}
|
||||
else target.Position = player.Position;
|
||||
ChatService.SendMessage(target, "Du wurdest von " + player.Name + " teleportiert.");
|
||||
ChatService.SendMessage(target, "~c~* Du wurdest von " + player.Name + " teleportiert.");
|
||||
}
|
||||
|
||||
[Command("aw", "~m~Benutzung: ~s~/aw [Spieler] [Nachricht]", GreedyArg = true)]
|
||||
|
||||
Reference in New Issue
Block a user