Anyone have a code for the invantory screen?
Thanks Shane
ID:180774
![]() Feb 20 2001, 3:21 pm
|
|
On 2/20/01 5:21 pm Shane wrote:
Anyone have a code for the invantory screen? This is pretty simple so I'll hand it right to you. mob/Stat() if (statpanel("Inventory")) stat("",usr.contents) Here we make a statpanel called Inventory just by checking to see if it exists. Well, that's what it looks like we're checking. In this case we're really checking to see if the usr is looking at it. It will have 1 stat in it, with no name, so all we see is what's in usr.contents. Z |
mob/Stat()
if(statpanel("Carrying"))
stat(contents)