Hey so i updated the script and it is still not displaying te x and y every .05 seconds.
PHP Code:
//#CLIENTSIDE
function onCreated() {
new GuiWindowCtrl("MyGuiTest_Window1") {
profile = GuiBlueWindowProfile;
clientrelative = true;
clientextent = "126,98";
canclose = false;
canmaximize = false;
canminimize = false;
canmove = true;
canresize = true;
closequery = false;
destroyonhide = false;
text = "Co-Ordinates";
x = 1028;
y = 554;
new GuiTextEditCtrl("MyGuiTest_TextEdit1") {
profile = GuiBlueTextEditProfile;
height = 20;
width = 80;
text = player.y;
x = 23;
y = 26;
}
new GuiTextEditCtrl("MyGuiTest_TextEdit2") {
profile = GuiBlueTextEditProfile;
height = 20;
width = 80;
text = player.x;
x = 23;
y = 67;
}
new GuiTextCtrl("MyGuiTest_Text1") {
profile = GuiBlueTextProfile;
height = 20;
text = "Player: X";
width = 43;
x = 39;
y = 6;
}
new GuiTextCtrl("MyGuiTest_Text2") {
profile = GuiBlueTextProfile;
height = 20;
text = "Player: Y";
width = 44;
x = 42;
y = 48;
}
}
}
function onTimeout(){
Co0rds_TextEdit2.text = player.y;
Co0rds_TextEdit1.text = player.x;
setTimer(.05);
}