GUIEditor = {
button = {},
window = {},
staticimage = {}
}
addEventHandler("onClientResourceStart", resourceRoot,
function()
GUIEditor.window[99] = guiCreateWindow(0, 0, 800, 600, "", false)
guiWindowSetSizable(GUIEditor.window[99], false)
guiSetVisible(GUIEditor.window[99], false)
GUIEditor.button[1] = guiCreateButton(650, 25, 54, 36, "Kapat/Close", false, GUIEditor.window[99])
GUIEditor.button[2] = guiCreateButton(0.2550, 25, 54, 36, "<<", false, GUIEditor.window[99])
GUIEditor.button[3] = guiCreateButton(85, 25, 54, 36, ">>", false, GUIEditor.window[99])
GUIEditor.button[4] = guiCreateButton(0, 50, 69, 36, "Haberler Ve Hotmail", false, GUIEditor.window[99])
GUIEditor.staticimage[1] = guiCreateStaticImage(102, 72, 73, 69, "Images/2.png", false, GUIEditor.window[99])
guiCreateMemo(150,25,325,35,"https://www.Kardeş_Anamenu-page-01.com",false, GUIEditor.window[99])
end
)
local browser = guiCreateBrowser(85, 25, 800, 600, false, false, false)
addEventHandler ("onClientGUIClick", getRootElement(),
function(button, state, absoluteX, absoluteY)
if ( source == GUIEditor.button[1] ) then
guiSetVisible ( GUIEditor.window[99] , false)
showCursor ( false )
elseif ( source == GUIEditor.button[4] ) then
injectBrowserMouseDown(browser, button)
loadBrowserURL(browser, "www.mtasa.com")
end
end)
bindKey("F1","down",
function()
if guiGetVisible(GUIEditor.window[99]) == true then
guiSetVisible( GUIEditor.window[99], false)
showCursor(false)
elseif guiGetVisible(GUIEditor.window[99]) == false then
guiSetVisible(GUIEditor.window[99], true)
showCursor(true)
end
end)