View Single Post
  #2  
Old 07-19-2008, 11:29 PM
cbk1994 cbk1994 is offline
the fake one
cbk1994's Avatar
Join Date: Mar 2003
Location: San Francisco
Posts: 10,718
cbk1994 has a reputation beyond reputecbk1994 has a reputation beyond reputecbk1994 has a reputation beyond reputecbk1994 has a reputation beyond reputecbk1994 has a reputation beyond reputecbk1994 has a reputation beyond reputecbk1994 has a reputation beyond reputecbk1994 has a reputation beyond reputecbk1994 has a reputation beyond reputecbk1994 has a reputation beyond repute
Send a message via AIM to cbk1994
Start by disabling the default one:
PHP Code:
showstats1024 ); 
then show yours:
PHP Code:
showimg200"image.png"0);
changeimgvis200); 
Change the 0, 0 at the end to the x and y. GraalControl.width will give you the far right, GraalControl.height will give you the bottom of the screen.

The 200 is the index; all your images need a unique index and must be over 200 (in this case).

The changeimgvis puts the image on the 4th layer, which is the screen.

Then, show your text where you need it:
PHP Code:
showtext201xy"Font Face""options""Text" ); 
For example:
PHP Code:
showtext20110030"Verdana""b"clientr.hp_cur "/" clientr.hp_max ); 
For those bars, you need to use something like this:
PHP Code:
showimg202"bar.png"3040 );
temp.= ( width clientr.hp_max ) * clientr.hp_cur// Replace width with the width of the bar, and change the vars to what you need.
changeimgpart20200n); // Replace 8 with the height of the bar. 
If you need to show the image of the players current weapon, use:
PHP Code:
showimg203player.weaponsselectedweapon ].image30100 ); 
I recommend splitting all the images into separate images instead of one since it is much simpler to deal with.
__________________
Reply With Quote