Ejemplo n.º 1
0
            void SitCute(Player p, CommandData data)
            {
                var storedModel = new StoredCustomModel(p.Model);

                if (!storedModel.Exists())
                {
                    p.Message("%WYour current model isn't a Custom Model!");
                    return;
                }

                // allow going from sit -> sitcute
                storedModel.RemoveModifier("sit");
                if (storedModel.modifiers.Contains("sitcute"))
                {
                    storedModel.RemoveModifier("sitcute");
                }
                else
                {
                    storedModel.AddModifier("sitcute");
                }

                p.HandleCommand("XModel", storedModel.GetFullNameWithScale(), data);
            }