I'm new to the GuiCtrl functions and i am having a big problem.
PHP Code:
//#CLIENTSIDE
function onCreated(){
stats();
new GuiShowImgCtrl("Main_Gui") {
x = 2;
y = 0;
width = 226;
height = 91;
image ="metric_gui1.png";
}
new GuiShowImgCtrl("Hotkey_Gui") {
x = 2;
y = 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.