Ajantis said:Please give an example. Thanks.
newChar.BankBox.AddItem( [i]item[/i] );
EventSink.CharacterCreated += new CharacterCreatedEventHandler( EventSink_CharacterCreated );
newChar.BankBox.AddItem( new Gold(5000) );
Ajantis said:Show an entire example please, not just one line. Thanks.
TMSTKSBK said:Our primary method of support here is:
1. You try.
2. You break it.
3. You try to fix it.
4. You come to us.
5. We tell you how you might be able to fix it.
6. You break it again.
7. Repeat 3-6 until done.
8. Share your new knowledge with the infinite supply of noobies we have here.
private static void AddBackpack( Mobile m )
{
Container pack = m.Backpack;
if ( pack == null )
{
pack = new Backpack();
pack.Movable = false;
m.AddItem( pack );
}
[COLOR="Red"]PackItem( new Gold( 1000 ) ); // Starting gold can be customized here
PackItem( new Dagger() );
PackItem( new Candle() );[/COLOR] }
//if( TestCenter.Enabled )
FillBankbox( newChar );
if ( young && newChar.BankBox != null )
{
NewPlayerTicket ticket = new NewPlayerTicket();
ticket.Owner = newChar;
[COLOR="Red"]newChar.BankBox.DropItem( ticket );[/COLOR]
}
He does not want Test Center Enabled. Read the post again.masternightmage said:And for everyone else that may get upset cause i am showing him please understand i dont know about you all but i would rather see a bunch of code in a thread then a bunch of txt saying this and that, another words this will make this thread come to a end instead of taking up everyones time on helping the real scripters < took me about 2 sec to post this >
god i hate myself lol
EDIT:// Sorry about that i am half asleep lol thanks Packer898 for catching this!! Please forget anything i posted above unless you are adding to backpack and here below is what you need!
i think if( TestCenter.Enabled ) is what you are looking for and where you need to add your items the red highlighted is what you want to do!
if i am wrong again just slap me and ban me from this section of forums lol sorry about the bad post above!
newChar.BankBox.AddItem( item );