That code from antu is only for kanata u can edit this to other ninja stuff..
On topic ; This tuturial is VERY VERY Basic's. I think if u did this U have like ¼/½ of the whole ninja..
Just do this :
Code:
else if (ItemParts[0] == "[color=red]601339[/color]")//katana
{
if (ItemsInInventory < 40)
{
if (Equips[4] == null && Equips[5] == null)
{
AddItem(Item, 4, (uint)ItemUID);
World.UpdateSpawn(this);
RemoveItem(ItemUID);
}
else if (Equips[4] != null && Equips[5] == null)
{
AddItem(Item, 5, (uint)ItemUID);
World.UpdateSpawn(this);
RemoveItem(ItemUID);
}
else if (Equips[4] != null && Equips[5] != null)
{
UnEquip(5);
AddItem(Item, 5, (uint)ItemUID);
World.UpdateSpawn(this);
RemoveItem(ItemUID);
}
}
}
Change the RED part to the other code,
Lets say the ninja armor's code is ; 601290 ,
Than this is ur code, else if (ItemParts[0] == "601290")
Just edit the numbers!