كذا قصدك
GUIEditor = {
label = {},
window = {}
}
addEventHandler("onClientResourceStart", resourceRoot,
function()
GUIEditor.window[1] = guiCreateWindow(336, 108, 599, 125, "", false)
GUIEditor.label[1] = guiCreateLabel(19, 50, 164, 48, "nick", false, GUIEditor.window[1])
guiSetVisible( GUIEditor.label[1], false )
end
)
addEventHandler("onClientRender", root,
function()
local x,y = guiGetPosition ( GUIEditor.label[1], true )
if guiGetVisible( GUIEditor.window[1] ) ~= false then
dxDrawText(guiGetText(GUIEditor.label[1]), x- 1, y - 1, 723 - 1, 470 - 1, tocolor(0, 0, 0, 255), 3.00, "default", "left", "top", false, false, false, true, false)
dxDrawText(guiGetText(GUIEditor.label[1]), x + 1, y - 1, 723 + 1, 470 - 1, tocolor(0, 0, 0, 255), 3.00, "default", "left", "top", false, false, false, true, false)
dxDrawText(guiGetText(GUIEditor.label[1]), x - 1, y + 1, 723 - 1, 470 + 1, tocolor(0, 0, 0, 255), 3.00, "default", "left", "top", false, false, false, true, false)
dxDrawText(guiGetText(GUIEditor.label[1]), x + 1, y + 1, 723 + 1, 470 + 1, tocolor(0, 0, 0, 255), 3.00, "default", "left", "top", false, false, false, true, false)
dxDrawText(guiGetText(GUIEditor.label[1]), x, y, 723, 470, tocolor(255, 0, 0, 255), 3.00, "default", "left", "top", false, false, false, true, false)
end
end
)