Fassol<3 Posted July 15, 2013 Share Posted July 15, 2013 (edited) شباب انا حملت مود عامل الورشة وهاذي صورته أنا ابي احذف أول قائمة مع الصورة ~~Wheels~~1 وهذا هو الملف حقها GUIEditor_Image = {} GUIEditor_Label = {} addEventHandler ("onClientResourceStart",getResourceRootElement(getThisResource()), function() function centerWindow(center_window) local screenW,screenH=guiGetScreenSize() local windowW,windowH=guiGetSize(center_window,false) local x,y = (screenW-windowW)/2,(screenH-windowH)/2 guiSetPosition(center_window,x,y,false) end wel = guiCreateStaticImage(215,189,569,539,"images/wel.png",false) centerWindow( wel ) GUIEditor_Image[1] = guiCreateStaticImage(33,32,104,66,"images/1.png",false,wel) wel1 = guiCreateButton(32,100,104,34,"~~Wheels~~1",false,wel) GUIEditor_Image[2] = guiCreateStaticImage(163,35,111,67,"images/2.png",false,wel) wel2 = guiCreateButton(162,102,112,33,"~~Wheels~~2",false,wel) wel3 = guiCreateButton(300,101,119,33,"~~Wheels~~3",false,wel) GUIEditor_Image[3] = guiCreateStaticImage(299,35,118,65,"images/3.png",false,wel) GUIEditor_Image[4] = guiCreateStaticImage(432,33,113,67,"images/4.png",false,wel) wel4 = guiCreateButton(429,101,109,33,"~~Wheels~~4",false,wel) GUIEditor_Image[5] = guiCreateStaticImage(32,136,104,55,"images/5.png",false,wel) wel5 = guiCreateButton(32,193,105,34,"~~Wheels~~5",false,wel) GUIEditor_Image[6] = guiCreateStaticImage(163,135,111,62,"images/6.png",false,wel) wel6 = guiCreateButton(161,197,113,29,"~~Wheels~~6",false,wel) GUIEditor_Image[7] = guiCreateStaticImage(301,134,119,60,"images/8.png",false,wel) wel7 = guiCreateButton(299,195,120,30,"~~Wheels~~7",false,wel) GUIEditor_Image[8] = guiCreateStaticImage(429,134,107,63,"images/9.png",false,wel) wel8 = guiCreateButton(426,198,111,29,"~~Wheels~~8",false,wel) GUIEditor_Image[9] = guiCreateStaticImage(31,228,105,60,"images/10.png",false,wel) wel9 = guiCreateButton(28,290,108,34,"~~Wheels~~9",false,wel) GUIEditor_Image[10] = guiCreateStaticImage(162,227,113,63,"images/11.png",false,wel) wel10 = guiCreateButton(160,290,118,35,"~~Wheels~~10",false,wel) GUIEditor_Image[11] = guiCreateStaticImage(301,226,116,67,"images/12.png",false,wel) wel11 = guiCreateButton(297,295,121,30,"~~Wheels~~11",false,wel) GUIEditor_Image[12] = guiCreateStaticImage(424,227,111,64,"images/13.png",false,wel) wel12 = guiCreateButton(423,294,113,30,"~~Wheels~~12",false,wel) GUIEditor_Image[13] = guiCreateStaticImage(26,334,145,77,"images/14.png",false,wel) wel13 = guiCreateButton(23,413,149,35,"~~Wheels~~13",false,wel) GUIEditor_Image[14] = guiCreateStaticImage(219,330,147,78,"images/15.png",false,wel) wel14 = guiCreateButton(217,408,153,39,"~~Wheels~~14",false,wel) GUIEditor_Image[15] = guiCreateStaticImage(398,330,134,81,"images/16.png",false,wel) wel15 = guiCreateButton(396,412,137,34,"~~Wheels~~15",false,wel) x = guiCreateButton(250,441,82,41,"اغلاق/close",false,wel) guiSetProperty(wel1,"NormalTextColour", "FF00FF00") guiSetProperty(wel2,"NormalTextColour", "FF00FF00") guiSetProperty(wel3,"NormalTextColour", "FF00FF00") guiSetProperty(wel4,"NormalTextColour", "FF00FF00") guiSetProperty(wel5,"NormalTextColour", "FF00FF00") guiSetProperty(wel6,"NormalTextColour", "FF00FF00") guiSetProperty(wel7,"NormalTextColour", "FF00FF00") guiSetProperty(wel8,"NormalTextColour", "FF00FF00") guiSetProperty(wel9,"NormalTextColour", "FF00FF00") guiSetProperty(wel10,"NormalTextColour", "FF00FF00") guiSetProperty(wel11,"NormalTextColour", "FF00FF00") guiSetProperty(wel12,"NormalTextColour", "FF00FF00") guiSetProperty(wel13,"NormalTextColour", "FF00FF00") guiSetProperty(wel14,"NormalTextColour", "FF00FF00") guiSetProperty(wel15,"NormalTextColour", "FF00FF00") guiSetVisible(wel, false) end) Marker = createMarker(1893.6513671875,797.57531738281,13.9921875,"cylinder",1.5,0,0,225,100) setElementInterior (Marker,0) function marker(player) if getElementType(player) == "player" and player == localPlayer then local pTeam = getPlayerTeam(player) if ( pTeam ) and ( pTeam == getTeamFromName("WorkShop") ) then guiSetVisible(wel, true) showCursor(true) end end end addEventHandler("onClientMarkerHit", Marker, marker) createBlip ( 1893.6513671875,797.57531738281,13.9921875, 27 ) fileDelete("client.lua") Edited July 15, 2013 by Guest Link to comment
فاّرس Posted July 15, 2013 Share Posted July 15, 2013 onClientMarkerHit createMarker guiGetVisible guiSetVisible showCursor Link to comment
MSHOOSH Posted July 15, 2013 Share Posted July 15, 2013 السلام عليكم ورحمة الله وبركاتهشباب انا عملت ماركر وأبي اي احد يلمسه تطلع قائمة فيها جنوط وهيدروليك والخ مساعدهه لو سمحتوا انا معرف كيف createMarker -- اضافه ماركر "onClientMarkerHit" -- حدث اذا لمس الماركر guiSetVisible -- اظهار النافذه showCursor -- اظهار الماوس "onClientGUIClick" -- اذا ضغط زر addVehicleUpgrade -- يضيف التعديلات قائمة التعديلات https://wiki.multitheftauto.com/wiki/Vehicle_Upgrades Link to comment
3NAD Posted July 15, 2013 Share Posted July 15, 2013 احذف ذا السطرين GUIEditor_Image[1] = guiCreateStaticImage(33,32,104,66,"images/1.png",false,wel) wel1 = guiCreateButton(32,100,104,34,"~~Wheels~~1",false,wel) Link to comment
Fassol<3 Posted July 15, 2013 Author Share Posted July 15, 2013 مشكوووووووووووور أخ عناد يعطيكك الف الف عافية بإمكانك إغلاق الموضوع الآن 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