Jump to content

condutg

Members
  • Posts

    2
  • Joined

  • Last visited

condutg's Achievements

I ordered some spaghetti with marinara sauce and I got egg noodles and ketchup. I'm an average nobody.

I ordered some spaghetti with marinara sauce and I got egg noodles and ketchup. I'm an average nobody. (2/54)

0

Reputation

  1. the gui is not on the screen when this in a different resolution
  2. (Sorry for my english) i am trying to make a GUI(Mta dayz server). i did in resolution 1366x768, but when I change the gui does not work properly Someone can help me pls? GUIEditor = { label = {}, window = {} } addEventHandler("onClientResourceStart", resourceRoot, function() GUIEditor.window[1] = guiCreateWindow(0.88, 0.79, 0.10, 0.18, "Posição", true) guiWindowSetMovable(GUIEditor.window[1], false) guiWindowSetSizable(GUIEditor.window[1], false) guiSetAlpha(GUIEditor.window[1], 0.25) GUIEditor.label[1] = guiCreateLabel(0.95, 0.82, 0.01, 0.02, "HD", true) guiSetAlpha(GUIEditor.label[1], 0.80) GUIEditor.label[2] = guiCreateLabel(0.95, 0.86, 0.01, 0.02, "FD", true) guiSetAlpha(GUIEditor.label[2], 0.80) GUIEditor.label[3] = guiCreateLabel(0.95, 0.90, 0.01, 0.02, "TP", true) guiSetAlpha(GUIEditor.label[3], 0.80) GUIEditor.label[4] = guiCreateLabel(0.95, 0.94, 0.03, 0.02, "12000", true) guiSetAlpha(GUIEditor.label[4], 0.80) GUIEditor.label[5] = guiCreateLabel(0.88, 0.82, 0.10, 0.15, " Hidratação: %\n\n Energia: %\n\n Temperatura: º\n\n Sangue:", true) guiSetAlpha(GUIEditor.label[5], 0.80) end ) function refreshDebugMonitor() if getElementData(getLocalPlayer(),"logedin") then local x,y,z = getElementPosition(localPlayer) guiSetText(GUIEditor.window[1],getZoneName(x,y,z)) local blood = getElementData(localPlayer,"blood") guiSetText(GUIEditor.label[4],blood) local thirst = getElementData(localPlayer,"thirst") guiSetText(GUIEditor.label[1],thirst) local food = getElementData(localPlayer,"food") guiSetText(GUIEditor.label[2],food) local temperature = getElementData(localPlayer,"temperature") guiSetText(GUIEditor.label[3],temperature) end end setTimer(refreshDebugMonitor,1000,0)
×
×
  • Create New...