/tog nochmal angepasst
This commit is contained in:
@@ -187,12 +187,12 @@ namespace ReallifeGamemode.Server.Commands
|
||||
if (player.HasData("togip"))
|
||||
{
|
||||
player.ResetData("togip");
|
||||
player.SendNotification("Die IP-Adressen sind nun ~r~deaktiviert~s~.");
|
||||
player.SendNotification("IP-Adressen ~r~deaktiviert");
|
||||
}
|
||||
else
|
||||
{
|
||||
player.SetData("togip", true);
|
||||
player.SendNotification("Die IP-Adressen sind nun ~g~aktiviert~s~.");
|
||||
player.SendNotification("IP-Adressen ~g~aktiviert");
|
||||
}
|
||||
break;
|
||||
|
||||
@@ -200,12 +200,12 @@ namespace ReallifeGamemode.Server.Commands
|
||||
if (player.HasData("togdeath"))
|
||||
{
|
||||
player.ResetData("togdeath");
|
||||
player.SendNotification("Du hast die Todesbenachrichtigungen ~r~deaktiviert~s~.");
|
||||
player.SendNotification("Todesbenachrichtigungen ~r~deaktiviert");
|
||||
}
|
||||
else
|
||||
{
|
||||
player.SetData("togdeath", true);
|
||||
player.SendNotification("Du hast die Todesbenachrichtigungen ~g~aktiviert~s~.");
|
||||
player.SendNotification("Todesbenachrichtigungen ~g~aktiviert");
|
||||
}
|
||||
break;
|
||||
|
||||
@@ -213,12 +213,12 @@ namespace ReallifeGamemode.Server.Commands
|
||||
if (player.HasData("toglc"))
|
||||
{
|
||||
player.ResetData("toglc");
|
||||
player.SendNotification("Du hast den /lc-Chat ~r~deaktiviert~s~.");
|
||||
player.SendNotification("/lc-Chat ~r~deaktiviert");
|
||||
}
|
||||
else
|
||||
{
|
||||
player.SetData("toglc", true);
|
||||
player.SendNotification("Du hast den /lc-Chat ~g~aktiviert~s~.");
|
||||
player.SendNotification("/lc-Chat ~g~aktiviert");
|
||||
}
|
||||
break;
|
||||
|
||||
@@ -226,36 +226,36 @@ namespace ReallifeGamemode.Server.Commands
|
||||
if (player.HasData("togconnect"))
|
||||
{
|
||||
player.ResetData("togconnect");
|
||||
player.SendNotification("Du hast die Connect-Nachrichten ~r~deaktiviert~s~.");
|
||||
player.SendNotification("Connect-Nachrichten ~r~deaktiviert");
|
||||
}
|
||||
else
|
||||
{
|
||||
player.SetData("togconnect", true);
|
||||
player.SendNotification("Du hast die Connect-Nachrichten ~g~aktiviert~s~.");
|
||||
player.SendNotification("Connect-Nachrichten ~g~aktiviert");
|
||||
}
|
||||
break;
|
||||
case "d":
|
||||
if (player.HasData("togd"))
|
||||
{
|
||||
player.ResetData("togd");
|
||||
player.SendNotification("Du hast den /d-Chat ~r~deaktiviert~s~.");
|
||||
player.SendNotification("/d-Chat ~r~deaktiviert");
|
||||
}
|
||||
else
|
||||
{
|
||||
player.SetData("togd", true);
|
||||
player.SendNotification("Du hast den /d-Chat ~g~aktiviert~s~.");
|
||||
player.SendNotification("/d-Chat ~g~aktiviert");
|
||||
}
|
||||
break;
|
||||
case "ga":
|
||||
if (player.HasData("togga"))
|
||||
{
|
||||
player.ResetData("togga");
|
||||
player.SendNotification("Du hast den /ga-Chat ~r~deaktiviert~s~.");
|
||||
player.SendNotification("/ga-Chat ~r~deaktiviert");
|
||||
}
|
||||
else
|
||||
{
|
||||
player.SetData("togga", true);
|
||||
player.SendNotification("Du hast den /ga-Chat ~g~aktiviert~s~.");
|
||||
player.SendNotification("/ga-Chat ~g~aktiviert");
|
||||
}
|
||||
break;
|
||||
case "all":
|
||||
@@ -270,7 +270,7 @@ namespace ReallifeGamemode.Server.Commands
|
||||
player.SetData("togga", true);
|
||||
player.SetData("togall", true);
|
||||
|
||||
player.SendNotification("Du hast alle Benachrichtigungen ~g~aktiviert~s~.");
|
||||
player.SendNotification("Du hast alle Benachrichtigungen ~g~aktiviert");
|
||||
}
|
||||
else
|
||||
{
|
||||
@@ -283,7 +283,7 @@ namespace ReallifeGamemode.Server.Commands
|
||||
player.ResetData("togga");
|
||||
player.ResetData("togall");
|
||||
|
||||
player.SendNotification("Du hast alle Benachrichtigungen ~r~deaktiviert~s~.");
|
||||
player.SendNotification("Du hast alle Benachrichtigungen ~r~deaktiviert");
|
||||
}
|
||||
break;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user