Ejemplo n.º 1
0
            void Delete(Player p, string modelName)
            {
                StoredCustomModel storedCustomModel = new StoredCustomModel(modelName, true);

                if (!storedCustomModel.Exists())
                {
                    p.Message("%WCustom Model %S{0} %Wnot found!", modelName);
                    return;
                }
                storedCustomModel.Delete();
                p.Message("%TCustom Model %S{0} %Wdeleted!", modelName);
            }