quick reports togglebar?

This commit is contained in:
Fabian
2021-06-15 11:04:15 +02:00
parent c7be3e7118
commit 130960fa97
2 changed files with 14 additions and 1 deletions

View File

@@ -187,6 +187,19 @@ namespace ReallifeGamemode.Server.Commands
switch (typ.ToLower())
{
case "qr":
if (player.HasData("togqr"))
{
player.ResetData("togqr");
player.SendNotification("Quick Reports ~r~deaktiviert");
}
else
{
player.SetData("togqr", true);
player.SendNotification("Quick Reports ~g~aktiviert");
}
break;
case "ip":
if (player.HasData("togip"))
{