I added my panel for inventory and a code that I think works. But my panel is blank how do I make icons appear in it?
Here is my current code:
mob/Stat()
statpanel("Inventory")
stat("",usr.contents)
Can someone please send me a code so that I can get icons in it or can someone at least tell me what to do with mine.
ID:172850
Mar 19 2004, 5:54 pm
|
|
I can't seem to be able to get items in my panel. Also I need it so I can pick up the item and have it go to my inventory.
Here is my code if it helps: mob/Stat() statpanel("Inventory") stat("",usr.contents) and this might help too: mob Login() src.LIST+=/obj/gold src.LIST+=/obj/flag src.LIST+=/obj/flag2 If noone can tell me the code then can someone tell me what I did wrong? |
In response to Shadowdarke
|
|
Thanks I'll try it
|
This is how it should read:
mob/Stat()
statpanel("Inventory")
stat(contents)
Even better:
mob/Stat()
if(statpanel("Inventory"))
stat(contents)