changes on Notfallkit & Rubbellos
This commit is contained in:
@@ -521,7 +521,7 @@ namespace ReallifeGamemode.Server.Events
|
||||
|
||||
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;
|
||||
}
|
||||
client.SetJailTime(false, dbcontext);
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
using GTANetworkAPI;
|
||||
using GTANetworkAPI;
|
||||
using ReallifeGamemode.Database.Entities;
|
||||
using System.Linq;
|
||||
using ReallifeGamemode.Server.Extensions;
|
||||
@@ -17,7 +17,7 @@ namespace ReallifeGamemode.Server.Inventory.Items
|
||||
public override int Gewicht => 1000;
|
||||
public override string Einheit => "g";
|
||||
public override uint Object => 875075437;
|
||||
public override int Price => 500;
|
||||
public override int Price => 2500;
|
||||
|
||||
public override bool Use(UserItem uItem)
|
||||
{
|
||||
|
||||
@@ -29,7 +29,7 @@ namespace ReallifeGamemode.Server.Inventory.Items
|
||||
return false;
|
||||
}
|
||||
Random random = new Random();
|
||||
int randomNumber = random.Next(1, 2);
|
||||
int randomNumber = random.Next(1, 4);
|
||||
if (randomNumber == 1)
|
||||
{
|
||||
using (var dbContext = new DatabaseContext())
|
||||
|
||||
Reference in New Issue
Block a user