edit weapondamage carbinrifle & other unjail position & fix tog command

This commit is contained in:
michael.reiswich
2021-04-01 19:24:24 +02:00
parent 42b7be7770
commit 165e871476
5 changed files with 8 additions and 8 deletions

View File

@@ -236,7 +236,7 @@ namespace ReallifeGamemode.Server.Commands
case "ip":
if(player.HasData("togip"))
{
player.SetData("togip", false);
player.ResetData("togip");
player.SendNotification("~g~[Info]~w~ Ip´s werden nun ausgeblendet.");
}
else
@@ -249,7 +249,7 @@ namespace ReallifeGamemode.Server.Commands
case "deathlogs":
if (player.HasData("togdeath"))
{
player.SetData("togdeath", false);
player.ResetData("togdeath");
player.SendNotification("~g~[Info]~w~ Deathlogs werden nun ausgeblendet.");
}
else
@@ -261,7 +261,7 @@ namespace ReallifeGamemode.Server.Commands
case "lc":
if (player.HasData("toglc"))
{
player.SetData("toglc", false);
player.ResetData("toglc");
player.SendNotification("~g~[Info]~w~ Leaderchat wird nun ausgeblendet.");
}
else

View File

@@ -475,7 +475,7 @@ namespace ReallifeGamemode.Server.Commands
#endregion Staatsfraktionen (LSPD / FBI) Commands
#region Weazel News
[Command("eventchat", "~m~Benutzung: ~s~/eventchat [Typ = ~g~on~s~, ~g~off~s~", GreedyArg = true)]
[Command("eventchat", "~m~Benutzung: ~s~/eventchat [Typ = ~g~on~s~, ~g~off~s~]", GreedyArg = true)]
public void CmdFactionNREventchat(Player player, string onoff)
{

View File

@@ -88,7 +88,7 @@ namespace ReallifeGamemode.Server.Commands
player.PlayAnimation("mp_am_hold_up", "handsup_base", (int)(AnimationFlags.Loop | AnimationFlags.OnlyAnimateUpperBody | AnimationFlags.AllowPlayerControl | AnimationFlags.Cancellable));
}
[Command("event", "~m~Benutzung: ~s~/eventchat [Nachricht]", GreedyArg = true)]
[Command("event", "~m~Benutzung: ~s~/event [Nachricht]", GreedyArg = true)]
public void CmdFactionNREventchat(Player player, string msg)
{
if (player.HasData("eventAllowed") == false)