GUIEditor = {
window = {},
memo = {}
}
addEventHandler("onClientResourceStart", resourceRoot,
function()
GUIEditor.window[1] = guiCreateWindow(459, 146, 463, 432, "#{ قوانين }#", false)
guiWindowSetSizable(GUIEditor.window[1], false)
guiSetProperty(GUIEditor.window[1], "CaptionColour", "FF4AC935")
guiSetVisible(GUIEditor.window[1],false) --ذا هنا الكود
GUIEditor.memo[1] = guiCreateMemo(10, 24, 443, 398, "ضع نصك هنا--", 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("F3","down",Open )