Yes, to recharge was as it should be you need to edit the amount of ammo still in the client - recharging becomes possible when a client can get it and the server gives good
If you make changes , they will not be visible from the players - at least what you will get is hate the players and the issues why I have never crafted
If you specify
Util.GetUtil().SetInstanceField(typeof(IInventoryItem), e.Item.RInventoryItem.condition, "condition", 20);
It does not change the condition of the subject
Not working
void Hooks_OnItemAdded(InventoryModEvent e)
{
if (e.Inventory.name == "BoxLoot(Clone)")
{
Server.GetServer().Broadcast("add");
Util.GetUtil().SetInstanceField(typeof(IInventoryItem), e.Item.RInventoryItem.condition...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.