Mr-Kartha Posted December 24, 2012 Share Posted December 24, 2012 السلام عليكم ورحمة الله وبركاته كيف بحرك النافذه هاذي من اليسار الى الوسط GUIEditor_Button = {} GUIEditor_Label = {} GUIEditor_Edit = {} GUIEditor_Image = {} GUIEditor_Image[1] = guiCreateStaticImage(0.4675,0.08,0.5213,0.9183,"images/kartha.png",true) GUIEditor_Label[1] = guiCreateLabel(9,147,399,17,"~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~",false,GUIEditor_Image[1]) guiSetFont(GUIEditor_Label[1],"sa-gothic") GUIEditor_Image[2] = guiCreateStaticImage(71,157,91,91,"images/!Repair.png",false,GUIEditor_Image[1]) GUIEditor_Image[3] = guiCreateStaticImage(238,157,93,90,"images/!Flip.png",false,GUIEditor_Image[1]) GUIEditor_Button[1] = guiCreateButton(72,248,93,22,"ßЦ¥ RЄÂpĪR ",false,GUIEditor_Image[1]) GUIEditor_Button[2] = guiCreateButton(242,247,93,22,"ßù¥ բĿĪp",false,GUIEditor_Image[1]) GUIEditor_Image[4] = guiCreateStaticImage(76,273,92,85,"images/!Nitro.png",false,GUIEditor_Image[1]) GUIEditor_Button[3] = guiCreateButton(76,357,93,22,"ßù¥ ñïƚRØ",false,GUIEditor_Image[1]) GUIEditor_Image[5] = guiCreateStaticImage(244,271,93,88,"images/!Invisible.png",false,GUIEditor_Image[1]) GUIEditor_Button[4] = guiCreateButton(246,359,93,22,"ßù¥ ñïƚRØ",false,GUIEditor_Image[1]) GUIEditor_Label[2] = guiCreateLabel(10,387,399,17,"~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~",false,GUIEditor_Image[1]) guiSetFont(GUIEditor_Label[2],"sa-gothic") GUIEditor_Label[3] = guiCreateLabel(316,364,5,5,"",false,GUIEditor_Image[1]) GUIEditor_Label[4] = guiCreateLabel(11,399,399,17,"اختصارات الشوب لكي تسهل عليك الشراء ",false,GUIEditor_Image[1]) guiSetFont(GUIEditor_Label[4],"default-bold-small") GUIEditor_Edit[1] = guiCreateEdit(172,424,205,22,"bind 1 buy reapir",false,GUIEditor_Image[1]) GUIEditor_Edit[2] = guiCreateEdit(173,451,205,22,"bind 2 buy flip",false,GUIEditor_Image[1]) GUIEditor_Edit[3] = guiCreateEdit(172,478,205,22,"",false,GUIEditor_Image[1]) GUIEditor_Edit[4] = guiCreateEdit(174,477,205,22,"bind 3 buy nitro",false,GUIEditor_Image[1]) GUIEditor_Edit[5] = guiCreateEdit(173,504,208,22,"bind 4 buy invisible",false,GUIEditor_Image[1]) GUIEditor_Label[5] = guiCreateLabel(11,426,161,19,"اختصار اصلاح السيارة ",false,GUIEditor_Image[1]) guiSetFont(GUIEditor_Label[5],"default-bold-small") GUIEditor_Label[6] = guiCreateLabel(11,452,161,19,"اختصار تعديل السيارة ",false,GUIEditor_Image[1]) guiSetFont(GUIEditor_Label[6],"default-bold-small") GUIEditor_Label[7] = guiCreateLabel(10,480,161,19,"اختصار نيترو للسيارة ",false,GUIEditor_Image[1]) guiSetFont(GUIEditor_Label[7],"default-bold-small") GUIEditor_Label[8] = guiCreateLabel(12,504,161,19,"اختصار اخفاء السيارة ",false,GUIEditor_Image[1]) guiSetFont(GUIEditor_Label[8],"default-bold-small") GUIEditor_Label[9] = guiCreateLabel(9,50,397,17,"",false,GUIEditor_Image[1]) GUIEditor_Label[10] = guiCreateLabel(9,65,397,17,"",false,GUIEditor_Image[1]) GUIEditor_Label[11] = guiCreateLabel(9,80,397,17,"",false,GUIEditor_Image[1]) GUIEditor_Label[12] = guiCreateLabel(9,94,397,17,"",false,GUIEditor_Image[1]) GUIEditor_Label[13] = guiCreateLabel(9,109,397,17,"",false,GUIEditor_Image[1]) GUIEditor_Label[14] = guiCreateLabel(9,124,397,17,"",false,GUIEditor_Image[1]) Link to comment
Booo Posted December 24, 2012 Share Posted December 24, 2012 (edited) السلام عليكم ورحمة الله وبركاتهكيف بحرك النافذه هاذي من اليسار الى الوسط GUIEditor_Button = {} GUIEditor_Label = {} GUIEditor_Edit = {} GUIEditor_Image = {} GUIEditor_Image[1] = guiCreateStaticImage(0.4675,0.08,0.5213,0.9183,"images/kartha.png",true) GUIEditor_Label[1] = guiCreateLabel(9,147,399,17,"~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~",false,GUIEditor_Image[1]) guiSetFont(GUIEditor_Label[1],"sa-gothic") GUIEditor_Image[2] = guiCreateStaticImage(71,157,91,91,"images/!Repair.png",false,GUIEditor_Image[1]) GUIEditor_Image[3] = guiCreateStaticImage(238,157,93,90,"images/!Flip.png",false,GUIEditor_Image[1]) GUIEditor_Button[1] = guiCreateButton(72,248,93,22,"ßЦ¥ RЄÂpĪR ",false,GUIEditor_Image[1]) GUIEditor_Button[2] = guiCreateButton(242,247,93,22,"ßù¥ բĿĪp",false,GUIEditor_Image[1]) GUIEditor_Image[4] = guiCreateStaticImage(76,273,92,85,"images/!Nitro.png",false,GUIEditor_Image[1]) GUIEditor_Button[3] = guiCreateButton(76,357,93,22,"ßù¥ ñïƚRØ",false,GUIEditor_Image[1]) GUIEditor_Image[5] = guiCreateStaticImage(244,271,93,88,"images/!Invisible.png",false,GUIEditor_Image[1]) GUIEditor_Button[4] = guiCreateButton(246,359,93,22,"ßù¥ ñïƚRØ",false,GUIEditor_Image[1]) GUIEditor_Label[2] = guiCreateLabel(10,387,399,17,"~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~",false,GUIEditor_Image[1]) guiSetFont(GUIEditor_Label[2],"sa-gothic") GUIEditor_Label[3] = guiCreateLabel(316,364,5,5,"",false,GUIEditor_Image[1]) GUIEditor_Label[4] = guiCreateLabel(11,399,399,17,"اختصارات الشوب لكي تسهل عليك الشراء ",false,GUIEditor_Image[1]) guiSetFont(GUIEditor_Label[4],"default-bold-small") GUIEditor_Edit[1] = guiCreateEdit(172,424,205,22,"bind 1 buy reapir",false,GUIEditor_Image[1]) GUIEditor_Edit[2] = guiCreateEdit(173,451,205,22,"bind 2 buy flip",false,GUIEditor_Image[1]) GUIEditor_Edit[3] = guiCreateEdit(172,478,205,22,"",false,GUIEditor_Image[1]) GUIEditor_Edit[4] = guiCreateEdit(174,477,205,22,"bind 3 buy nitro",false,GUIEditor_Image[1]) GUIEditor_Edit[5] = guiCreateEdit(173,504,208,22,"bind 4 buy invisible",false,GUIEditor_Image[1]) GUIEditor_Label[5] = guiCreateLabel(11,426,161,19,"اختصار اصلاح السيارة ",false,GUIEditor_Image[1]) guiSetFont(GUIEditor_Label[5],"default-bold-small") GUIEditor_Label[6] = guiCreateLabel(11,452,161,19,"اختصار تعديل السيارة ",false,GUIEditor_Image[1]) guiSetFont(GUIEditor_Label[6],"default-bold-small") GUIEditor_Label[7] = guiCreateLabel(10,480,161,19,"اختصار نيترو للسيارة ",false,GUIEditor_Image[1]) guiSetFont(GUIEditor_Label[7],"default-bold-small") GUIEditor_Label[8] = guiCreateLabel(12,504,161,19,"اختصار اخفاء السيارة ",false,GUIEditor_Image[1]) guiSetFont(GUIEditor_Label[8],"default-bold-small") GUIEditor_Label[9] = guiCreateLabel(9,50,397,17,"",false,GUIEditor_Image[1]) GUIEditor_Label[10] = guiCreateLabel(9,65,397,17,"",false,GUIEditor_Image[1]) GUIEditor_Label[11] = guiCreateLabel(9,80,397,17,"",false,GUIEditor_Image[1]) GUIEditor_Label[12] = guiCreateLabel(9,94,397,17,"",false,GUIEditor_Image[1]) GUIEditor_Label[13] = guiCreateLabel(9,109,397,17,"",false,GUIEditor_Image[1]) GUIEditor_Label[14] = guiCreateLabel(9,124,397,17,"",false,GUIEditor_Image[1]) وعليكم السلام ورحمة الله وبركاته اذا كنت تبي تتعلم هذا رآبط يشرح لك عن الوآجهات viewtopic.php?f=119&t=48230 اما بالنسبه اذا تبي الكود جآهز حآضرين للطيبين آهم شي لاتبخل علينا بدعواتك هذا كودك test = { } GUIEditor_Button = {} GUIEditor_Label = {} GUIEditor_Edit = {} GUIEditor_Image = {} GUIEditor_Image[1] = guiCreateStaticImage(0.4675,0.08,0.5213,0.9183,"images/kartha.png",true) GUIEditor_Label[1] = guiCreateLabel(9,147,399,17,"~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~",false,GUIEditor_Image[1]) guiSetFont(GUIEditor_Label[1],"sa-gothic") GUIEditor_Image[2] = guiCreateStaticImage(71,157,91,91,"images/!Repair.png",false,GUIEditor_Image[1]) GUIEditor_Image[3] = guiCreateStaticImage(238,157,93,90,"images/!Flip.png",false,GUIEditor_Image[1]) GUIEditor_Button[1] = guiCreateButton(72,248,93,22,"ßЦ¥ RЄÂpĪR ",false,GUIEditor_Image[1]) GUIEditor_Button[2] = guiCreateButton(242,247,93,22,"ßù¥ բĿĪp",false,GUIEditor_Image[1]) GUIEditor_Image[4] = guiCreateStaticImage(76,273,92,85,"images/!Nitro.png",false,GUIEditor_Image[1]) GUIEditor_Button[3] = guiCreateButton(76,357,93,22,"ßù¥ ñïƚRØ",false,GUIEditor_Image[1]) GUIEditor_Image[5] = guiCreateStaticImage(244,271,93,88,"images/!Invisible.png",false,GUIEditor_Image[1]) GUIEditor_Button[4] = guiCreateButton(246,359,93,22,"ßù¥ ñïƚRØ",false,GUIEditor_Image[1]) GUIEditor_Label[2] = guiCreateLabel(10,387,399,17,"~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~",false,GUIEditor_Image[1]) guiSetFont(GUIEditor_Label[2],"sa-gothic") GUIEditor_Label[3] = guiCreateLabel(316,364,5,5,"",false,GUIEditor_Image[1]) GUIEditor_Label[4] = guiCreateLabel(11,399,399,17,"اختصارات الشوب لكي تسهل عليك الشراء ",false,GUIEditor_Image[1]) guiSetFont(GUIEditor_Label[4],"default-bold-small") GUIEditor_Edit[1] = guiCreateEdit(172,424,205,22,"bind 1 buy reapir",false,GUIEditor_Image[1]) GUIEditor_Edit[2] = guiCreateEdit(173,451,205,22,"bind 2 buy flip",false,GUIEditor_Image[1]) GUIEditor_Edit[3] = guiCreateEdit(172,478,205,22,"",false,GUIEditor_Image[1]) GUIEditor_Edit[4] = guiCreateEdit(174,477,205,22,"bind 3 buy nitro",false,GUIEditor_Image[1]) GUIEditor_Edit[5] = guiCreateEdit(173,504,208,22,"bind 4 buy invisible",false,GUIEditor_Image[1]) GUIEditor_Label[5] = guiCreateLabel(11,426,161,19,"اختصار اصلاح السيارة ",false,GUIEditor_Image[1]) guiSetFont(GUIEditor_Label[5],"default-bold-small") GUIEditor_Label[6] = guiCreateLabel(11,452,161,19,"اختصار تعديل السيارة ",false,GUIEditor_Image[1]) guiSetFont(GUIEditor_Label[6],"default-bold-small") GUIEditor_Label[7] = guiCreateLabel(10,480,161,19,"اختصار نيترو للسيارة ",false,GUIEditor_Image[1]) guiSetFont(GUIEditor_Label[7],"default-bold-small") GUIEditor_Label[8] = guiCreateLabel(12,504,161,19,"اختصار اخفاء السيارة ",false,GUIEditor_Image[1]) guiSetFont(GUIEditor_Label[8],"default-bold-small") GUIEditor_Label[9] = guiCreateLabel(9,50,397,17,"",false,GUIEditor_Image[1]) GUIEditor_Label[10] = guiCreateLabel(9,65,397,17,"",false,GUIEditor_Image[1]) GUIEditor_Label[11] = guiCreateLabel(9,80,397,17,"",false,GUIEditor_Image[1]) GUIEditor_Label[12] = guiCreateLabel(9,94,397,17,"",false,GUIEditor_Image[1]) GUIEditor_Label[13] = guiCreateLabel(9,109,397,17,"",false,GUIEditor_Image[1]) GUIEditor_Label[14] = guiCreateLabel(9,124,397,17,"",false,GUIEditor_Image[1]) guiSetVisible ( GUIEditor_Image[1], false ) bindKey ( "F1", "down", function() local a,b=guiGetScreenSize() local w1,w2=guiGetSize(GUIEditor_Image[1],false) local x,y = (a-w1)/2,(b-w2)/2 guiSetPosition( GUIEditor_Image[1],0,y,false) if ( guiGetVisible ( GUIEditor_Image[1]) == true ) then guiSetVisible ( GUIEditor_Image[1], false ) else guiSetVisible ( GUIEditor_Image[1], true ) test[getLocalPlayer()] = setTimer(moveright,500,0,GUIEditor_Image[1]) end end) function moveright (elm) local a,b=guiGetScreenSize() local w1,w2=guiGetSize(elm,false) local x,y = (a-w1)/2,(b-w2)/2 local x1,y1 = guiGetPosition ( elm, false) if (x1 >= x) then killTimer(test[getLocalPlayer()]) else guiSetPosition(elm,a+10,y,false) end end Edited December 25, 2012 by Guest Link to comment
Mr-Kartha Posted December 25, 2012 Author Share Posted December 25, 2012 تظهر شوي وتختفي وهي في محلها ما تحرك Link to comment
Booo Posted December 25, 2012 Share Posted December 25, 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