Uridium Posted March 16, 2009 Posted March 16, 2009 Heres a small fix for those using the 150 energy bar mod. Some will have noticed that when its changed from 100-150 the bar stretches and becomes longer than the other bars. This small fix will make the energy bar stay at 100 lenght no matter what size the bar is.. open header.php and add this before PRINT <<<OUT section for where your energy bar is.. You're unable to view this code. Viewing code within this forum requires registration, you can register here for free. Now alter your image part of the bar to read You're unable to view this code. Viewing code within this forum requires registration, you can register here for free. Change the img llink to that of your own... Your energy bar wont overstretch anymore You can apply the same rule for the other bars but make sure you change the energy and maxenergy to the bar your editing... Quote
jamboy1 Posted March 16, 2009 Posted March 16, 2009 Re: [MCCODES V2] Fix Overstreteched Stat Bars This is nice +1 but do you think you could do something else like this... soo lets say a user has 10/10 brave their brave bar will be 100% maxed out, but if they have 20/10 brave then their brave bar will be double size, is there a way of reducing it so it is the same size as 10/10? Thanks for reading, +1 again ;) Edit: I figured it out, here goes :D find: You're unable to view this code. Viewing code within this forum requires registration, you can register here for free. Then under it add... You're unable to view this code. Viewing code within this forum requires registration, you can register here for free. Thats with brave, just repeat that with the other and change the "br" to the other begining letters of each bar and you should be fine :D Quote
Cronus Posted March 16, 2009 Posted March 16, 2009 Re: [MCCODES V2] Fix Overstreteched Stat Bars This is nice +1 but do you think you could do something else like this... soo lets say a user has 10/10 brave their brave bar will be 100% maxed out, but if they have 20/10 brave then their brave bar will be double size, is there a way of reducing it so it is the same size as 10/10? Thanks for reading, +1 again ;) Just make an if statement. if(users_energy >= users_max_energy) { print full energy bar } else { regular energy bar } Quote
jamboy1 Posted March 16, 2009 Posted March 16, 2009 Re: [MCCODES V2] Fix Overstreteched Stat Bars This is nice +1 but do you think you could do something else like this... soo lets say a user has 10/10 brave their brave bar will be 100% maxed out, but if they have 20/10 brave then their brave bar will be double size, is there a way of reducing it so it is the same size as 10/10? Thanks for reading, +1 again ;) Just make an if statement. if(users_energy >= users_max_energy) { print full energy bar } else { regular energy bar } Umm... Sorry but i already did it :P just ready again :) but thanks anyway Quote
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.