ive drawn an item named sunglasses but when i buy it it doesnt show up in my inventory panel how do i make it show up???
HH
ID:165985
Oct 8 2006, 4:44 am
|
|
In response to GhostAnime
|
|
statpanel("Inventory") this is what it says so i dont think i should add the src.contents in it right? |
In response to HolyhaloIII
|
|
Than I guess the problem is that the path for the sunglasses is NOT under /obj/Equipment because only those types are added under inventory.
Solutions: i) Either make the glasses item path /obj/Equipment/ or ii) add another for() in the inventory stat() to look for Example of Solution ii: if(statpanel("Inventory"))//the if here is to check if the tab is currently selected. Meaning that the following will not happen if the person is not viewing that tab. Can help reduce some potential client lag - GhostAnime |
In response to GhostAnime
|
|
obj/Equipment but it is... so i dont see why i should add the items variable |
- GhostAnime