Change Message
This commit is contained in:
@@ -15,7 +15,6 @@ using ReallifeGamemode.Server.Util;
|
|||||||
using ReallifeGamemode.Services;
|
using ReallifeGamemode.Services;
|
||||||
using ReallifeGamemode.Server.Types;
|
using ReallifeGamemode.Server.Types;
|
||||||
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @overview Life of German Reallife - Managers InventoryManager (InventoryManager.cs)
|
* @overview Life of German Reallife - Managers InventoryManager (InventoryManager.cs)
|
||||||
* @author hydrant, VegaZ, balbo
|
* @author hydrant, VegaZ, balbo
|
||||||
@@ -35,6 +34,7 @@ namespace ReallifeGamemode.Server.Managers
|
|||||||
public static Dictionary<Player, List<InventoryItem>> backpackItems { get; set; } = new Dictionary<Player, List<InventoryItem>>();
|
public static Dictionary<Player, List<InventoryItem>> backpackItems { get; set; } = new Dictionary<Player, List<InventoryItem>>();
|
||||||
public static Dictionary<Player, List<InventoryItem>> vehicleItems { get; set; } = new Dictionary<Player, List<InventoryItem>>();
|
public static Dictionary<Player, List<InventoryItem>> vehicleItems { get; set; } = new Dictionary<Player, List<InventoryItem>>();
|
||||||
private static Timer aTimer;
|
private static Timer aTimer;
|
||||||
|
|
||||||
public class InventoryItem
|
public class InventoryItem
|
||||||
{
|
{
|
||||||
public string Name;
|
public string Name;
|
||||||
@@ -94,7 +94,6 @@ namespace ReallifeGamemode.Server.Managers
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
List<VehicleItem> itemList = GetVehicleItems(veh);
|
List<VehicleItem> itemList = GetVehicleItems(veh);
|
||||||
|
|
||||||
if (itemList == null)
|
if (itemList == null)
|
||||||
@@ -517,7 +516,7 @@ namespace ReallifeGamemode.Server.Managers
|
|||||||
case "use":
|
case "use":
|
||||||
if (iItem == null)
|
if (iItem == null)
|
||||||
{
|
{
|
||||||
player.TriggerEvent("Error", "Dieses Essen existiert nicht.");
|
player.TriggerEvent("Error", "Dieses Item existiert nicht.");
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user