/tog d & ga
This commit is contained in:
@@ -240,6 +240,29 @@ namespace ReallifeGamemode.Server.Commands
|
||||
player.SendNotification("~g~[Info]~w~ Connect-Logs werden nun angezeigt.");
|
||||
}
|
||||
break;
|
||||
case "d":
|
||||
if (player.HasData("togd"))
|
||||
{
|
||||
player.ResetData("togd");
|
||||
player.SendNotification("~g~[Info]~w~ D-Chat wird nun ausgeblendet.");
|
||||
}
|
||||
else
|
||||
{
|
||||
player.SetData("togd", true);
|
||||
player.SendNotification("~g~[Info]~w~ D-Chat wird nun angezeigt.");
|
||||
}
|
||||
case "ga":
|
||||
if (player.HasData("togga"))
|
||||
{
|
||||
player.ResetData("togga");
|
||||
player.SendNotification("~g~[Info]~w~ GA-Chat wird nun ausgeblendet.");
|
||||
}
|
||||
else
|
||||
{
|
||||
player.SetData("togga", true);
|
||||
player.SendNotification("~g~[Info]~w~ GA-Chat wird nun angezeigt.");
|
||||
}
|
||||
break;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user