الصصراحة شباب انا اول ما سسويته كذا
GUIEditor_TabPanel = {}
GUIEditor_Image = {}
GUIEditor_Scrollpane = {}
Shop_Panel = guiCreateWindow(153,157,481,318,"AboShanab Shop",false)
guiSetVisible (shopWindow, false)
guiWindowSetSizable(shopWindow,false)
guiWindowSetMovable(shopWindow,true)
GUIEditor_TabPanel[1] = guiCreateTabPanel(9,17,452,50,false,Shop_Panel)
Shop_1 = guiCreateTab("Shop 1",GUIEditor_TabPanel[1])
Shop_2 = guiCreateTab("Shop 2",GUIEditor_TabPanel[1])
GUIEditor_Scrollpane[1] = guiCreateScrollPane(99,-217,0,0,false,Shop_Panel)
GUIEditor_Image[1] = guiCreateStaticImage(167,168,218,119,"images/1.png",false,Shop_Panel )
GUIEditor_Image[2] = guiCreateStaticImage(30,97,205,131,"images/mtalogo.png",false,Shop_Panel )
bindKey ( "F2" , "down" , function()
if ( guiGetVisible ( Shop_Panel ) == true ) then
guiSetVisible ( Shop_Panel ,false )
showCursor (false )
guiSetInputEnabled(false)
elseif ( guiGetVisible ( Shop_Panel ) == false ) then
guiSetVisible ( Shop_Panel ,true )
showCursor (false )
guiSetInputEnabled(true)
end
end
)
بس عدلت عليه صصار كذا
GUIEditor_TabPanel = {}
GUIEditor_Image = {}
GUIEditor_Scrollpane = {}
Shop_Panel = guiCreateWindow(153,157,481,318,"AboShanab Shop",false)
guiSetVisible (shopWindow, false)
guiWindowSetSizable(shopWindow,false)
guiWindowSetMovable(shopWindow,true)
GUIEditor_TabPanel[1] = guiCreateTabPanel(9,17,452,50,false,Shop_Panel)
Shop_1 = guiCreateTab("Shop 1",GUIEditor_TabPanel[1])
Shop_2 = guiCreateTab("Shop 2",GUIEditor_TabPanel[1])
GUIEditor_Scrollpane[1] = guiCreateScrollPane(99,-217,0,0,false,Shop_Panel)
GUIEditor_Image[1] = guiCreateStaticImage(167,168,218,119,"images/1.png",false,Shop_1 )
GUIEditor_Image[2] = guiCreateStaticImage(30,97,205,131,"images/mtalogo.png",false,Shop_2 )
bindKey ( "F2" , "down" , function()
if ( guiGetVisible ( Shop_Panel ) == true ) then
guiSetVisible ( Shop_Panel ,false )
showCursor (false )
guiSetInputEnabled(false)
elseif ( guiGetVisible ( Shop_Panel ) == false ) then
guiSetVisible ( Shop_Panel ,true )
showCursor (false )
guiSetInputEnabled(true)
end
end
)
مدري المشكلة مني اول من نفسسه السسككربت وششكرا