montyash Posted May 15, 2008 Posted May 15, 2008 does any 1 nowen u got the mining mod how do u get it so u can have a bar i header like for energy n brave n that Quote
Magictallguy Posted May 15, 2008 Posted May 15, 2008 Re: mining From what I can recal from memory.. Find this: $enperc=(int) ($ir['energy']/$ir['maxenergy']*100); $wiperc=(int) ($ir['will']/$ir['maxwill']*100); $experc=(int) ($ir['exp']/$ir['exp_needed']*100); $brperc=(int) ($ir['brave']/$ir['maxbrave']*100); $hpperc=(int) ($ir['hp']/$ir['maxhp']*100); $enopp=100-$enperc; $wiopp=100-$wiperc; $exopp=100-$experc; $bropp=100-$brperc; $hpopp=100-$hpperc; and change to this: $enperc=(int) ($ir['energy']/$ir['maxenergy']*100); $wiperc=(int) ($ir['will']/$ir['maxwill']*100); $experc=(int) ($ir['exp']/$ir['exp_needed']*100); $brperc=(int) ($ir['brave']/$ir['maxbrave']*100); $hpperc=(int) ($ir['hp']/$ir['maxhp']*100); $mpperc=(int) ($ir['power']/$ir['maxpower']*100); $enopp=100-$enperc; $wiopp=100-$wiperc; $exopp=100-$experc; $bropp=100-$brperc; $hpopp=100-$hpperc; $mpopp=100-$mpperc; Still in header - find [b]Health:[/b] {$hpperc}% <img src=greenbar.png width=$hpperc height=10><img src=redbar.png width=$hpopp height=10> <hr /> and change to: [b]Health:[/b] {$hpperc}% <img src=greenbar.png width=$hpperc height=10><img src=redbar.png width=$hpopp height=10> [b]Mine Power:[/b] {$mpperc}% <img src=greenbar.png width=$mpperc height=10><img src=redbar.png width=$mpopp height=10> <hr /> and that should do it! Quote
Delete ! Posted May 24, 2008 Posted May 24, 2008 Re: mining Again Very Easy This Should Of Come In The Package You Bought Or The Post You Got It From :) =] 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.