شف هذا حق GUI
الدي اكس ما اعرفلها
GUIEditor = {
button = {},
window = {}
}
addEventHandler("onClientResourceStart", resourceRoot,
function()
local sh, sw = guiGetScreenSize()
GUIEditor.window[1] = guiCreateWindow((sh - 474)/2, (sw - 535)/2, 474, 535, "× [ Skin Cars ] ×", false)
guiWindowSetSizable(GUIEditor.window[1], false)
guiSetVisible(GUIEditor.window[1], false)
right = guiCreateButton(41, 476, 134, 43, "Left", false, GUIEditor.window[1])
guiSetAlpha(right, 0.00)
left = guiCreateButton(303, 476, 134, 43, "Right", false, GUIEditor.window[1])
guiSetAlpha(left, 0.00)
select = guiCreateStaticImage(54, 35, 373, 431, ":loginpanel/logo.png", false, GUIEditor.window[1])
showCursor(false)
end
)
function Open()
guiSetVisible(GUIEditor.window[1], not guiGetVisible(GUIEditor.window[1]))
showCursor(guiGetVisible(GUIEditor.window[1]))
end
bindKey("F4","down",Open)