teleport to waypoint command fick die z coordinate
This commit is contained in:
@@ -550,6 +550,17 @@ namespace ReallifeGamemode.Server.Commands
|
||||
#endregion Support
|
||||
|
||||
#region Admin
|
||||
[Command("towwaypoint", "~m~Benutzung: ~s~/towwaypoint", Alias = "tow")]
|
||||
public void CmdAdminToWaypoint(Player player)
|
||||
{
|
||||
if (!player.GetUser()?.IsAdmin(AdminLevel.ADMIN) ?? true)
|
||||
{
|
||||
ChatService.NotAuthorized(player);
|
||||
return;
|
||||
}
|
||||
|
||||
player.TriggerEvent("tpToWaypoint");
|
||||
}
|
||||
|
||||
[Command("remspawnschutz", "~m~Benutzung: ~s~/rmss [Target]", Alias = "rmss")]
|
||||
public void CmdAdminRmss(Player player, String targetname)
|
||||
|
||||
Reference in New Issue
Block a user