ID:176954
 
im having some problems with my stat panel, when i start the game the values dont show up, this is my code:

mob
var/hp
var/maxhp

mob/player
hp = 100
maxhp = 100
mob/bug
hp = 50
maxhp = 50


mob
Stat()
stat("hp","[hp]/[maxhp]")


Is there anything ive missed?
It seems to me that you probably didn't set world/mob to /mob/player, so that your player is created as an ordinary mob with no hp or maxhp settings except the default (null). What you'd see on the stat panel in that case is "hp" and "/", nothing more.

Lummox JR
In response to Lummox JR
that must be it thank's m8
In response to Lummox JR
umm how would i do that?
ShadowBlade6300 wrote:

mob/bug

Is there anything ive missed?

Hmm, seems to be a bug in your code.... heh

~X (bored)
In response to Xooxer
lol
world/mob = mob/player