Blitzman
Member
I appologize, but I've searched and can't find any answers that work for me. I'm trying to add items from a script I found in the resources section to new characters pack, but I keep getting an error.
View attachment 17939
This is the section I am trying to add it to:
private static void AddBackpack(Mobile m)
{
Container pack = m.Backpack;
if (pack == null)
{
pack = new Backpack
{
Movable = false
};
m.AddItem(pack);
}
PackItem(new Gold(1000)); // Starting gold can be customized here
PackItem(goldbag());
PackItem(lootbag());
}
Any help is very much appreciated.
I should add that I'm using pub 57.
View attachment 17939
This is the section I am trying to add it to:
private static void AddBackpack(Mobile m)
{
Container pack = m.Backpack;
if (pack == null)
{
pack = new Backpack
{
Movable = false
};
m.AddItem(pack);
}
PackItem(new Gold(1000)); // Starting gold can be customized here
PackItem(goldbag());
PackItem(lootbag());
}
Any help is very much appreciated.
Post automatically merged:
I should add that I'm using pub 57.
Last edited: