[Command("setclothes")]
public void setclothes(Player sender, int type,int slot, int drawable, int texture)
{
//1 - аксессуары, 2 - одежда
switch (type)
{
case 1:
{ sender.SetAccessories(slot,drawable,texture); }; break;
case 2:
{ sender.SetClothes(slot, drawable, texture); }; break;
default:return;
}
}