kokoseda Posted January 28, 2017 Share Posted January 28, 2017 بسم الله الرحمن السلام عليكم ي شباب انا عندي مشكلة اتوقع انها من كود البحث .. المشكلة هي اني لا شغلت المود وفتحته من اف 3 ماتجي قائمة الوزنيات ولا كتبت بمربع البحث اي حرف ومسحته تظهر الوزنيات اتمنى الحل Handling = { {" بوبو606 - خلفي","EMPEROR 100000 100000 0.1 0 0 -0.05 70 0.46 0.8 0.7 5 3000 330 16 4 p 99995.492 0.13 false 45 0.95 0.14 0 0.8 -0.4 0.4 0 0 0 35000 0 0 0 1 0"}, {" بومب - آمامي","1500 6200 0.1 0 0 -0.05 70 0.65 0.65 0.733 5 28000 90 60 f p 5.4 0.999 false 45 0.95 0.14 0 0.8 -0.25 0.5 0.3 0 0 19000 0 0 0 3 0"}, {" نيو بوي - آمامي ","1500 6500 0.1 0 0 -0.05 73 0.55 0.55 0.75 5 28000 90 90 f p 5.4 0.999 false 45 0.81 0.23 0 0.5 -0.29 0.6 0.3 0 0 19000 0 0 0 3 0"}, {" دندون - آمامي ","TAHOMA 2222 6200 0.1 0 0 -0.05 70 0.63 0.82 0.73 5 40000 60 90 f p 5.4 0.999 false 35 0.95 0.14 0 0.8 -0.3 0.45 0.3 0 0 35000 0 0 1 1 0"}, {" بوبو - آمآمي","1601 2200 2 0 0 -0.05 70 0.3 0.8 0.9 5 260 33 33 f p 5.4 0.9 false 50 0.85 0.14 0 0.4 -0.14 0.5 0 0.26 0 35000 0 0 1 1 0"}, {" توتو606","BUS 1800 4350 2.2 0 0 -0.1 80 0.6 0.85 0.7 5 800 200 16 4 p 8 0.5 false 50 0.8 0.08 0 0.9 -0.7 0.5 0 0.36 0 15000 40000000 10000000 1 1 16"}, {" دحيم - ترفيع","BLISTAC 5500 49187.898 5 -0.25 0 -0.25 90 0.6 0.9 0.5 4 509 15 99 r p 3.5 0.4 false 30 1 0.06 0 0.45 -0.25 0.55 0.3 0.45 0.2 35000 4008 200 1 1 0"}, {" اليافعي ","ADMIRAL 2200 5000 1.8 0 0.1 -0.1 75 0.7 0.8 0.46 5 100000 800 10 4 p 6 0.55 false 30 1 0.1 0 0.35 -0.05 0.4 0.3 0.2 0.3 35000 40000000 10400000 0 1 0"}, {" بلهيد","PREVION 1500 6200 0.1 0 0 -0.05 70 0.5 0.8 0.7 5 800 33 16 f p 5.4 0.999 false 45 0.95 0.14 0 0.8 -0.25 0.5 0.3 0 0 9000 0 0 0 0 0"}, {" كي آس آيه","PREVION 1800 4350 2.2 0 0 -0.1 80 0.6 0.85 0.7 5 800 200 16 f p 8 0.5 false 50 0.8 0.08 0 0.9 -0.7 0.5 0 0.36 0 9000 40000000 10000000 0 0 0"}, {" سبيدر","TURISMO 1600 2200 0.1 0 0 -0.05 70 0.5 0.8 0.7 5 300 33 16 4 p 5.4 0.9 false 45 0.95 0.14 0 0.8 -0.1 0.5 0 0 0 95000 0 0 1 1 1"}, {" تسلق الجدران والبيوت","TURISMO 1400 2000 2 0 0.5 -2 75 99 99 0.52 5 230 50 2 4 p 2000 0.1 false 30 1 0.13 3 0.3 -2 0.6 0.3 0.2 0 95000 40000000 400000 1 1 1"}, {" السيارة فوق","TURISMO 1200 36670.801 5 0 0 -9.9 100 5 5 0.9 5 170 100 10 r d 88765 0.45 false 27 9 0.09 0 0.61 -10 0.5 0 0.2 0 95000 4098 0 1 1 1"}, {" عمر","TURISMO 1600 2200 0.1 0 0 -0.05 70 0.5 0.8 0.7 5 300 33 16 4 p 5.4 0.9 false 45 0.95 0.14 0 0.8 -0.1 0.5 0.3 0 0 95000 0 0 1 1 1"}, {" كيمو","WINDSOR 1600 2200 0.1 0 0 -0.05 70 0.46 0.8 0.7 5 99999 99999 32 4 e 5.4 0.13 false 65 0.95 0.14 0 0.8 -0.3 0.5 0.3 0 0 35000 0 0 1 1 1"}, {"سكرن - ربأعي","1600 2200 0.1 0 0 -0.05 70 0.46 0.8 0.7 5 100000 3505 18 4 d 5.4 0.13 false 70 0.85 0.15 0 0.15 -0.2 0.5 0 0 0 10000 0 0 1 1 4"}, {"سراب - آمامي","1500 6500 1.9 0 0 -0.7 73 0.578 0.5 0.75 5 15000 75 27 f p 5.6 0.975 false 45 0.81 0.23 0 0.5 -0.29 0.6 0 0.2 0 10000 20 0 1 1 0"}, {"كـآبوس - آمامي"," 6000 5500 0.1 0 0 0 70 0.4 0.7 0.7 3 40000 60 90 f d 999.999 0.999 false 35 0.7 0.14 0 0.4 -0.2 0.6 0.37 0 0 10000 20 0 1 1 0"}, {"خالد العمري - آمامي","1800 4350 2.2 0 0 -0.1 80 0.6 0.85 0.7 5 800 200 16 f p 8 0.5 false 50 0.8 0.08 0 0.9 -0.7 0.5 0 0.36 0 95000 40000000 10000000 1 1 1"}, {"حسن","1600 2200 0.1 0 0 -0.05 70 0.47 0.8 0.7 5 500 45 16 f p 5.4 0.9 false 45 0.95 0.14 0 0.8 -0.4 0.5 0"}, {"تدريس","2222 9777 0.1 0 0 -0.036 79 0.65 0.8 0.72 5 40000 59 90 f p 5.4 0.988 false 35 0.95 0.14 0 1.1 -0.4 0.5 0.2 0.24 0 10000 0 8400 1 1 0"}, {" مسرع بشويش","1500.0 1200.0 0.1 0.0 0.0 -0.05 70 0.50 0.8 0.70 5 800.0 33.0 16.0 F P 5.4 0.90 1 45.0 0.95 0.14 0.0 0.80 -0.25 0.5 -0.7 0.00 0.00 19000 0 0 0 3 0"}, {" ابو زهرة","1400 2800 2 0 -0.2 -0.24 70 0.75 0.86 0.48 5 8000 8000 5 4 d 8 0.52 false 45 1 0.2 0 0.25 -0.1 0.5 0.3 0.4 0 105000 40002004 208000 0 0 1"}, {" ترفيع","5500 33187.9 5 0 0 -0.2 90 0.6 0.9 0.5 4 110 20 30 R D 3.5 0.4 0 30 1 0.06 0 0.45 -0.25 0.55 0.3 0.45 0.2 5000 4008 200 0 1 0"}, {" نواف للترفيع","5500 49187.898 5 -0.25 0 -0.25 90 0.6 0.9 0.5 4 509 15 99 r p 3.5 0.4 false 30 1 0.06 0 0.45 -0.25 0.55 0.3 0.45 0.2 35000 4008 200 1 1 1"}, {" ابو لجين","1601 2200 1.8 0 0 -0.05 70 0.5 0.8 0.7 5 220 33 16 4 p 5.4 0.9 false 40 0.85 0.14 0 0.4 -0.14 0.5 0 0.26 0 105000 0 0 0 0 1"}, {" ابو صقر","0 2200.0 0.-1 0.0 0.-0 -0.05 -70 0.50 0.8 0.70 5 220.0 33.0 16.0 F P 5.4 0.90 1 40.0 0.85 0.14 0.0 0.40 -0.14 0.5 0.0 0.26 0.00 19000 0 0 0 3 0"}, {" سرعه صاروخية","2600 3000 0 0 0.2 -0.7 70 2 2 0.4 5 200000 1000 9.9 4 e 52 0.52 false 30 1.2 0.7 0 0.31 -0.15 0.5 0.3 0.24 0 45000 0 C00000 1 1 1"}, {" بدور","0 2200.0 0.-1 0.0 0.-0 -0.05 -70 0.50 0.8 0.70 5 220.0 33.0 16.0 F P 5.4 0.90 1 40.0 0.85 0.14 0.0 0.40 -0.14 0.5 0.0 0.26 0.00 19000 0 0 0 3 0"}, {" فرنسي الشرق","0 2200.0 0.-1 0.0 0.-0 -0.05 -70 0.30 0.8 0.70 5 260.0 33.0 33.0 F P 5.4 0.90 1 50.0 0.85 0.14 0.0 0.40 -0.14 0.5 0.0 0.26 0.00 19000 0 0 0 3 0"}, {" كنق التطويف","1500.0 1200.0 0.1 0.0 0.0 -0.05 70 0.50 0.8 0.70 5 800.0 33.0 16.0 F P 5.4 0.90 1 45.0 0.95 0.14 0.0 0.80 -0.10 0.5 -0.7 0.00 0.00 19000 0 0 0 3 0"}, {" درفت","1600.0 2200.0 0.1 0.0 0.0 -0.05 70 0.50 0.8 0.70 5 220.0 33.0 16.0 F P 5.4 0.90 1 40.0 0.85 0.14 0.0 0.40 -0.14 0.5 0.0 0.26 0.00 19000 0 0 0 3 0"}, {" مسرع بشويش بلص","1500.0 1200.0 0.1 0.0 0.0 -0.05 70 0.50 0.8 0.70 5 800.0 33.0 16.0 F P 5.4 0.90 1 45.0 0.95 0.14 0.0 0.80 -0.25 0.5 -0.7 0.00 0.00 19000 0 0 0 3 0"}, {" ماي كاب","6500 36670.8 3 0 0 0 90 0.55 0.8 0.5 5 170 27 10 R D 10 0.45 0 27 1.2 0.08 0 0.47 -0.17 0.5 0 0.2 0.26 15000 4098 0 0 1 2"}, {" رفع 2","1450 4056.4 2.2 0 0.3 -0.25 75 0.8 0.75 0.45 5 180 19 10 F P 9.1 0.6 0 35 1.4 0.1 0 0.25 -0.15 0.54 0 0.2 0.51 20000 0 200000 0 1 0"}, {" هجولة","1600.0 2200.0 0.1 0.0 0.0 -0.05 70 0.46 0.8 0.70 5 300.0 33.0 16.0 F P 5.4 0.130 1 45.0 0.95 0.14 0.0 0.80 -0.24 0.5 -0.7 0.00 0.00 19000 0 0 0 3 0"}, {" مشاري","1600.0 2200.0 0.1 0.0 0.0 -0.05 70 0.50 0.8 0.70 5 300.0 33.0 16.0 F P 5.4 0.90 1 45.0 0.95 0.14 0.0 0.80 -0.10 0.5 -0.7 0.00 0.00 19000 0 0 0 3 0"}, {" النخيل","0 2200.0 0.-1 0.0 0.-0 -0.05 -70 0.50 0.8 0.70 5 220.0 33.0 16.0 F P 5.4 0.90 1 40.0 0.85 0.14 0.0 0.40 -0.14 0.5 0.0 0.26 0.00 19000 0 0 0 3 0"}, {" مهجول مجنون","2000.0 4400.0 1.2 0.0 0.24 -0.15 75 0.734 0.734 0.509 5 210.0 24.3 5.8 R P 18.0 0.54 1 33.5 0.935 0.08 2.0 0.285 -0.147 0.5 0.09 0.2 0.51 35000 110000 1000000 0 1 0"}, {" اللعبة الاصليه","1200.0 2998.3 2.0 0.0 0.1 -0.8 75 0.70 0.80 0.47 5 350.0 50.0 5.0 R P 8.0 0.45 0 55.0 1.4 0.15 0.0 0.28 -0.05 0.5 0.3 0.25 0.10 35000 00110000 00c24007 0 2 0"}, {" توب","1600.0 2200.0 0.1 0.0 0.0 -0.05 70 0.46 0.8 0.70 5 300.0 33.0 16.0 F P 5.4 0.130 1 45.0 0.95 0.14 0.0 0.80 -0.23 0.5 -0.7 0.00 0.00 19000 0 0 0 3 0"}, {" اواكس","1600.0 2200.0 0.1 0.0 0.0 -0.05 70 0.50 0.8 0.70 5 300.0 33.0 16.0 F P 5.4 0.90 1 45.0 0.95 0.14 0.0 0.80 -0.10 0.5 -0.7 0.00 0.00 19000 0 0 0 3 0"}, {" تنكيس","1600.0 2200.0 0.1 0.0 0.0 -0.05 70 0.50 0.8 0.70 5 300.0 33.0 16.0 F P 5.4 0.90 1 45.0 0.95 0.14 0.0 0.80 -0.10 0.5 -0.7 0.00 0.00 19000 0 0 0 3 0"}, {" تطعيس","1400 2725.3 0 0 0 -0.25 70 0.7 0.8 0.5 5 2500 15 0.2 R P 52 0.52 0 30 1.2 0.5 0 0.25 -0.1 0.5 0.4 0.37 0.045 95000 40002004 C04000 1 1 1"}, {" اليقضان","1600.0 2200.0 0.1 0.0 0.0 -0.05 70 0.47 0.8 0.70 5 300.0 33.0 16.0 F P 5.4 0.90 1 45.0 0.95 0.14 0.0 0.80 -0.18 0.5 -0.7 0.00 0.00 19000 0 0 0 3 0"}, {" تهبيط","1600.0 2200.0 0.1 0.0 0.0 -0.05 70 0.50 0.8 0.70 5 300.0 33.0 16.0 F P 5.4 0.90 1 45.0 0.95 0.14 0.0 0.80 -0.10 0.5 -0.7 0.00 0.00 19000 0 0 0 3 0"}, {" لجند","1600.0 2200.0 0.1 0.0 0.0 -0.05 70 0.50 0.8 0.70 5 300.0 33.0 16.0 F P 5.4 0.90 1 45.0 0.95 0.14 0.0 0.80 -0.10 0.5 -0.7 0.00 0.00 19000 0 0 0 3 0"}, {" ابو وزا","1600.0 2200.0 0.1 0.0 0.0 -0.05 70 0.46 0.8 0.70 5 300.0 33.0 16.0 F P 5.4 0.130 1 45.0 0.95 0.14 0.0 0.80 -0.24 0.5 -0.7 0.00 0.00 19000 0 0 0 3 0"}, {" هجولة الدائري","1600.0 2200.0 0.1 0.0 0.0 -0.05 70 0.50 0.8 0.70 5 300.0 33.0 16.0 F P 5.4 0.90 1 45.0 0.95 0.14 0.0 0.80 -0.10 0.5 -0.7 0.00 0.00 19000 0 0 0 3 0"}, {" البليهد","1500.0 6200.0 0.1 0.0 0.0 -0.05 70 0.50 0.8 0.70 5 800.0 33.0 16.0 F P 5.4 0.9990 1 45.0 0.95 0.14 0.0 0.80 -0.25 0.5 -0.7 0.00 0.00 19000 0 0 0 3 0"}, {" ابو شنب","1600.0 1900.0 0.1 0.0 0.0 -0.05 70 0.50 0.8 0.70 5 800.0 33.0 16.0 F P 2.1 999.90 1 45.0 2.5 0.14 0.0 1.20 -0.10 0.5 -0.7 0.00 0.00 19000 999 999 0 3 0"}, {" تفجير","8000 2200 2 0 0 -0.05 70 0.4 0.3 0.5 5 220 33 16 r p 5.4 0.9 false 40 0.85 0.3 0 0.7 -0.21 0.4 0 0.26 0 35000 0 0 1 1 1"}, {" تفجير2","1601 2200 1.8 0 0 -0.05 70 0.5 0.8 0.7 5 220 33 16 r p 5.4 0.9 false 40 0.85 0.14 0 0.4 -0.1 0.3 0 0.26 0 35000 0 0 1 1 1"}, {" كي اس ايه","1800 4350 2.2 0 0 -0.1 80 0.6 0.85 0.7 5 800 200 16 f p 8 0.5 false 50 0.8 0.08 0 0.9 -0.7 0.5 0 0.36 0 35000 40000000 10000000 1 1 0"}, {" كسر الدرفت على البحر","1400 3500 0 0 0 -0.9 120 2 10 0.8 5 99999 99999 10 4 p 52 0.52 false 77 1.2 0.7 0 0.31 -0.15 0.5 0.3 0.24 0 19000 EC0000 C00001 0 3 0"}, {" تحريك الكفر اللي ورا","5000 20000 3 0 0 -0.35 80 0.65 0.85 0.55 5 110 18 25 4 p 7 0.45 false 35 1.5 0.07 0 0.45 -0.3 0.5 0.3 0.44 0.35 35000 28 1300045 0 1 0"}, {" تنطيل","1800 2200 2.2 0 0 -0.01 80 0.6 0.85 0.7 5 220 33 16 f p 8 0.5 false 40 0.8 0.08 0 0.9 -0.6 0.5 0 0.26 0 19000 0 0 0 3 0"}, {" خطيرة","1600.0 2200.0 0.1 0.0 0.0 -0.05 70 0.47 0.8 0.70 5 300.0 33.0 16.0 F P 5.4 0.90 1 45.0 0.95 0.14 0.0 0.80 -0.18 0.5 -0.7 0.00 0.00 19000 0 0 0 3 0"}, {" هتلر","1500 3500 2.2 0 0.3 -0.15 75 1 0.9 0.5 5 190000 90000 1000 4 p 8 0.5 false 75 1 0.2 0 0.28 -0.1 0.5 0.3 0.25 0 45000 40002800 4000000 1 1 1"}, {" رفع + سرعه","1700 5008.3 2.5 0 0 -0.3 85 0.75 0.85 0.5 5 99999 99999 20 4 d 6.2 0.6 false 75 2.4 0.08 0 0.28 -1 0.5 0.25 0.27 0.23 105000 20 500002 0 0 1"}, } GUIEditor = { staticimage = {} } addEventHandler("onClientResourceStart", resourceRoot, function() local screenW, screenH = guiGetScreenSize() GUIEditor.staticimage[1] = guiCreateStaticImage((screenW - 504) / 2, (screenH - 607) / 2, 504, 607, "back.png", false) guiSetVisible(GUIEditor.staticimage[1],false) edit = guiCreateEdit(76, 111, 351, 39, "بحـــــــــــــــــث ...", false, GUIEditor.staticimage[1]) grid = guiCreateGridList(76, 170, 351, 334, false, GUIEditor.staticimage[1]) guiGridListAddColumn(grid, "#", 0.5) guiGridListAddColumn(grid, "Handling", 0.5) ok = guiCreateButton(177, 521, 150, 70, "إختيار", false, GUIEditor.staticimage[1]) guiSetAlpha(ok, 0.00) end ) bindKey("F3","down", function () guiSetVisible(GUIEditor.staticimage[1],not guiGetVisible(GUIEditor.staticimage[1])) showCursor(guiGetVisible(GUIEditor.staticimage[1])) end ) function wzneyat2() removeEventHandler("onClientRender", root,wzneyat2) guiGetText(edit,"بحـــــــــــــــــث ...") for i,ha in ipairs(Handling) do local row = guiGridListAddRow(grid) guiGridListSetItemText(grid,row,1,''..i..'-',false,false) guiGridListSetItemText(grid,row,2,ha[1],false,false) guiGridListSetItemData(grid,row,1,{ha[2],ha[3],ha[4]}) guiGridListSetItemColor(grid,row,2,math.random(0,200),math.random(0,200),math.random(0,188)) guiGridListSetItemColor(grid,row,1,math.random(0,200),math.random(0,200),math.random(0,188)) end end addEventHandler("onClientGUIClick",root, function () local sel = guiGridListGetSelectedItem(grid) if source == ok then if sel ~= -1 then if not isPedInVehicle(localPlayer) then return outputChatBox("ليس لديك سيارة لتطبيق الوزنية",255,0,0,true) end; local hand = unpack(guiGridListGetItemData(grid,sel,1)) importHandling(getPedOccupiedVehicle(localPlayer), hand, "SA") setTimer(function() guiSetVisible (wnd, false) end,900,1,true) outputChatBox(" تم تركيب الوزنية بنجاح ",255,255,0) else outputChatBox(" الرجاء اختيار وزنية ",255,255,0) end end end ) addEventHandler("onClientGUIChanged",root, function () if ( source == edit ) then local text = guiGetText(edit) if ( text == "" ) then guiGridListClear(grid) wzneyat2() else guiGridListClear(grid) for i,ha in ipairs(Handling) do local name = ha[1] if string.find(name,text) then local row = guiGridListAddRow(grid) guiGridListSetItemText(grid,row,1,''..i..'-',false,false) guiGridListSetItemText(grid,row,2,name,false,false) guiGridListSetItemColor(grid,row,1,math.random(0,255),math.random(0,255),math.random(0,255)) guiGridListSetItemColor(grid,row,2,math.random(0,255),math.random(0,255),math.random(0,255)) end end end end end ) Link to comment
Abu-Solo Posted January 28, 2017 Share Posted January 28, 2017 (edited) Handling = { {" بوبو606 - خلفي","EMPEROR 100000 100000 0.1 0 0 -0.05 70 0.46 0.8 0.7 5 3000 330 16 4 p 99995.492 0.13 false 45 0.95 0.14 0 0.8 -0.4 0.4 0 0 0 35000 0 0 0 1 0"}, {" بومب - آمامي","1500 6200 0.1 0 0 -0.05 70 0.65 0.65 0.733 5 28000 90 60 f p 5.4 0.999 false 45 0.95 0.14 0 0.8 -0.25 0.5 0.3 0 0 19000 0 0 0 3 0"}, {" نيو بوي - آمامي ","1500 6500 0.1 0 0 -0.05 73 0.55 0.55 0.75 5 28000 90 90 f p 5.4 0.999 false 45 0.81 0.23 0 0.5 -0.29 0.6 0.3 0 0 19000 0 0 0 3 0"}, {" دندون - آمامي ","TAHOMA 2222 6200 0.1 0 0 -0.05 70 0.63 0.82 0.73 5 40000 60 90 f p 5.4 0.999 false 35 0.95 0.14 0 0.8 -0.3 0.45 0.3 0 0 35000 0 0 1 1 0"}, {" بوبو - آمآمي","1601 2200 2 0 0 -0.05 70 0.3 0.8 0.9 5 260 33 33 f p 5.4 0.9 false 50 0.85 0.14 0 0.4 -0.14 0.5 0 0.26 0 35000 0 0 1 1 0"}, {" توتو606","BUS 1800 4350 2.2 0 0 -0.1 80 0.6 0.85 0.7 5 800 200 16 4 p 8 0.5 false 50 0.8 0.08 0 0.9 -0.7 0.5 0 0.36 0 15000 40000000 10000000 1 1 16"}, {" دحيم - ترفيع","BLISTAC 5500 49187.898 5 -0.25 0 -0.25 90 0.6 0.9 0.5 4 509 15 99 r p 3.5 0.4 false 30 1 0.06 0 0.45 -0.25 0.55 0.3 0.45 0.2 35000 4008 200 1 1 0"}, {" اليافعي ","ADMIRAL 2200 5000 1.8 0 0.1 -0.1 75 0.7 0.8 0.46 5 100000 800 10 4 p 6 0.55 false 30 1 0.1 0 0.35 -0.05 0.4 0.3 0.2 0.3 35000 40000000 10400000 0 1 0"}, {" بلهيد","PREVION 1500 6200 0.1 0 0 -0.05 70 0.5 0.8 0.7 5 800 33 16 f p 5.4 0.999 false 45 0.95 0.14 0 0.8 -0.25 0.5 0.3 0 0 9000 0 0 0 0 0"}, {" كي آس آيه","PREVION 1800 4350 2.2 0 0 -0.1 80 0.6 0.85 0.7 5 800 200 16 f p 8 0.5 false 50 0.8 0.08 0 0.9 -0.7 0.5 0 0.36 0 9000 40000000 10000000 0 0 0"}, {" سبيدر","TURISMO 1600 2200 0.1 0 0 -0.05 70 0.5 0.8 0.7 5 300 33 16 4 p 5.4 0.9 false 45 0.95 0.14 0 0.8 -0.1 0.5 0 0 0 95000 0 0 1 1 1"}, {" تسلق الجدران والبيوت","TURISMO 1400 2000 2 0 0.5 -2 75 99 99 0.52 5 230 50 2 4 p 2000 0.1 false 30 1 0.13 3 0.3 -2 0.6 0.3 0.2 0 95000 40000000 400000 1 1 1"}, {" السيارة فوق","TURISMO 1200 36670.801 5 0 0 -9.9 100 5 5 0.9 5 170 100 10 r d 88765 0.45 false 27 9 0.09 0 0.61 -10 0.5 0 0.2 0 95000 4098 0 1 1 1"}, {" عمر","TURISMO 1600 2200 0.1 0 0 -0.05 70 0.5 0.8 0.7 5 300 33 16 4 p 5.4 0.9 false 45 0.95 0.14 0 0.8 -0.1 0.5 0.3 0 0 95000 0 0 1 1 1"}, {" كيمو","WINDSOR 1600 2200 0.1 0 0 -0.05 70 0.46 0.8 0.7 5 99999 99999 32 4 e 5.4 0.13 false 65 0.95 0.14 0 0.8 -0.3 0.5 0.3 0 0 35000 0 0 1 1 1"}, {"سكرن - ربأعي","1600 2200 0.1 0 0 -0.05 70 0.46 0.8 0.7 5 100000 3505 18 4 d 5.4 0.13 false 70 0.85 0.15 0 0.15 -0.2 0.5 0 0 0 10000 0 0 1 1 4"}, {"سراب - آمامي","1500 6500 1.9 0 0 -0.7 73 0.578 0.5 0.75 5 15000 75 27 f p 5.6 0.975 false 45 0.81 0.23 0 0.5 -0.29 0.6 0 0.2 0 10000 20 0 1 1 0"}, {"كـآبوس - آمامي"," 6000 5500 0.1 0 0 0 70 0.4 0.7 0.7 3 40000 60 90 f d 999.999 0.999 false 35 0.7 0.14 0 0.4 -0.2 0.6 0.37 0 0 10000 20 0 1 1 0"}, {"خالد العمري - آمامي","1800 4350 2.2 0 0 -0.1 80 0.6 0.85 0.7 5 800 200 16 f p 8 0.5 false 50 0.8 0.08 0 0.9 -0.7 0.5 0 0.36 0 95000 40000000 10000000 1 1 1"}, {"حسن","1600 2200 0.1 0 0 -0.05 70 0.47 0.8 0.7 5 500 45 16 f p 5.4 0.9 false 45 0.95 0.14 0 0.8 -0.4 0.5 0"}, {"تدريس","2222 9777 0.1 0 0 -0.036 79 0.65 0.8 0.72 5 40000 59 90 f p 5.4 0.988 false 35 0.95 0.14 0 1.1 -0.4 0.5 0.2 0.24 0 10000 0 8400 1 1 0"}, {" مسرع بشويش","1500.0 1200.0 0.1 0.0 0.0 -0.05 70 0.50 0.8 0.70 5 800.0 33.0 16.0 F P 5.4 0.90 1 45.0 0.95 0.14 0.0 0.80 -0.25 0.5 -0.7 0.00 0.00 19000 0 0 0 3 0"}, {" ابو زهرة","1400 2800 2 0 -0.2 -0.24 70 0.75 0.86 0.48 5 8000 8000 5 4 d 8 0.52 false 45 1 0.2 0 0.25 -0.1 0.5 0.3 0.4 0 105000 40002004 208000 0 0 1"}, {" ترفيع","5500 33187.9 5 0 0 -0.2 90 0.6 0.9 0.5 4 110 20 30 R D 3.5 0.4 0 30 1 0.06 0 0.45 -0.25 0.55 0.3 0.45 0.2 5000 4008 200 0 1 0"}, {" نواف للترفيع","5500 49187.898 5 -0.25 0 -0.25 90 0.6 0.9 0.5 4 509 15 99 r p 3.5 0.4 false 30 1 0.06 0 0.45 -0.25 0.55 0.3 0.45 0.2 35000 4008 200 1 1 1"}, {" ابو لجين","1601 2200 1.8 0 0 -0.05 70 0.5 0.8 0.7 5 220 33 16 4 p 5.4 0.9 false 40 0.85 0.14 0 0.4 -0.14 0.5 0 0.26 0 105000 0 0 0 0 1"}, {" ابو صقر","0 2200.0 0.-1 0.0 0.-0 -0.05 -70 0.50 0.8 0.70 5 220.0 33.0 16.0 F P 5.4 0.90 1 40.0 0.85 0.14 0.0 0.40 -0.14 0.5 0.0 0.26 0.00 19000 0 0 0 3 0"}, {" سرعه صاروخية","2600 3000 0 0 0.2 -0.7 70 2 2 0.4 5 200000 1000 9.9 4 e 52 0.52 false 30 1.2 0.7 0 0.31 -0.15 0.5 0.3 0.24 0 45000 0 C00000 1 1 1"}, {" بدور","0 2200.0 0.-1 0.0 0.-0 -0.05 -70 0.50 0.8 0.70 5 220.0 33.0 16.0 F P 5.4 0.90 1 40.0 0.85 0.14 0.0 0.40 -0.14 0.5 0.0 0.26 0.00 19000 0 0 0 3 0"}, {" فرنسي الشرق","0 2200.0 0.-1 0.0 0.-0 -0.05 -70 0.30 0.8 0.70 5 260.0 33.0 33.0 F P 5.4 0.90 1 50.0 0.85 0.14 0.0 0.40 -0.14 0.5 0.0 0.26 0.00 19000 0 0 0 3 0"}, {" كنق التطويف","1500.0 1200.0 0.1 0.0 0.0 -0.05 70 0.50 0.8 0.70 5 800.0 33.0 16.0 F P 5.4 0.90 1 45.0 0.95 0.14 0.0 0.80 -0.10 0.5 -0.7 0.00 0.00 19000 0 0 0 3 0"}, {" درفت","1600.0 2200.0 0.1 0.0 0.0 -0.05 70 0.50 0.8 0.70 5 220.0 33.0 16.0 F P 5.4 0.90 1 40.0 0.85 0.14 0.0 0.40 -0.14 0.5 0.0 0.26 0.00 19000 0 0 0 3 0"}, {" مسرع بشويش بلص","1500.0 1200.0 0.1 0.0 0.0 -0.05 70 0.50 0.8 0.70 5 800.0 33.0 16.0 F P 5.4 0.90 1 45.0 0.95 0.14 0.0 0.80 -0.25 0.5 -0.7 0.00 0.00 19000 0 0 0 3 0"}, {" ماي كاب","6500 36670.8 3 0 0 0 90 0.55 0.8 0.5 5 170 27 10 R D 10 0.45 0 27 1.2 0.08 0 0.47 -0.17 0.5 0 0.2 0.26 15000 4098 0 0 1 2"}, {" رفع 2","1450 4056.4 2.2 0 0.3 -0.25 75 0.8 0.75 0.45 5 180 19 10 F P 9.1 0.6 0 35 1.4 0.1 0 0.25 -0.15 0.54 0 0.2 0.51 20000 0 200000 0 1 0"}, {" هجولة","1600.0 2200.0 0.1 0.0 0.0 -0.05 70 0.46 0.8 0.70 5 300.0 33.0 16.0 F P 5.4 0.130 1 45.0 0.95 0.14 0.0 0.80 -0.24 0.5 -0.7 0.00 0.00 19000 0 0 0 3 0"}, {" مشاري","1600.0 2200.0 0.1 0.0 0.0 -0.05 70 0.50 0.8 0.70 5 300.0 33.0 16.0 F P 5.4 0.90 1 45.0 0.95 0.14 0.0 0.80 -0.10 0.5 -0.7 0.00 0.00 19000 0 0 0 3 0"}, {" النخيل","0 2200.0 0.-1 0.0 0.-0 -0.05 -70 0.50 0.8 0.70 5 220.0 33.0 16.0 F P 5.4 0.90 1 40.0 0.85 0.14 0.0 0.40 -0.14 0.5 0.0 0.26 0.00 19000 0 0 0 3 0"}, {" مهجول مجنون","2000.0 4400.0 1.2 0.0 0.24 -0.15 75 0.734 0.734 0.509 5 210.0 24.3 5.8 R P 18.0 0.54 1 33.5 0.935 0.08 2.0 0.285 -0.147 0.5 0.09 0.2 0.51 35000 110000 1000000 0 1 0"}, {" اللعبة الاصليه","1200.0 2998.3 2.0 0.0 0.1 -0.8 75 0.70 0.80 0.47 5 350.0 50.0 5.0 R P 8.0 0.45 0 55.0 1.4 0.15 0.0 0.28 -0.05 0.5 0.3 0.25 0.10 35000 00110000 00c24007 0 2 0"}, {" توب","1600.0 2200.0 0.1 0.0 0.0 -0.05 70 0.46 0.8 0.70 5 300.0 33.0 16.0 F P 5.4 0.130 1 45.0 0.95 0.14 0.0 0.80 -0.23 0.5 -0.7 0.00 0.00 19000 0 0 0 3 0"}, {" اواكس","1600.0 2200.0 0.1 0.0 0.0 -0.05 70 0.50 0.8 0.70 5 300.0 33.0 16.0 F P 5.4 0.90 1 45.0 0.95 0.14 0.0 0.80 -0.10 0.5 -0.7 0.00 0.00 19000 0 0 0 3 0"}, {" تنكيس","1600.0 2200.0 0.1 0.0 0.0 -0.05 70 0.50 0.8 0.70 5 300.0 33.0 16.0 F P 5.4 0.90 1 45.0 0.95 0.14 0.0 0.80 -0.10 0.5 -0.7 0.00 0.00 19000 0 0 0 3 0"}, {" تطعيس","1400 2725.3 0 0 0 -0.25 70 0.7 0.8 0.5 5 2500 15 0.2 R P 52 0.52 0 30 1.2 0.5 0 0.25 -0.1 0.5 0.4 0.37 0.045 95000 40002004 C04000 1 1 1"}, {" اليقضان","1600.0 2200.0 0.1 0.0 0.0 -0.05 70 0.47 0.8 0.70 5 300.0 33.0 16.0 F P 5.4 0.90 1 45.0 0.95 0.14 0.0 0.80 -0.18 0.5 -0.7 0.00 0.00 19000 0 0 0 3 0"}, {" تهبيط","1600.0 2200.0 0.1 0.0 0.0 -0.05 70 0.50 0.8 0.70 5 300.0 33.0 16.0 F P 5.4 0.90 1 45.0 0.95 0.14 0.0 0.80 -0.10 0.5 -0.7 0.00 0.00 19000 0 0 0 3 0"}, {" لجند","1600.0 2200.0 0.1 0.0 0.0 -0.05 70 0.50 0.8 0.70 5 300.0 33.0 16.0 F P 5.4 0.90 1 45.0 0.95 0.14 0.0 0.80 -0.10 0.5 -0.7 0.00 0.00 19000 0 0 0 3 0"}, {" ابو وزا","1600.0 2200.0 0.1 0.0 0.0 -0.05 70 0.46 0.8 0.70 5 300.0 33.0 16.0 F P 5.4 0.130 1 45.0 0.95 0.14 0.0 0.80 -0.24 0.5 -0.7 0.00 0.00 19000 0 0 0 3 0"}, {" هجولة الدائري","1600.0 2200.0 0.1 0.0 0.0 -0.05 70 0.50 0.8 0.70 5 300.0 33.0 16.0 F P 5.4 0.90 1 45.0 0.95 0.14 0.0 0.80 -0.10 0.5 -0.7 0.00 0.00 19000 0 0 0 3 0"}, {" البليهد","1500.0 6200.0 0.1 0.0 0.0 -0.05 70 0.50 0.8 0.70 5 800.0 33.0 16.0 F P 5.4 0.9990 1 45.0 0.95 0.14 0.0 0.80 -0.25 0.5 -0.7 0.00 0.00 19000 0 0 0 3 0"}, {" ابو شنب","1600.0 1900.0 0.1 0.0 0.0 -0.05 70 0.50 0.8 0.70 5 800.0 33.0 16.0 F P 2.1 999.90 1 45.0 2.5 0.14 0.0 1.20 -0.10 0.5 -0.7 0.00 0.00 19000 999 999 0 3 0"}, {" تفجير","8000 2200 2 0 0 -0.05 70 0.4 0.3 0.5 5 220 33 16 r p 5.4 0.9 false 40 0.85 0.3 0 0.7 -0.21 0.4 0 0.26 0 35000 0 0 1 1 1"}, {" تفجير2","1601 2200 1.8 0 0 -0.05 70 0.5 0.8 0.7 5 220 33 16 r p 5.4 0.9 false 40 0.85 0.14 0 0.4 -0.1 0.3 0 0.26 0 35000 0 0 1 1 1"}, {" كي اس ايه","1800 4350 2.2 0 0 -0.1 80 0.6 0.85 0.7 5 800 200 16 f p 8 0.5 false 50 0.8 0.08 0 0.9 -0.7 0.5 0 0.36 0 35000 40000000 10000000 1 1 0"}, {" كسر الدرفت على البحر","1400 3500 0 0 0 -0.9 120 2 10 0.8 5 99999 99999 10 4 p 52 0.52 false 77 1.2 0.7 0 0.31 -0.15 0.5 0.3 0.24 0 19000 EC0000 C00001 0 3 0"}, {" تحريك الكفر اللي ورا","5000 20000 3 0 0 -0.35 80 0.65 0.85 0.55 5 110 18 25 4 p 7 0.45 false 35 1.5 0.07 0 0.45 -0.3 0.5 0.3 0.44 0.35 35000 28 1300045 0 1 0"}, {" تنطيل","1800 2200 2.2 0 0 -0.01 80 0.6 0.85 0.7 5 220 33 16 f p 8 0.5 false 40 0.8 0.08 0 0.9 -0.6 0.5 0 0.26 0 19000 0 0 0 3 0"}, {" خطيرة","1600.0 2200.0 0.1 0.0 0.0 -0.05 70 0.47 0.8 0.70 5 300.0 33.0 16.0 F P 5.4 0.90 1 45.0 0.95 0.14 0.0 0.80 -0.18 0.5 -0.7 0.00 0.00 19000 0 0 0 3 0"}, {" هتلر","1500 3500 2.2 0 0.3 -0.15 75 1 0.9 0.5 5 190000 90000 1000 4 p 8 0.5 false 75 1 0.2 0 0.28 -0.1 0.5 0.3 0.25 0 45000 40002800 4000000 1 1 1"}, {" رفع + سرعه","1700 5008.3 2.5 0 0 -0.3 85 0.75 0.85 0.5 5 99999 99999 20 4 d 6.2 0.6 false 75 2.4 0.08 0 0.28 -1 0.5 0.25 0.27 0.23 105000 20 500002 0 0 1"}, } GUIEditor = { staticimage = {} } addEventHandler("onClientResourceStart", resourceRoot, function() local screenW, screenH = guiGetScreenSize() GUIEditor.staticimage[1] = guiCreateStaticImage((screenW - 504) / 2, (screenH - 607) / 2, 504, 607, "back.png", false) guiSetVisible(GUIEditor.staticimage[1],false) edit = guiCreateEdit(76, 111, 351, 39, "بحـــــــــــــــــث ...", false, GUIEditor.staticimage[1]) grid = guiCreateGridList(76, 170, 351, 334, false, GUIEditor.staticimage[1]) guiGridListAddColumn(grid, "#", 0.5) guiGridListAddColumn(grid, "Handling", 0.5) ok = guiCreateButton(177, 521, 150, 70, "إختيار", false, GUIEditor.staticimage[1]) guiSetAlpha(ok, 0.00) end ) bindKey("F3","down", function () guiSetVisible(GUIEditor.staticimage[1],not guiGetVisible(GUIEditor.staticimage[1])) showCursor(guiGetVisible(GUIEditor.staticimage[1])) addEventHandler("onClientRender", root,wzneyat2) end ) function wzneyat2() removeEventHandler("onClientRender", root,wzneyat2) guiGetText(edit,"بحـــــــــــــــــث ...") for i,ha in ipairs(Handling) do local row = guiGridListAddRow(grid) guiGridListSetItemText(grid,row,1,''..i..'-',false,false) guiGridListSetItemText(grid,row,2,ha[1],false,false) guiGridListSetItemData(grid,row,1,{ha[2],ha[3],ha[4]}) guiGridListSetItemColor(grid,row,2,math.random(0,200),math.random(0,200),math.random(0,188)) guiGridListSetItemColor(grid,row,1,math.random(0,200),math.random(0,200),math.random(0,188)) end end addEventHandler("onClientGUIClick",root, function () local sel = guiGridListGetSelectedItem(grid) if source == ok then if sel ~= -1 then if not isPedInVehicle(localPlayer) then return outputChatBox("ليس لديك سيارة لتطبيق الوزنية",255,0,0,true) end; local hand = unpack(guiGridListGetItemData(grid,sel,1)) importHandling(getPedOccupiedVehicle(localPlayer), hand, "SA") setTimer(function() guiSetVisible (wnd, false) end,900,1,true) outputChatBox(" تم تركيب الوزنية بنجاح ",255,255,0) else outputChatBox(" الرجاء اختيار وزنية ",255,255,0) end end end ) addEventHandler("onClientGUIChanged",root, function () if ( source == edit ) then local text = guiGetText(edit) if ( text == "" ) then guiGridListClear(grid) wzneyat2() else guiGridListClear(grid) for i,ha in ipairs(Handling) do local name = ha[1] if string.find(name,text) then local row = guiGridListAddRow(grid) guiGridListSetItemText(grid,row,1,''..i..'-',false,false) guiGridListSetItemText(grid,row,2,name,false,false) guiGridListSetItemColor(grid,row,1,math.random(0,255),math.random(0,255),math.random(0,255)) guiGridListSetItemColor(grid,row,2,math.random(0,255),math.random(0,255),math.random(0,255)) end end end end end ) جرب Edited January 28, 2017 by Abu-Solo 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