View Single Post
  #1  
Old 09-09-2007, 11:55 PM
PrinceOfKenshin PrinceOfKenshin is offline
That guy with a beard
PrinceOfKenshin's Avatar
Join Date: May 2004
Location: Ontario, Canada
Posts: 819
PrinceOfKenshin has a spectacular aura aboutPrinceOfKenshin has a spectacular aura about
Gui problem, help please

I'm new to the GuiCtrl functions and i am having a big problem.
PHP Code:
//#CLIENTSIDE
function onCreated(){
stats();
new 
GuiShowImgCtrl("Main_Gui") {
   
2;
   
0;
   
width 226;
   
height 91;
   
image ="metric_gui1.png";
   }
new 
GuiShowImgCtrl("Hotkey_Gui") {
   
2;
   
489;
   
width 365;
   
height 43;
   
image ="metric_gui1.png";
 }
}
function 
stats()
{
showstats(0x400 0x800);

Main_Gui works but Hotkey_Gui doesn't. I've been trying to find a function that will let me put the x and y of the image so that it will show the right part of the image.
Attached Thumbnails
Click image for larger version

Name:	metric_gui1.png
Views:	149
Size:	3.2 KB
ID:	42756  
__________________


Quote:
Game Master (Server): Greetings PrinceOfKenshin, there are new posts on the forums that demand your urgent attention! God speed, the fate of the world is in your hands. If you fail, middle earth will forever be in the darkness and your children will be enslaved by McKain.
Reply With Quote