//This thing is broke, dont use it public static void TransferToFactionAccount(long id, long factionID, Int64 amount) { MyAccountInfo account; // MyBankingSystem.Static.TryGetAccountInfo(factionID, out account); // List<MyAccountLogEntry> Log = account.Log.ToList(); // MyAccountLogEntry entry = new MyAccountLogEntry() // { // Amount = amount, // DateTime = DateTime.Now, // ChangeIdentifier = factionID // }; // //Log.Add(entry); //MyAccountInfo account2 = account; // account2.Log = Log.ToArray(); // foreach (MyAccountLogEntry e in account.Log.ToList()) // { // CrunchUtilitiesPlugin.Log.Info(e.Amount); // } EconUtils.addMoney(factionID, amount); EconUtils.takeMoney(id, amount); //MyBankingSystem.ChangeBalance(factionID, factionBalance); //MyBankingSystem.ChangeBalance(id, playerBalance); //MyBankingSystem.Static.SaveData(); return; }