ID:172102
 
i want this to show in the menu system

mob/var
Rank
Level
HP = 100
MP = 100
MaxHP = 100
MaxMP = 100
AttackingSkill = 20
MagerySkill = 20

what should i do to make it show the stuff?
What do you mean by menu system? Do you mean the little thumbnails that show your stats?
In response to Rippy
i mean a menu screen like the one in icon traders. how do u make one like that?
In response to Kalmana
well?
In response to Kalmana
please don't bump.
In response to Kalmana
I think this is what you mean. This is just an example though.


Stat()
statpanel("what you want it to be called")
stat("Name:",usr.name)
stat("Level:",usr.Level)
stat("HP:","[usr.HP]/[usr.MaxHP]")
stat("MP:","[usr.MP]/[usr.MaxMP]")
stat("Exp:","[usr.Exp]/[usr.ExpNeeded]")
stat("Power:",usr.Power)
stat("Mana Power:",usr.Mana_Power)
stat("Gold:",usr.Gold)


The statpanel part is what sets the tab thing at the bottom.




In response to Shadowcat519

Stat()
statpanel("what you want it to be called")
stat("Name:",usr.name)
stat("Level:",usr.Level)
stat("HP:","[usr.HP]/[usr.MaxHP]")
stat("MP:","[usr.MP]/[usr.MaxMP]")
stat("Exp:","[usr.Exp]/[usr.ExpNeeded]")
stat("Power:",usr.Power)
stat("Mana Power:",usr.Mana_Power)
stat("Gold:",usr.Gold)


Stat().dm:2: Inconsistent indentation.
In response to Kalmana
then just delete the spaces and add tabs
In response to Kalmana
You have to remove the spaces and replace them with tabs :/

Stat()
..()
statpanel("what you want it to be called")
stat("Name:",usr.name)
stat("Level:",usr.Level)
stat("HP:","[usr.HP]/[usr.MaxHP]")
stat("MP:","[usr.MP]/[usr.MaxMP]")
stat("Exp:","[usr.Exp]/[usr.ExpNeeded]")
stat("Power:",usr.Power)
stat("Mana Power:",usr.Mana_Power)
stat("Gold:",usr.Gold)

You're also going to need that bold piece of code in there too.
In response to Rippy
Stat()
..()
statpanel("what you want it to be called")
stat("Name:",usr.name)
stat("Level:",usr.Level)
stat("HP:","[usr.HP]/[usr.MaxHP]")
stat("MP:","[usr.MP]/[usr.MaxMP]")
stat("Exp:","[usr.Exp]/[usr.ExpNeeded]")
stat("Power:",usr.Power)
stat("Mana Power:",usr.Mana_Power)
stat("Gold:",usr.Gold)

Stat().dm:1:error:Stat :undefined proc
Stat().dm:3:error:"what you want it to be called":value not allowed here
Stat().dm:4:error:"Name:":duplicate definition
Stat().dm:4:error:usr.name:duplicate definition
Stat().dm:4:error:stat :duplicate definition
Stat().dm:5:error:"Level:":duplicate definition
Stat().dm:5:error:usr.Level:duplicate definition
Stat().dm:5:error:stat :duplicate definition
Stat().dm:6:error:"HP:":duplicate definition
Stat().dm:6:error:usr.HP:value not allowed here
Stat().dm:6:error::duplicate definition
Stat().dm:6:error:usr.MaxHP:value not allowed here
Stat().dm:6:error::duplicate definition
Stat().dm:6:error:text "[]/[]":value not allowed here
Stat().dm:6:error::duplicate definition
Stat().dm:6:error:stat :duplicate definition
Stat().dm:7:error:"MP:":duplicate definition
Stat().dm:7:error:usr.MP:value not allowed here
Stat().dm:7:error::duplicate definition
Stat().dm:7:error:usr.MaxMP:value not allowed here
Stat().dm:7:error::duplicate definition
Stat().dm:7:error:text "[]/[]":value not allowed here
Stat().dm:7:error::duplicate definition
Stat().dm:7:error:stat :duplicate definition
Stat().dm:8:error:"Exp:":duplicate definition
Stat().dm:8:error:usr.Exp:value not allowed here
Stat().dm:8:error::duplicate definition
Stat().dm:8:error:usr.ExpNeeded:value not allowed here
Stat().dm:8:error::duplicate definition
Stat().dm:8:error:text "[]/[]":value not allowed here
Stat().dm:8:error::duplicate definition
Stat().dm:8:error:stat :duplicate definition
Stat().dm:9:error:"Power:":duplicate definition
Stat().dm:9:error:usr.Power:duplicate definition
Stat().dm:9:error:stat :duplicate definition
Stat().dm:10:error:"Mana Power:":duplicate definition
Stat().dm:10:error:usr.Mana_Power:duplicate definition
Stat().dm:10:error:stat :duplicate definition
Stat().dm:11:error:"Gold:":duplicate definition
Stat().dm:11:error:usr.Gold:duplicate definition
Stat().dm:11:error:stat :duplicate definition
Stat().dm:1:error::empty type name (indentation error?)
In response to Kalmana
Tab that ..() piece in one more time. Or, you could just remove it. I don't think Stat() needs ..().