Fedo Posted May 3, 2015 Posted May 3, 2015 لو سمحتو انا عايز اللوحة دى تفتح ب زر F3 GUIEditor = { button = {}, window = {}, label = {}, memo = {} } addEventHandler("onClientResourceStart", resourceRoot, function() thePanel = guiCreateWindow(452, 255, 515, 95, "Quit Job Panel|By Trevor", false) guiWindowSetSizable(thePanel, false) GUIEditor.memo[1] = guiCreateMemo(9, 21, 107, 64, "To quit Job\nPress Quit Job\nto Close press Close|By Trevor", false, thePanel) guiMemoSetReadOnly(GUIEditor.memo[1], true) quitJob = guiCreateButton(143, 25, 112, 60, "Quit Job", false, thePanel) guiSetFont(GUIEditor.button[1], "default-bold-small") guiSetProperty(GUIEditor.button[1], "NormalTextColour", "FF01FD02") GUIEditor.label[1] = guiCreateLabel(284, 37, 89, 38, "Or", false, thePanel) GUIEditor.button[2] = guiCreateButton(493, 103, 12, 0, "", false, thePanel) closePanel = guiCreateButton(381, 31, 112, 54, "Close", false, thePanel) guiSetFont(GUIEditor.button[3], "default-bold-small") guiSetProperty(GUIEditor.button[3], "NormalTextColour", "FFFE0000") end )
Mr.R Posted May 3, 2015 Posted May 3, 2015 bindKey ( "الزر المطلوب", "down", function ( ) guiSetVisible ( اسم النافذه, not guiGetVisible ( اسم النافذه ) ) showCursor ( guiGetVisible ( اسم النافذه ) ) end )
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now