ID:179829
 
i dont get it i do a statpanel with the vars off to the side but when i run it the #s dont show up next to the vars
heres my code:mob/var
money=0
skill=2
stealth=10


mob/Stat()
stat("money")
stat("skill")
stat("stealth")

there is no error

~SplitHalfieVegeta
mob
var
money = 10
stealth = 50
skill = 50000
Stat()
statpanel(src.key)
stat("Money",money)
stat("Stealth",stealth)
stat("Skill",skill)

Good luck!
SplitHalfieVegeta wrote:
i dont get it i do a statpanel with the vars off to the side but when i run it the #s dont show up next to the vars
heres my code:mob/var
money=0
skill=2
stealth=10


mob/Stat()
stat("money")
stat("skill")
stat("stealth")

there is no error

~SplitHalfieVegeta


You need to make a statpanel using the statpanel() proc.

You can download Nadrew's Leveling system for a example on how to do statpanels.
In response to Lord of Water
thx it worked
In response to Lord of Water
now one last question how would i make a credits panel?
In response to SplitHalfieVegeta
SplitHalfieVegeta wrote:
now one last question how would i make a credits panel?

I'll just give this one to you because you will know how it works when you see it.
mob/Stat()
statpanel("Credits")
stat("Nadrew","He helped me make this!")
stat("Lord of Water","Helped me understand this!")

In response to Nadrew
that erased my statpanel with all my vars
In response to SplitHalfieVegeta
SplitHalfieVegeta wrote:
that erased my statpanel with all my vars




mob/Stat()
..()
statpanel("Credits")
stat("Nadrew","Helped")


Sorry about that I forgot the ..() which allows you to call the Stat proc more then once (add that into your other one too).
In response to Nadrew
its cool
In response to SplitHalfieVegeta


mob/Stat()
..()
statpanel("Credits")
stat("Nadrew","Helped")
stat("Bonzi"),"It's Bonzi")
stat("Bonzi"),"Helped")