About Store Forum Documentation Contact
Donations:
309$/mo



Post Reply 
MMO Source Inventory (Almost working)
Author Message
hawksprite Offline
Member

Post: #1
MMO Source Inventory (Almost working)
So for the last couple days when i've had the chance i've been experimenting with methods to add items to the characters inventory in game; still with no prevail.

What I always seem to come back to and have found it adds an item to the list and doesn't crash the game is the following:
Code:
inv.items.add(Sword);
        inv.setGui();    
        sendInvSlots();

Where Sword is a NetItem.

But I can't get the object Sword to actually load the properties of an object, it just keeps showing up as an empty entry.

Has anyone had any success with adding items in this scenario?

Much help is appreciated, thanks.
09-17-2012 10:13 PM
Find all posts by this user Quote this message in a reply
Post Reply