Add Rubbellos without function, add message /giveitem, add UseItem variable

This commit is contained in:
CroniX
2020-06-20 21:01:26 +02:00
parent ab2f247b2c
commit 13cf942b76
3 changed files with 41 additions and 0 deletions

View File

@@ -1922,6 +1922,7 @@ namespace ReallifeGamemode.Server.Commands
{
invWeight += uItem.Amount * InventoryManager.GetItemById(uItem.ItemId).Gewicht;
}
ChatService.SendMessage(player, "~b~[ADMIN]~s~ Du hast " + target.Name + " ~g~" + amount + "~s~ mal das Item gegeben.");
}
if (invWeight + (amount * InventoryManager.GetItemById(itemId).Gewicht) > 40000)