Exemplo n.º 1
0
        public async void Remove(string ID)
        {
            if (Context.Player == null)
            {
                Context.Respond("This is a player only command!");
                return;
            }

            PlayerChecks User = new PlayerChecks(Context);
            await HangarCommandSystem.RunTaskAsync(() => User.RemoveGrid(ID), Context);
        }
        public void Remove(int ID)
        {
            PlayerChecks User = new PlayerChecks(Context);

            HangarCommandSystem.RunTask(delegate { User.RemoveGrid(ID); }, Context.Player?.SteamUserId);
        }