public void Start() { EconomyCore.LoadConfig(); EconomyCore.LoadWallets(); EconomyCore.SaveWallets(); EconomyCore.LoadPrices(); if (EconomyCore.SellVehicles) { EconomyCore.LoadVehiclePrices(); } NetworkEvents.onPlayerConnected += EconomyCore._onPlayerConnected; Command pay = new Command(0, new CommandDelegate(Pay), new string[2] { "Pay", "pay" }); CommandList.add(pay); Command balance = new Command(0, new CommandDelegate(Balance), new string[1] { "balance" }); CommandList.add(new Command(0, new CommandDelegate(GetCurrentSellIndex), new string[] { "getindex", "currentsellindex", "sellindex" })); CommandList.add(balance); Command cost = new Command(0, new CommandDelegate(Cost), new string[4] { "cost", "price", "Cost", "price" }); CommandList.add(cost); Command buy = new Command(0, new CommandDelegate(Buy), new string[2] { "buy", "Buy" }); CommandList.add(buy); Command buyv = new Command(0, new CommandDelegate(BuyV), new string[4] { "buyV", "Buyv", "buyv", "BuyV" }); CommandList.add(buyv); Command sell = new Command(0, new CommandDelegate(Sell), new string[1] { "sell" }); CommandList.add(sell); Command SetBal = new Command(10, new CommandDelegate(SetBalance), new string[2] { "setbal", "setbalance" }); CommandList.add(SetBal); CommandList.add(new Command(0, new CommandDelegate(GetIndex), new string[] { "index", "getindex", "sellindex" })); new Thread(new ThreadStart(CheckDeathPlayers)).Start(); }