changes on Notfallkit & Rubbellos

This commit is contained in:
michael.reiswich
2021-05-26 00:16:38 +02:00
parent 2aadef55dd
commit d9ecae1d1d
3 changed files with 4 additions and 4 deletions

View File

@@ -521,7 +521,7 @@ namespace ReallifeGamemode.Server.Events
if (oStaatsfrak > 2) if (oStaatsfrak > 2)
{ {
player.SendNotification("~y~[Info]~w~ Es sind genügend Beamte online!"); player.SendNotification("~y~[Info]~w~ Es sind genügend Beamte im Dienst!");
return; return;
} }
client.SetJailTime(false, dbcontext); client.SetJailTime(false, dbcontext);

View File

@@ -1,4 +1,4 @@
using GTANetworkAPI; using GTANetworkAPI;
using ReallifeGamemode.Database.Entities; using ReallifeGamemode.Database.Entities;
using System.Linq; using System.Linq;
using ReallifeGamemode.Server.Extensions; using ReallifeGamemode.Server.Extensions;
@@ -17,7 +17,7 @@ namespace ReallifeGamemode.Server.Inventory.Items
public override int Gewicht => 1000; public override int Gewicht => 1000;
public override string Einheit => "g"; public override string Einheit => "g";
public override uint Object => 875075437; public override uint Object => 875075437;
public override int Price => 500; public override int Price => 2500;
public override bool Use(UserItem uItem) public override bool Use(UserItem uItem)
{ {

View File

@@ -29,7 +29,7 @@ namespace ReallifeGamemode.Server.Inventory.Items
return false; return false;
} }
Random random = new Random(); Random random = new Random();
int randomNumber = random.Next(1, 2); int randomNumber = random.Next(1, 4);
if (randomNumber == 1) if (randomNumber == 1)
{ {
using (var dbContext = new DatabaseContext()) using (var dbContext = new DatabaseContext())