GUIEditor = {
button = {}
}
wn = guiCreateWindow(497, 145, 572, 524, "لوحة اختصارات", false)
guiWindowSetSizable(wn, false)
guiSetAlpha(wn, 0.93)
guiSetProperty(wn, "CaptionColour", "FF4AEE10")
guiSetVisible (wn,false)
cl = guiCreateButton(202, 453, 168, 61, "إغلاق", false, wn)
guiSetProperty(cl, "NormalTextColour", "FFF00D0D")
btn1 = guiCreateButton(33, 56, 137, 48, "الموسيقى", false, wn)
GUIEditor.button[1] = guiCreateButton(395, 56, 137, 48, "الاعلان", false, wn)
GUIEditor.button[2] = guiCreateButton(33, 156, 137, 48, "القوانين", false, wn)
GUIEditor.button[3] = guiCreateButton(213, 156, 137, 48, "الدرون", false, wn)
GUIEditor.button[4] = guiCreateButton(213, 56, 137, 48, "المواتر", false, wn)
GUIEditor.button[5] = guiCreateButton(395, 156, 137, 48, "", false, wn)
function ahmed()
guiSetVisible(wn,true)
showCursor(true)
end
bindKey ( "F7", "down", ahmed)
addEventHandler("onClientGUIClick",root,
function()
if ( source == cl ) then
guiSetVisible(wn,false)
showCursor(false)
elseif ( source == btn1 ) then
executeCommandHandler ( "sound" ) --- استدعاء الامر
end
end
)