Look who's still around. Dude you have a PM sitting in your mailbox for several months now...
I'm trying to make a health bar and a mana bar for my game. The bar is 100 pixels wide at max, but the player health can be from 10 to 500 health depending on their level. As long as Playerhealth is the same as Maxplayerhealth, the bar should be full (100 pixels). What is the easiest way for me to do this?
Well, what you're requesting has been discussed a few times. Here's a basic example:
http://dl.dropbox.com/u/2306601/health500.cap
You can change your maximum health with the global variable MaxHealth. You'll see it'll always work properly with the size of the health bar. And all it needs is some very simple math.
Here's also an older and slightly different example I made for a similar thread: http://dl.dropbox.com/u/2306601/healthhelp_002.cap
Just to really bring the point across I guess.