Mr-Kartha Posted August 22, 2012 Share Posted August 22, 2012 السلام عليكم ورحمة الله وبركاته كيف الشباب اخباركم دوم يا رب المهم انا سويت نافذه بس اول ما ادخل السيرفر تلقاها فاتحه في وجهك الا تضغط اف 3 حتا تقفل او تفتح هاذ كود النافذه GUIEditor_Window = {}GUIEditor_TabPanel = {} GUIEditor_Tab = {} GUIEditor_Button = {} GUIEditor_Label = {} GUIEditor_Image = {} GUIEditor_Window[1] = guiCreateWindow(236,267,357,278,"wheel=by-mr.kartha v.1",false) GUIEditor_TabPanel[1] = guiCreateTabPanel(0.028,0.0719,0.9608,0.8957,true,GUIEditor_Window[1]) GUIEditor_Tab[1] = guiCreateTab("1",GUIEditor_TabPanel[1]) GUIEditor_Button[1] = guiCreateButton(0.0117,0.8178,0.9767,0.16,"اضغط هنا لتركيب الجنط",true,GUIEditor_Tab[1]) GUIEditor_Image[1] = guiCreateStaticImage(2,-2,337,186,"kartha/shruk.png",false,GUIEditor_Tab[1]) GUIEditor_Tab[2] = guiCreateTab("2",GUIEditor_TabPanel[1]) GUIEditor_Button[2] = guiCreateButton(0.0058,0.8133,0.9825,0.1733,"اضغط هنا لتركيب الجنط",true,GUIEditor_Tab[2]) GUIEditor_Image[2] = guiCreateStaticImage(1,-1,338,184,"kartha/1.jpg",false,GUIEditor_Tab[2]) GUIEditor_Tab[3] = guiCreateTab("3",GUIEditor_TabPanel[1]) GUIEditor_Button[3] = guiCreateButton(0.0117,0.8044,0.9796,0.1867,"اضغط هنا لتركيب الجنط",true,GUIEditor_Tab[3]) GUIEditor_Image[3] = guiCreateStaticImage(0.0029,0,0.9825,0.7911,"kartha/2.jpg",true,GUIEditor_Tab[3]) GUIEditor_Tab[4] = guiCreateTab("4",GUIEditor_TabPanel[1]) GUIEditor_Button[4] = guiCreateButton(0.0117,0.8044,0.9854,0.1778,"اضغط هنا لتركيب الجنط",true,GUIEditor_Tab[4]) GUIEditor_Image[4] = guiCreateStaticImage(0,0,0.9883,0.8,"kartha/3.jpg",true,GUIEditor_Tab[4]) GUIEditor_Tab[5] = guiCreateTab("5",GUIEditor_TabPanel[1]) GUIEditor_Button[5] = guiCreateButton(0.0146,0.8089,0.9767,0.1689,"اضغط هنا لتركيب الجنط",true,GUIEditor_Tab[5]) GUIEditor_Image[5] = guiCreateStaticImage(0.0029,0.0044,0.9854,0.8178,"kartha/3.jpg",true,GUIEditor_Tab[5]) GUIEditor_Tab[6] = guiCreateTab("6",GUIEditor_TabPanel[1]) GUIEditor_Button[6] = guiCreateButton(0.0087,0.8178,0.9883,0.1644,"اضغط هنا لتركيب الجنط",true,GUIEditor_Tab[6]) GUIEditor_Image[6] = guiCreateStaticImage(0.0029,0,0.9796,0.8267,"kartha/4.jpg",true,GUIEditor_Tab[6]) GUIEditor_Tab[7] = guiCreateTab("7",GUIEditor_TabPanel[1]) GUIEditor_Button[7] = guiCreateButton(0.0087,0.8178,0.9796,0.1689,"اضغط هنا لتركيب الجنط",true,GUIEditor_Tab[7]) GUIEditor_Image[7] = guiCreateStaticImage(0.0029,0.0044,0.9796,0.8089,"kartha/4.jpg",true,GUIEditor_Tab[7]) GUIEditor_Tab[8] = guiCreateTab("8",GUIEditor_TabPanel[1]) GUIEditor_Button[8] = guiCreateButton(0.0117,0.84,0.9738,0.1556,"اضغط هنا لتركيب الجنط",true,GUIEditor_Tab[8]) GUIEditor_Image[8] = guiCreateStaticImage(0.0087,0.0089,0.9708,0.8267,"kartha/5.jpg",true,GUIEditor_Tab[8]) GUIEditor_Tab[9] = guiCreateTab("9",GUIEditor_TabPanel[1]) GUIEditor_Button[9] = guiCreateButton(0.0087,0.8356,0.9767,0.16,"اضغط هنا لتركيب الجنط",true,GUIEditor_Tab[9]) GUIEditor_Image[9] = guiCreateStaticImage(0.0029,0,0.9796,0.8356,"kartha/6.jpg",true,GUIEditor_Tab[9]) GUIEditor_Tab[10] = guiCreateTab("10",GUIEditor_TabPanel[1]) GUIEditor_Button[10] = guiCreateButton(0.0058,0.8267,0.9825,0.1644,"اضغط هنا لتركيب الجنط",true,GUIEditor_Tab[10]) GUIEditor_Image[10] = guiCreateStaticImage(1,-2,336,190,"kartha/7.jpg",false,GUIEditor_Tab[10]) GUIEditor_Tab[11] = guiCreateTab("11",GUIEditor_TabPanel[1]) GUIEditor_Label[1] = guiCreateLabel(0.5627,0,0.4169,0.1111,"السلام عليكم ",true,GUIEditor_Tab[11]) GUIEditor_Label[2] = guiCreateLabel(0.5627,0.1067,0.4169,0.0622,"Mm===========mM",true,GUIEditor_Tab[11]) guiSetFont(GUIEditor_Label[2],"default-bold-small") GUIEditor_Button[11] = guiCreateButton(349,-48,5,5,"",false,GUIEditor_Tab[11]) GUIEditor_Label[3] = guiCreateLabel(0.5569,0.1778,0.4344,0.0756,"جميع الحقوق محفوظه لدى ",true,GUIEditor_Tab[11]) GUIEditor_Label[4] = guiCreateLabel(0.5627,0.2533,0.4198,0.08," Mm===========mM",true,GUIEditor_Tab[11]) GUIEditor_Label[5] = guiCreateLabel(0.5714,0.3378,0.4111,0.0711,"مستر الكارثه ",true,GUIEditor_Tab[11]) GUIEditor_Label[6] = guiCreateLabel(0.5714,0.4222,0.4227,0.0667,"Mm===========mM",true,GUIEditor_Tab[11]) GUIEditor_Label[7] = guiCreateLabel(0.5714,0.4933,0.4082,0.0711," www.GTA-PRO.com ",true,GUIEditor_Tab[11]) guiSetFont(GUIEditor_Label[7],"default-bold-small") GUIEditor_Label[8] = guiCreateLabel(0.5802,0.5511,0.3732,0.16," KaRtHa",true,GUIEditor_Tab[11]) guiSetFont(GUIEditor_Label[8],"sa-header") GUIEditor_Image[11] = guiCreateStaticImage(0.0029,0,0.5539,0.9867,"kartha/shruk.png",true,GUIEditor_Tab[11]) GUIEditor_Tab[12] = guiCreateTab("12",GUIEditor_TabPanel[1]) GUIEditor_TabPanel[2] = guiCreateTabPanel(262,-105,5,5,false,GUIEditor_Tab[12]) GUIEditor_Tab[13] = guiCreateTab("Tab",GUIEditor_TabPanel[2]) GUIEditor_Image[12] = guiCreateStaticImage(0.0058,0,0.9767,0.9867,"kartha/t3lem.png",true,GUIEditor_Tab[12]) ------------------------------------------------------------------------------------------------------------- addEventHandler ("onClientGUIClick", getRootElement(), function(button, state, absoluteX, absoluteY) if ( source == GUIEditor_Button[1] ) then triggerServerEvent("1",getLocalPlayer()) end end ) addEventHandler ("onClientGUIClick", getRootElement(), function(button, state, absoluteX, absoluteY) if ( source == GUIEditor_Button[2] ) then triggerServerEvent("2",getLocalPlayer()) end end ) addEventHandler ("onClientGUIClick", getRootElement(), function(button, state, absoluteX, absoluteY) if ( source == GUIEditor_Button[3] ) then triggerServerEvent("3",getLocalPlayer()) end end ) addEventHandler ("onClientGUIClick", getRootElement(), function(button, state, absoluteX, absoluteY) if ( source == GUIEditor_Button[4] ) then triggerServerEvent("4",getLocalPlayer()) end end ) addEventHandler ("onClientGUIClick", getRootElement(), function(button, state, absoluteX, absoluteY) if ( source == GUIEditor_Button[5] ) then triggerServerEvent("5",getLocalPlayer()) end end ) addEventHandler ("onClientGUIClick", getRootElement(), function(button, state, absoluteX, absoluteY) if ( source == GUIEditor_Button[6] ) then triggerServerEvent("6",getLocalPlayer()) end end ) addEventHandler ("onClientGUIClick", getRootElement(), function(button, state, absoluteX, absoluteY) if ( source == GUIEditor_Button[7] ) then triggerServerEvent("7",getLocalPlayer()) end end ) addEventHandler ("onClientGUIClick", getRootElement(), function(button, state, absoluteX, absoluteY) if ( source == GUIEditor_Button[8] ) then triggerServerEvent("8",getLocalPlayer()) end end ) addEventHandler ("onClientGUIClick", getRootElement(), function(button, state, absoluteX, absoluteY) if ( source == GUIEditor_Button[9] ) then triggerServerEvent("9",getLocalPlayer()) end end ) addEventHandler ("onClientGUIClick", getRootElement(), function(button, state, absoluteX, absoluteY) if ( source == GUIEditor_Button[10] ) then triggerServerEvent("10",getLocalPlayer()) end end ) الزبده وش اضيف حتا ما تفتح الا لما اضغط اف 3 Link to comment
hassan.k.s.a Posted August 22, 2012 Share Posted August 22, 2012 اذا تبيها اول ماتشتغل تكون مخفيه ضيف هذا السطر تحت النافذه على طول guiSetVisible (GUIEditor_Window[1], false) واذا تبي تسوي زر لنافذه bindKey ( "F1" , "down" , function() if ( guiGetVisible ( GUIEditor_Window[1] ) == true ) then guiSetVisible ( GUIEditor_Window[1] ,false ) showCursor (false ) guiSetInputEnabled(false) elseif ( guiGetVisible ( GUIEditor_Window[1] ) == false ) then guiSetVisible ( GUIEditor_Window[1] ,true ) showCursor (false ) guiSetInputEnabled(true) end end ) Link to comment
Mr-Kartha Posted August 22, 2012 Author Share Posted August 22, 2012 لا ابي اخفيها بجرب الكود هاذ guiSetVisible (GUIEditor_Window[1], false) جاري التجربه Link to comment
Mr-Kartha Posted August 22, 2012 Author Share Posted August 22, 2012 تمت الافاده ومشكور اخي حسان Link to comment
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