The given key '100375' was not present in the dictionary.
13: 18: 11.419 | Info | Houses.HouseManager | callback_housebuy Exception: System.Collections.Generic.KeyNotFoundException: The given key '100375' was not present in the dictionary.
at System.Collections.Concurrent.ConcurrentDictionary`2.ThrowKeyNotFoundException (Object key)
at System.Collections.Concurrent.ConcurrentDictionary`2.get_Item (TKey key)
at NeptuneEvo.Houses.HouseManager.OnHouseInfoAction (ExtPlayer player, String action) in C: \ Users \ Admin \ Desktop \ redano_rp \ dotnet \ resources \ NeptuneEvo \ Houses \ HouseManager.cs8: line
Line: 1458
var houseBalance = MoneySystem.Bank.Accounts [house.BankID];
There is already to take money but dont work
var houseBalance = MoneySystem.Bank.Accounts [house.BankID];
houseBalance.Balance = Convert.ToInt32 (house.Price / 100f * HouseManager.HouseTax) * 2;
houseBalance.IsSave = true;
MoneySystem.Wallet.Change (player, -house.Price);
13: 18: 11.419 | Info | Houses.HouseManager | callback_housebuy Exception: System.Collections.Generic.KeyNotFoundException: The given key '100375' was not present in the dictionary.
at System.Collections.Concurrent.ConcurrentDictionary`2.ThrowKeyNotFoundException (Object key)
at System.Collections.Concurrent.ConcurrentDictionary`2.get_Item (TKey key)
at NeptuneEvo.Houses.HouseManager.OnHouseInfoAction (ExtPlayer player, String action) in C: \ Users \ Admin \ Desktop \ redano_rp \ dotnet \ resources \ NeptuneEvo \ Houses \ HouseManager.cs8: line
Line: 1458
var houseBalance = MoneySystem.Bank.Accounts [house.BankID];
There is already to take money but dont work
var houseBalance = MoneySystem.Bank.Accounts [house.BankID];
houseBalance.Balance = Convert.ToInt32 (house.Price / 100f * HouseManager.HouseTax) * 2;
houseBalance.IsSave = true;
MoneySystem.Wallet.Change (player, -house.Price);