edit weapondamage carbinrifle & other unjail position & fix tog command
This commit is contained in:
@@ -32,7 +32,7 @@
|
|||||||
meelemodifier = 1;
|
meelemodifier = 1;
|
||||||
break;
|
break;
|
||||||
case 0x83BF0278: //Cabinerifle
|
case 0x83BF0278: //Cabinerifle
|
||||||
modifier = 0.25;
|
modifier = 0.2;
|
||||||
meelemodifier = 1;
|
meelemodifier = 1;
|
||||||
break;
|
break;
|
||||||
case 0x624FE830: //Compactrifle
|
case 0x624FE830: //Compactrifle
|
||||||
|
|||||||
@@ -236,7 +236,7 @@ namespace ReallifeGamemode.Server.Commands
|
|||||||
case "ip":
|
case "ip":
|
||||||
if(player.HasData("togip"))
|
if(player.HasData("togip"))
|
||||||
{
|
{
|
||||||
player.SetData("togip", false);
|
player.ResetData("togip");
|
||||||
player.SendNotification("~g~[Info]~w~ Ip´s werden nun ausgeblendet.");
|
player.SendNotification("~g~[Info]~w~ Ip´s werden nun ausgeblendet.");
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
@@ -249,7 +249,7 @@ namespace ReallifeGamemode.Server.Commands
|
|||||||
case "deathlogs":
|
case "deathlogs":
|
||||||
if (player.HasData("togdeath"))
|
if (player.HasData("togdeath"))
|
||||||
{
|
{
|
||||||
player.SetData("togdeath", false);
|
player.ResetData("togdeath");
|
||||||
player.SendNotification("~g~[Info]~w~ Deathlogs werden nun ausgeblendet.");
|
player.SendNotification("~g~[Info]~w~ Deathlogs werden nun ausgeblendet.");
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
@@ -261,7 +261,7 @@ namespace ReallifeGamemode.Server.Commands
|
|||||||
case "lc":
|
case "lc":
|
||||||
if (player.HasData("toglc"))
|
if (player.HasData("toglc"))
|
||||||
{
|
{
|
||||||
player.SetData("toglc", false);
|
player.ResetData("toglc");
|
||||||
player.SendNotification("~g~[Info]~w~ Leaderchat wird nun ausgeblendet.");
|
player.SendNotification("~g~[Info]~w~ Leaderchat wird nun ausgeblendet.");
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
|
|||||||
@@ -475,7 +475,7 @@ namespace ReallifeGamemode.Server.Commands
|
|||||||
|
|
||||||
#endregion Staatsfraktionen (LSPD / FBI) Commands
|
#endregion Staatsfraktionen (LSPD / FBI) Commands
|
||||||
#region Weazel News
|
#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)
|
public void CmdFactionNREventchat(Player player, string onoff)
|
||||||
{
|
{
|
||||||
|
|
||||||
|
|||||||
@@ -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));
|
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)
|
public void CmdFactionNREventchat(Player player, string msg)
|
||||||
{
|
{
|
||||||
if (player.HasData("eventAllowed") == false)
|
if (player.HasData("eventAllowed") == false)
|
||||||
|
|||||||
@@ -206,7 +206,7 @@ namespace ReallifeGamemode.Server.Wanted
|
|||||||
if (user.JailTime <= 0)
|
if (user.JailTime <= 0)
|
||||||
{
|
{
|
||||||
Jailtime.Remove(user.Id);
|
Jailtime.Remove(user.Id);
|
||||||
player.Position = new Vector3(461.7256, -988.6035, 24.91487);
|
player.Position = new Vector3(427.879, -984.65, 30.71);
|
||||||
player.TriggerEvent("jailTime", 0);
|
player.TriggerEvent("jailTime", 0);
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
@@ -273,7 +273,7 @@ namespace ReallifeGamemode.Server.Wanted
|
|||||||
dbContext.SaveChanges();
|
dbContext.SaveChanges();
|
||||||
}
|
}
|
||||||
target.Health = 100;
|
target.Health = 100;
|
||||||
target.Position = new Vector3(461.7256, -988.6035, 24.91487);
|
target.Position = new Vector3(427.879, -984.65, 30.71);
|
||||||
|
|
||||||
ChatService.HQMessage(" Admin " + admin.Name + " hat " + user.Name + " aus dem Knast entlassen.");
|
ChatService.HQMessage(" Admin " + admin.Name + " hat " + user.Name + " aus dem Knast entlassen.");
|
||||||
ChatService.SendMessage(target, "!{#8181E9}Admin " + admin.Name + " hat dich aus dem Knast entlassen");
|
ChatService.SendMessage(target, "!{#8181E9}Admin " + admin.Name + " hat dich aus dem Knast entlassen");
|
||||||
|
|||||||
Reference in New Issue
Block a user