SmoKing Posted April 3, 2013 Share Posted April 3, 2013 السلام عليكم شباب السكربت مايشتغل يطلع Error:Couldn't find file awamr/btn.png for resource userpanel Loading of resource 'userpanel' الكود outputChatBox("[iNFO] #ffffffPress #ff9900[F7] #ffffffTo See #ff9900UserPanel -#ffffff By #[b]eRa #ff9900.", 255,153,0, true) ---------------- image = guiCreateStaticImage(0, 0, 800, 113, "awamr/info.png", false) image1 = guiCreateStaticImage(10, 10, 108, 97, "awamr/nick.png", false, image) image2 = guiCreateStaticImage(177, 10, 108, 97, "awamr/color.png", false, image) image3 = guiCreateStaticImage(346, 10, 108, 97, "awamr/maps.png", false, image) image4 = guiCreateStaticImage(514, 10, 108, 97, "awamr/cars.png", false, image) image5 = guiCreateStaticImage(682, 10, 108, 97, "awamr/wheels.png", false, image) image6 = guiCreateStaticImage(10, 107,37,141, "awamr/nick1.png", false) image7 = guiCreateStaticImage(177, 107,37,141, "awamr/color1.png", false) image8 = guiCreateStaticImage(346, 107,37,141, "awamr/maps1.png", false) image9 = guiCreateStaticImage(514, 107,37,141, "awamr/cars1.png", false) image10 = guiCreateStaticImage(682, 107,37,141, "awamr/wheels1.png", false) ---------------------- ------------------------- nick -------------------- open1 = guiCreateStaticImage(213, 137, 373, 379, "awamr/open.png", false) label1 = guiCreateLabel(24, 28, 70, 23, "Name Color", false, open1) guiLabelSetColor(label1, 255, 153, 0) label2 = guiCreateStaticImage(115, 28, 126, 23, "awamr/edit.png", false, open1) label3 = guiCreateLabel(15, 4, 54, 15, "000000", false, label2) guiLabelSetColor(label3, 255, 153, 0) label4 = guiCreateLabel(25, 144, 54, 15, "000000", false, label10) guiLabelSetColor(label4, 255, 153, 0) label5 = guiCreateStaticImage(286, 30, 64, 26, "awamr/btn.png", false, open1) label6 = guiCreateScrollBar(54, 61, 262, 22, true, false, open1) guiScrollBarSetScrollPosition(label6, 100.0) label7 = guiCreateScrollBar(54, 88, 262, 22, true, false, open1) guiScrollBarSetScrollPosition(label7, 100.0) label8 = guiCreateScrollBar(54, 116, 262, 22, true, false, open1) guiScrollBarSetScrollPosition(label8, 100.0) label9 = guiCreateLabel(24, 168, 81, 18, "Message Color", false, open1) guiLabelSetColor(label9, 255, 153, 0) label10 = guiCreateStaticImage(121, 168, 126, 23, "awamr/edit.png", false, open1) label11 = guiCreateLabel(10, 5, 47, 16, "$10000", false, label5) guiSetFont(label11, "default-bold-small") guiLabelSetColor(label11, 255, 153, 0) label12 = guiCreateStaticImage(287, 168, 64, 26, "awamr/btn.png", false, open1) label13 = guiCreateLabel(7, 5, 47, 15, "$10000", false, label12) guiSetFont(label13, "default-bold-small") guiLabelSetColor(label13, 255, 153, 0) label14 = guiCreateScrollBar(55, 201, 262, 22, true, false, open1) guiScrollBarSetScrollPosition(label14, 100.0) label15 = guiCreateScrollBar(55, 228, 262, 22, true, false, open1) guiScrollBarSetScrollPosition(label15, 100.0) label16 = guiCreateScrollBar(55, 256, 262, 22, true, false, open1) guiScrollBarSetScrollPosition(label16, 100.0) label17 = guiCreateLabel(24, 328, 81, 18, "Clan Name :", false, open1) guiLabelSetColor(label17, 255, 153, 0) label18 = guiCreateStaticImage(105, 328, 77, 23, "awamr/edit.png", false, open1) label19 = guiCreateStaticImage(216, 328, 69, 28, "awamr/btn.png", false, open1) label20 = guiCreateLabel(16, 3, 43, 15, "$10000", false, label19) guiSetFont(label20, "default-bold-small") guiLabelSetColor(label20, 255, 153, 0) -------------- ------------------------- Color -------------------- open2 = guiCreateStaticImage(212, 123, 371, 422, "awamr/open.png", false) label21 = guiCreateStaticImage(19, 22, 271, 287, "colorpicker/palette.png", false, open2) label22 = guiCreateStaticImage(314, 22, 18, 287, "colorpicker/alpha.png", false, open2) label23 = guiCreateStaticImage(342, 22, 18, 287, "colorpicker/alpha.png", false, open2) label24 = guiCreateStaticImage(321, 315, 44, 20, "awamr/edit.png", false, open2) label25 = guiCreateStaticImage(321, 340, 44, 20, "awamr/edit.png", false, open2) label26 = guiCreateStaticImage(321, 365, 44, 20, "awamr/edit.png", false, open2) label27 = guiCreateStaticImage(321, 391, 44, 20, "awamr/edit.png", false, open2) label28 = guiCreateLabel(304, 315, 23, 20, "R", false, open2) guiSetFont(label28, "default-bold-small") guiLabelSetColor(label28, 255, 0, 5) label29 = guiCreateLabel(304, 340, 23, 20, "G", false, open2) guiSetFont(label29, "default-bold-small") guiLabelSetColor(label29, 0, 255, 0) label30 = guiCreateLabel(304, 365, 23, 20, "B", false, open2) guiSetFont(label30, "default-bold-small") guiLabelSetColor(label30, 0, 0, 255) label31 = guiCreateLabel(284, 391, 37, 20, "Alpha", false, open2) guiSetFont(label31, "default-bold-small") guiLabelSetColor(label31, 255, 153, 0) label32 = guiCreateStaticImage(246, 315, 44, 20, "awamr/edit.png", false, open2) label33 = guiCreateStaticImage(246, 340, 44, 20, "awamr/edit.png", false, open2) label34 = guiCreateStaticImage(246, 365, 44, 20, "awamr/edit.png", false, open2) label35 = guiCreateLabel(233, 315, 23, 20, "H", false, open2) guiSetFont(label35, "default-bold-small") guiLabelSetColor(label35, 255, 153, 0) label36 = guiCreateLabel(233, 340, 23, 20, "S", false, open2) guiSetFont(label36, "default-bold-small") guiLabelSetColor(label36, 255, 153, 0) label37 = guiCreateLabel(233, 365, 23, 20, "L", false, open2) guiSetFont(label37, "default-bold-small") guiLabelSetColor(label37, 255, 153, 0) label38 = guiCreateCheckBox(14, 350, 15, 16, "", false, false, open2) label39 = guiCreateLabel(33, 350, 51, 16, "Color 1", false, open2) label40 = guiCreateCheckBox(79, 350, 15, 16, "", false, false, open2) label41 = guiCreateLabel(100, 350, 51, 16, "Color 2", false, open2) label42 = guiCreateCheckBox(146, 350, 15, 16, "", false, false, open2) label43 = guiCreateLabel(167, 350, 60, 16, "Headlights", false, open2) label44 = guiCreateStaticImage(0, 384, 146, 38, "awamr/btn.png", false, open2) label45 = guiCreateLabel(50, 10, 86, 25, "Save", false, label44) guiSetFont(label45, "default-bold-small") guiLabelSetColor(label45, 255, 153, 0) ----------------- --------------------------- Map -------------------- open3 = guiCreateStaticImage(190, 123, 420, 446, "awamr/open.png", false) label46 = guiCreateGridList(10, 10, 215, 412, false, open3) guiGridListAddColumn(label46, "Map Name :", 0.9) label47 = guiCreateScrollBar(194, 0, 21, 412, false, false, label46) guiScrollBarSetScrollPosition(label47, 100.0) label49 = guiCreateStaticImage(253, 102, 134, 24, "awamr/edit.png", false, open3) label48 = guiCreateLabel(276, 71, 138, 27, "Search Maps :", false, open3) guiSetFont(label48, "default-bold-small") guiLabelSetColor(label48, 255, 153, 0) label51 = guiCreateStaticImage(258, 313, 119, 29, "awamr/btn.png", false, open3) label52 = guiCreateLabel(37, 5, 88, 28, "Buy Map", false, label51) guiSetFont(label52, "default-bold-small") guiLabelSetColor(label52, 255, 153, 0) label50 = guiCreateLabel(253, 198, 116, 26, "Next Map : $30000", false, open3) guiLabelSetColor(label50, 255, 153, 0) ------------------ ---------------------------- Cars ---------------------- open4 = guiCreateStaticImage(142, 123, 514, 411, "awamr/open.png", false) label51 = guiCreateStaticImage(4, 35, 180, 163, "car/inf1.png", false, open4) label53 = guiCreateStaticImage(5, 238, 180, 163, "car/inf2.png", false, open4) label54 = guiCreateStaticImage(328, 238, 180, 163, "car/inf3.png", false, open4) label52 = guiCreateStaticImage(328, 35, 180, 163, "car/inf4.png", false, open4) label59 = guiCreateStaticImage(33, 203, 117, 30, "awamr/btn.png", false, open4) label60 = guiCreateLabel(0.20, 0.23, 0.72, 0.60, "Buy ($55000)", true, label59) guiSetFont(label60, "default-bold-small") guiLabelSetColor(label60, 255, 153, 0) label55 = guiCreateStaticImage(34, 0, 117, 30, "awamr/btn.png", false, open4) label56 = guiCreateLabel(20, 4, 92, 22, "Buy ($55000)", false, label55) guiSetFont(label56, "default-bold-small") guiLabelSetColor(label56, 255, 153, 0) label60 = guiCreateStaticImage(363, 203, 117, 30, "awamr/btn.png", false, open4) label61 = guiCreateLabel(19, 4, 84, 22, "Buy ($55000)", false, label60) guiSetFont(label61, "default-bold-small") guiLabelSetColor(label61, 255, 153, 0) label57 = guiCreateStaticImage(363, 0, 117, 30, "awamr/btn.png", false, open4) label58 = guiCreateLabel(22, 6, 90, 20, "Buy ($55000)", false, label57) guiSetFont(label58, "default-bold-small") guiLabelSetColor(label58, 255, 153, 0) ----------------- ---------------------- Wheels ------------ open5 = guiCreateStaticImage(207, 123, 387, 394, "awamr/open.png", false) label61 = guiCreateStaticImage(235, 58, 96, 101, "wheels/1.png", false, open5) label59 = guiCreateGridList(40, 53, 159, 331, false, open5) guiGridListSetSelectionMode(label59,2) Servers = guiGridListAddColumn(label59,"Wheels List",0.9) Wheels = {1074,1075,1076,1077,1078,1079,1080,1081,1082,1083,1084,1085,1096,1097,1086,1087} for _, k in ipairs(Wheels) do guiGridListSetItemText(label59, guiGridListAddRow(label59), Servers, tostring(k), false, false) end function guiClick (button, state, absoluteX, absoluteY) if (source == label59) then local scheck = guiGridListGetItemText ( label59, guiGridListGetSelectedItem ( label59 ), 1 ) or 1 guiStaticImageLoadImage(Image_Wheel,"wheels/"..scheck..".png") end end addEventHandler ("onClientGUIClick", getRootElement(), guiClick) label60 = guiCreateScrollBar(140, 0, 19, 331, false, false, label59) guiScrollBarSetScrollPosition(label60, 100.0) label62 = guiCreateStaticImage(235, 296, 107, 39, "awamr/btn.png", false, open5) label63 = guiCreateLabel(19, 10, 78, 27, "Buy ($5000)", false, label62) guiSetFont(label63, "default-bold-small") guiLabelSetColor(label63, 255, 153, 0) end ) function Replacetxd() if ( source == Wheels) then txd = engineLoadTXD("wheels/J2_wheels.txd", 1074 ) engineImportTXD(txd, 1074) dff = engineLoadDFF("wheels/wheel_gn1.dff", 1074) engineReplaceModel(dff, 1074) txd = engineLoadTXD("wheels/J2_wheels.txd", 1075 ) engineImportTXD(txd, 1075) dff = engineLoadDFF("wheels/wheel_gn2.dff", 1075) engineReplaceModel(dff, 1075) txd = engineLoadTXD("wheels/J2_wheels.txd", 1076 ) engineImportTXD(txd, 1076) dff = engineLoadDFF("wheels/wheel_gn3.dff", 1076) engineReplaceModel(dff, 1076) txd = engineLoadTXD("wheels/J2_wheels.txd", 1077 ) engineImportTXD(txd, 1077) dff = engineLoadDFF("wheels/wheel_gn4.dff", 1077) engineReplaceModel(dff, 1077) txd = engineLoadTXD("wheels/J2_wheels.txd", 1078 ) engineImportTXD(txd, 1078) dff = engineLoadDFF("wheels/wheel_gn5.dff", 1078) engineReplaceModel(dff, 1078) txd = engineLoadTXD("wheels/J2_wheels.txd", 1079 ) engineImportTXD(txd, 1079) dff = engineLoadDFF("wheels/wheel_lr1.dff", 1079) engineReplaceModel(dff, 1079) txd = engineLoadTXD("wheels/J2_wheels.txd", 1080 ) engineImportTXD(txd, 1080) dff = engineLoadDFF("wheels/wheel_lr2.dff", 1080) engineReplaceModel(dff, 1080) txd = engineLoadTXD("wheels/J2_wheels.txd", 1081 ) engineImportTXD(txd, 1081) dff = engineLoadDFF("wheels/wheel_lr3.dff", 1081) engineReplaceModel(dff, 1081) txd = engineLoadTXD("wheels/J2_wheels.txd", 1082 ) engineImportTXD(txd, 1082) dff = engineLoadDFF("wheels/wheel_lr4.dff", 1082) engineReplaceModel(dff, 1082) txd = engineLoadTXD("wheels/J2_wheels.txd", 1083) engineImportTXD(txd, 1083) dff = engineLoadDFF("wheels/wheel_lr5.dff", 1083) engineReplaceModel(dff, 1083) txd = engineLoadTXD("wheels/J2_wheels.txd", 1084 ) engineImportTXD(txd, 1084) dff = engineLoadDFF("wheels/wheel_sr1.dff", 1084) engineReplaceModel(dff, 1084) txd = engineLoadTXD("wheels/J2_wheels.txd", 1085 ) engineImportTXD(txd, 1085) dff = engineLoadDFF("wheels/wheel_sr2.dff", 1085) engineReplaceModel(dff, 1085) txd = engineLoadTXD("wheels/J2_wheels.txd", 1096 ) engineImportTXD(txd, 1096) dff = engineLoadDFF("wheels/wheel_sr3.dff", 1096) engineReplaceModel(dff, 1096) txd = engineLoadTXD("wheels/J2_wheels.txd", 1097 ) engineImportTXD(txd, 1097) dff = engineLoadDFF("wheels/wheel_sr4.dff", 1097) engineReplaceModel(dff, 1097) txd = engineLoadTXD("wheels/J2_wheels.txd", 1086 ) engineImportTXD(txd, 1086) dff = engineLoadDFF("wheels/wheel_sr5.dff", 1086) engineReplaceModel(dff, 1086) txd = Link to comment
iPrestege Posted April 3, 2013 Share Posted April 3, 2013 الصورة ماهي موجودة بالملف حق المود Link to comment
فاّرس Posted April 3, 2013 Share Posted April 3, 2013 label5 = guiCreateStaticImage(286, 30, 64, 26, "awamr/btn.png", false, open1) آنت مسويها بالميتآ ومو حاط الصوره اساسا في مجلد awamr, حط صوره وبعدين حطها بالميتآ Link to comment
iMr.Dawix~# Posted April 3, 2013 Share Posted April 3, 2013 سو ملف اسمه awamr وحط فيه صورة btn.png وضيفها للميتا وخلاص Link to comment
!#NssoR_) Posted April 3, 2013 Share Posted April 3, 2013 اخوي لازم تسوي ملف وتضيف فيه الصور وكل صوره تضيفها بل ميتا انا اعتقد انك مو ضايف الصوره ذي awamr/btn.png للميتا او مسجل اسمها بل ميتا غلطط لنا الي مخرب ع السكربت هي ذي الصوره awamr/btn.png فـ تاكد من الميتا وتاكد من اسمها كذا تنحط بل ميتا "awamr/btn.png"/> ارجو انك تتاكد Link to comment
jafar Posted April 3, 2013 Share Posted April 3, 2013 السلام عليكمشباب السكربت مايشتغل يطلع Error:Couldn't find file awamr/btn.png for resource userpanel Loading of resource 'userpanel' الكود outputChatBox("[iNFO] #ffffffPress #ff9900[F7] #ffffffTo See #ff9900UserPanel -#ffffff By #[b]eRa #ff9900.", 255,153,0, true) ---------------- image = guiCreateStaticImage(0, 0, 800, 113, "awamr/info.png", false) image1 = guiCreateStaticImage(10, 10, 108, 97, "awamr/nick.png", false, image) image2 = guiCreateStaticImage(177, 10, 108, 97, "awamr/color.png", false, image) image3 = guiCreateStaticImage(346, 10, 108, 97, "awamr/maps.png", false, image) image4 = guiCreateStaticImage(514, 10, 108, 97, "awamr/cars.png", false, image) image5 = guiCreateStaticImage(682, 10, 108, 97, "awamr/wheels.png", false, image) image6 = guiCreateStaticImage(10, 107,37,141, "awamr/nick1.png", false) image7 = guiCreateStaticImage(177, 107,37,141, "awamr/color1.png", false) image8 = guiCreateStaticImage(346, 107,37,141, "awamr/maps1.png", false) image9 = guiCreateStaticImage(514, 107,37,141, "awamr/cars1.png", false) image10 = guiCreateStaticImage(682, 107,37,141, "awamr/wheels1.png", false) ---------------------- ------------------------- nick -------------------- open1 = guiCreateStaticImage(213, 137, 373, 379, "awamr/open.png", false) label1 = guiCreateLabel(24, 28, 70, 23, "Name Color", false, open1) guiLabelSetColor(label1, 255, 153, 0) label2 = guiCreateStaticImage(115, 28, 126, 23, "awamr/edit.png", false, open1) label3 = guiCreateLabel(15, 4, 54, 15, "000000", false, label2) guiLabelSetColor(label3, 255, 153, 0) label4 = guiCreateLabel(25, 144, 54, 15, "000000", false, label10) guiLabelSetColor(label4, 255, 153, 0) label5 = guiCreateStaticImage(286, 30, 64, 26, "awamr/btn.png", false, open1) label6 = guiCreateScrollBar(54, 61, 262, 22, true, false, open1) guiScrollBarSetScrollPosition(label6, 100.0) label7 = guiCreateScrollBar(54, 88, 262, 22, true, false, open1) guiScrollBarSetScrollPosition(label7, 100.0) label8 = guiCreateScrollBar(54, 116, 262, 22, true, false, open1) guiScrollBarSetScrollPosition(label8, 100.0) label9 = guiCreateLabel(24, 168, 81, 18, "Message Color", false, open1) guiLabelSetColor(label9, 255, 153, 0) label10 = guiCreateStaticImage(121, 168, 126, 23, "awamr/edit.png", false, open1) label11 = guiCreateLabel(10, 5, 47, 16, "$10000", false, label5) guiSetFont(label11, "default-bold-small") guiLabelSetColor(label11, 255, 153, 0) label12 = guiCreateStaticImage(287, 168, 64, 26, "awamr/btn.png", false, open1) label13 = guiCreateLabel(7, 5, 47, 15, "$10000", false, label12) guiSetFont(label13, "default-bold-small") guiLabelSetColor(label13, 255, 153, 0) label14 = guiCreateScrollBar(55, 201, 262, 22, true, false, open1) guiScrollBarSetScrollPosition(label14, 100.0) label15 = guiCreateScrollBar(55, 228, 262, 22, true, false, open1) guiScrollBarSetScrollPosition(label15, 100.0) label16 = guiCreateScrollBar(55, 256, 262, 22, true, false, open1) guiScrollBarSetScrollPosition(label16, 100.0) label17 = guiCreateLabel(24, 328, 81, 18, "Clan Name :", false, open1) guiLabelSetColor(label17, 255, 153, 0) label18 = guiCreateStaticImage(105, 328, 77, 23, "awamr/edit.png", false, open1) label19 = guiCreateStaticImage(216, 328, 69, 28, "awamr/btn.png", false, open1) label20 = guiCreateLabel(16, 3, 43, 15, "$10000", false, label19) guiSetFont(label20, "default-bold-small") guiLabelSetColor(label20, 255, 153, 0) -------------- ------------------------- Color -------------------- open2 = guiCreateStaticImage(212, 123, 371, 422, "awamr/open.png", false) label21 = guiCreateStaticImage(19, 22, 271, 287, "colorpicker/palette.png", false, open2) label22 = guiCreateStaticImage(314, 22, 18, 287, "colorpicker/alpha.png", false, open2) label23 = guiCreateStaticImage(342, 22, 18, 287, "colorpicker/alpha.png", false, open2) label24 = guiCreateStaticImage(321, 315, 44, 20, "awamr/edit.png", false, open2) label25 = guiCreateStaticImage(321, 340, 44, 20, "awamr/edit.png", false, open2) label26 = guiCreateStaticImage(321, 365, 44, 20, "awamr/edit.png", false, open2) label27 = guiCreateStaticImage(321, 391, 44, 20, "awamr/edit.png", false, open2) label28 = guiCreateLabel(304, 315, 23, 20, "R", false, open2) guiSetFont(label28, "default-bold-small") guiLabelSetColor(label28, 255, 0, 5) label29 = guiCreateLabel(304, 340, 23, 20, "G", false, open2) guiSetFont(label29, "default-bold-small") guiLabelSetColor(label29, 0, 255, 0) label30 = guiCreateLabel(304, 365, 23, 20, "B", false, open2) guiSetFont(label30, "default-bold-small") guiLabelSetColor(label30, 0, 0, 255) label31 = guiCreateLabel(284, 391, 37, 20, "Alpha", false, open2) guiSetFont(label31, "default-bold-small") guiLabelSetColor(label31, 255, 153, 0) label32 = guiCreateStaticImage(246, 315, 44, 20, "awamr/edit.png", false, open2) label33 = guiCreateStaticImage(246, 340, 44, 20, "awamr/edit.png", false, open2) label34 = guiCreateStaticImage(246, 365, 44, 20, "awamr/edit.png", false, open2) label35 = guiCreateLabel(233, 315, 23, 20, "H", false, open2) guiSetFont(label35, "default-bold-small") guiLabelSetColor(label35, 255, 153, 0) label36 = guiCreateLabel(233, 340, 23, 20, "S", false, open2) guiSetFont(label36, "default-bold-small") guiLabelSetColor(label36, 255, 153, 0) label37 = guiCreateLabel(233, 365, 23, 20, "L", false, open2) guiSetFont(label37, "default-bold-small") guiLabelSetColor(label37, 255, 153, 0) label38 = guiCreateCheckBox(14, 350, 15, 16, "", false, false, open2) label39 = guiCreateLabel(33, 350, 51, 16, "Color 1", false, open2) label40 = guiCreateCheckBox(79, 350, 15, 16, "", false, false, open2) label41 = guiCreateLabel(100, 350, 51, 16, "Color 2", false, open2) label42 = guiCreateCheckBox(146, 350, 15, 16, "", false, false, open2) label43 = guiCreateLabel(167, 350, 60, 16, "Headlights", false, open2) label44 = guiCreateStaticImage(0, 384, 146, 38, "awamr/btn.png", false, open2) label45 = guiCreateLabel(50, 10, 86, 25, "Save", false, label44) guiSetFont(label45, "default-bold-small") guiLabelSetColor(label45, 255, 153, 0) ----------------- --------------------------- Map -------------------- open3 = guiCreateStaticImage(190, 123, 420, 446, "awamr/open.png", false) label46 = guiCreateGridList(10, 10, 215, 412, false, open3) guiGridListAddColumn(label46, "Map Name :", 0.9) label47 = guiCreateScrollBar(194, 0, 21, 412, false, false, label46) guiScrollBarSetScrollPosition(label47, 100.0) label49 = guiCreateStaticImage(253, 102, 134, 24, "awamr/edit.png", false, open3) label48 = guiCreateLabel(276, 71, 138, 27, "Search Maps :", false, open3) guiSetFont(label48, "default-bold-small") guiLabelSetColor(label48, 255, 153, 0) label51 = guiCreateStaticImage(258, 313, 119, 29, "awamr/btn.png", false, open3) label52 = guiCreateLabel(37, 5, 88, 28, "Buy Map", false, label51) guiSetFont(label52, "default-bold-small") guiLabelSetColor(label52, 255, 153, 0) label50 = guiCreateLabel(253, 198, 116, 26, "Next Map : $30000", false, open3) guiLabelSetColor(label50, 255, 153, 0) ------------------ ---------------------------- Cars ---------------------- open4 = guiCreateStaticImage(142, 123, 514, 411, "awamr/open.png", false) label51 = guiCreateStaticImage(4, 35, 180, 163, "car/inf1.png", false, open4) label53 = guiCreateStaticImage(5, 238, 180, 163, "car/inf2.png", false, open4) label54 = guiCreateStaticImage(328, 238, 180, 163, "car/inf3.png", false, open4) label52 = guiCreateStaticImage(328, 35, 180, 163, "car/inf4.png", false, open4) label59 = guiCreateStaticImage(33, 203, 117, 30, "awamr/btn.png", false, open4) label60 = guiCreateLabel(0.20, 0.23, 0.72, 0.60, "Buy ($55000)", true, label59) guiSetFont(label60, "default-bold-small") guiLabelSetColor(label60, 255, 153, 0) label55 = guiCreateStaticImage(34, 0, 117, 30, "awamr/btn.png", false, open4) label56 = guiCreateLabel(20, 4, 92, 22, "Buy ($55000)", false, label55) guiSetFont(label56, "default-bold-small") guiLabelSetColor(label56, 255, 153, 0) label60 = guiCreateStaticImage(363, 203, 117, 30, "awamr/btn.png", false, open4) label61 = guiCreateLabel(19, 4, 84, 22, "Buy ($55000)", false, label60) guiSetFont(label61, "default-bold-small") guiLabelSetColor(label61, 255, 153, 0) label57 = guiCreateStaticImage(363, 0, 117, 30, "awamr/btn.png", false, open4) label58 = guiCreateLabel(22, 6, 90, 20, "Buy ($55000)", false, label57) guiSetFont(label58, "default-bold-small") guiLabelSetColor(label58, 255, 153, 0) ----------------- ---------------------- Wheels ------------ open5 = guiCreateStaticImage(207, 123, 387, 394, "awamr/open.png", false) label61 = guiCreateStaticImage(235, 58, 96, 101, "wheels/1.png", false, open5) label59 = guiCreateGridList(40, 53, 159, 331, false, open5) guiGridListSetSelectionMode(label59,2) Servers = guiGridListAddColumn(label59,"Wheels List",0.9) Wheels = {1074,1075,1076,1077,1078,1079,1080,1081,1082,1083,1084,1085,1096,1097,1086,1087} for _, k in ipairs(Wheels) do guiGridListSetItemText(label59, guiGridListAddRow(label59), Servers, tostring(k), false, false) end function guiClick (button, state, absoluteX, absoluteY) if (source == label59) then local scheck = guiGridListGetItemText ( label59, guiGridListGetSelectedItem ( label59 ), 1 ) or 1 guiStaticImageLoadImage(Image_Wheel,"wheels/"..scheck..".png") end end addEventHandler ("onClientGUIClick", getRootElement(), guiClick) label60 = guiCreateScrollBar(140, 0, 19, 331, false, false, label59) guiScrollBarSetScrollPosition(label60, 100.0) label62 = guiCreateStaticImage(235, 296, 107, 39, "awamr/btn.png", false, open5) label63 = guiCreateLabel(19, 10, 78, 27, "Buy ($5000)", false, label62) guiSetFont(label63, "default-bold-small") guiLabelSetColor(label63, 255, 153, 0) end ) function Replacetxd() if ( source == Wheels) then txd = engineLoadTXD("wheels/J2_wheels.txd", 1074 ) engineImportTXD(txd, 1074) dff = engineLoadDFF("wheels/wheel_gn1.dff", 1074) engineReplaceModel(dff, 1074) txd = engineLoadTXD("wheels/J2_wheels.txd", 1075 ) engineImportTXD(txd, 1075) dff = engineLoadDFF("wheels/wheel_gn2.dff", 1075) engineReplaceModel(dff, 1075) txd = engineLoadTXD("wheels/J2_wheels.txd", 1076 ) engineImportTXD(txd, 1076) dff = engineLoadDFF("wheels/wheel_gn3.dff", 1076) engineReplaceModel(dff, 1076) txd = engineLoadTXD("wheels/J2_wheels.txd", 1077 ) engineImportTXD(txd, 1077) dff = engineLoadDFF("wheels/wheel_gn4.dff", 1077) engineReplaceModel(dff, 1077) txd = engineLoadTXD("wheels/J2_wheels.txd", 1078 ) engineImportTXD(txd, 1078) dff = engineLoadDFF("wheels/wheel_gn5.dff", 1078) engineReplaceModel(dff, 1078) txd = engineLoadTXD("wheels/J2_wheels.txd", 1079 ) engineImportTXD(txd, 1079) dff = engineLoadDFF("wheels/wheel_lr1.dff", 1079) engineReplaceModel(dff, 1079) txd = engineLoadTXD("wheels/J2_wheels.txd", 1080 ) engineImportTXD(txd, 1080) dff = engineLoadDFF("wheels/wheel_lr2.dff", 1080) engineReplaceModel(dff, 1080) txd = engineLoadTXD("wheels/J2_wheels.txd", 1081 ) engineImportTXD(txd, 1081) dff = engineLoadDFF("wheels/wheel_lr3.dff", 1081) engineReplaceModel(dff, 1081) txd = engineLoadTXD("wheels/J2_wheels.txd", 1082 ) engineImportTXD(txd, 1082) dff = engineLoadDFF("wheels/wheel_lr4.dff", 1082) engineReplaceModel(dff, 1082) txd = engineLoadTXD("wheels/J2_wheels.txd", 1083) engineImportTXD(txd, 1083) dff = engineLoadDFF("wheels/wheel_lr5.dff", 1083) engineReplaceModel(dff, 1083) txd = engineLoadTXD("wheels/J2_wheels.txd", 1084 ) engineImportTXD(txd, 1084) dff = engineLoadDFF("wheels/wheel_sr1.dff", 1084) engineReplaceModel(dff, 1084) txd = engineLoadTXD("wheels/J2_wheels.txd", 1085 ) engineImportTXD(txd, 1085) dff = engineLoadDFF("wheels/wheel_sr2.dff", 1085) engineReplaceModel(dff, 1085) txd = engineLoadTXD("wheels/J2_wheels.txd", 1096 ) engineImportTXD(txd, 1096) dff = engineLoadDFF("wheels/wheel_sr3.dff", 1096) engineReplaceModel(dff, 1096) txd = engineLoadTXD("wheels/J2_wheels.txd", 1097 ) engineImportTXD(txd, 1097) dff = engineLoadDFF("wheels/wheel_sr4.dff", 1097) engineReplaceModel(dff, 1097) txd = engineLoadTXD("wheels/J2_wheels.txd", 1086 ) engineImportTXD(txd, 1086) dff = engineLoadDFF("wheels/wheel_sr5.dff", 1086) Link to comment
SmoKing Posted April 3, 2013 Author Share Posted April 3, 2013 (edited) يب edit : شباب وين المساعدهـ ياخي ماعرفت وش المشكله Edited April 4, 2013 by Guest Link to comment
فاّرس Posted April 3, 2013 Share Posted April 3, 2013 واحنا من اول وش نقولك ؟ الحين مجلد awamr في صوره اسمها btn.png?? Link to comment
jafar Posted April 3, 2013 Share Posted April 3, 2013 الميتا صح يعني المشكلة ان الصورة انت مو ضايفنها أو صغيتها مختلفة Link to comment
SmoKing Posted April 3, 2013 Author Share Posted April 3, 2013 صيغتها png وانا ضايفها في مجلد awamr Link to comment
فاّرس Posted April 4, 2013 Share Posted April 4, 2013 ههههههههههههههه الحين ابي اعرف,,كيف ضايفها ويطلع لك خطأ؟؟ هي اربع حالات : -1 تكون ضايفها في السكربت -2 تكون ضايفها بالميتا -3 تكون ضايفها بالمجلد -4 تكون نفس الصيغه الي في السكربت والميتا والمجلد ونفس الاسم اذا سويتها كلها مستححيل يطلع خطأ Link to comment
X-SHADOW Posted April 4, 2013 Share Posted April 4, 2013 طيب عطنآ صورة من مسآر الصورة اللي يقول لك خطأ لآن الخطأ الصورة غيره موجوده او الصيغه تختلف او مسآر مختلف . Link to comment
iMr.Dawix~# Posted April 4, 2013 Share Posted April 4, 2013 لاتعب نفسك وطرح ميتا يخوي مضبط شف الميتا Link to comment
jafar Posted April 4, 2013 Share Posted April 4, 2013 صيغتها pngوانا ضايفها في مجلد awamr المشكلة من عندك لان كل شي صح ,, Link to comment
SmoKing Posted April 4, 2013 Author Share Posted April 4, 2013 ها شوفو ذي الصوره حجمها 73x37 الميتا الكلنت image = guiCreateStaticImage(0, 0, 800, 113, "awamr/info.png", false) guiSetVisible(image,false) image1 = guiCreateStaticImage(10, 10, 108, 97, "awamr/nick.png", false, image) image2 = guiCreateStaticImage(177, 10, 108, 97, "awamr/color.png", false, image) image3 = guiCreateStaticImage(346, 10, 108, 97, "awamr/maps.png", false, image) image4 = guiCreateStaticImage(514, 10, 108, 97, "awamr/cars.png", false, image) image5 = guiCreateStaticImage(682, 10, 108, 97, "awamr/wheels.png", false, image) image6 = guiCreateStaticImage(10, 107,37,141, "awamr/nick1.png", false) guiSetVisible(image6,false) image7 = guiCreateStaticImage(177, 107,37,141, "awamr/color1.png", false) guiSetVisible(image7,false) image8 = guiCreateStaticImage(346, 107,37,141, "awamr/maps1.png", false) guiSetVisible(image8,false) image9 = guiCreateStaticImage(514, 107,37,141, "awamr/cars1.png", false) guiSetVisible(image9,false) image10 = guiCreateStaticImage(682, 107,37,141, "awamr/wheels1.png", false) guiSetVisible(image10,false) ---------------------- ------------------------- nick -------------------- open1 = guiCreateStaticImage(213, 137, 373, 379, "awamr/open.png", false) guiSetVisible(open1,false) label1 = guiCreateLabel(24, 28, 70, 23, "Name Color", false, open1) guiLabelSetColor(label1, 255, 153, 0) label2 = guiCreateStaticImage(115, 28, 126, 23, "awamr/edit.png", false, open1) label3 = guiCreateLabel(15, 4, 54, 15, "000000", false, label2) guiLabelSetColor(label3, 255, 153, 0) label4 = guiCreateLabel(25, 144, 54, 15, "000000", false, label10) guiLabelSetColor(label4, 255, 153, 0) label5 = guiCreateStaticImage(286, 30, 64, 26, "awamr/btn.png", false, open1) label6 = guiCreateScrollBar(54, 61, 262, 22, true, false, open1) guiScrollBarSetScrollPosition(label6, 100.0) label7 = guiCreateScrollBar(54, 88, 262, 22, true, false, open1) guiScrollBarSetScrollPosition(label7, 100.0) label8 = guiCreateScrollBar(54, 116, 262, 22, true, false, open1) guiScrollBarSetScrollPosition(label8, 100.0) function nameColor () if source == label6 or source == label7 or source == label8 then triggerServerEvent("nameTagColorChange", getLocalPlayer(), guiScrollBarGetScrollPosition(label6) * 2.55, guiScrollBarGetScrollPosition(label7) * 2.55, guiScrollBarGetScrollPosition(label8) * 2.55) guiLabelSetColor(label3, guiScrollBarGetScrollPosition(label6) * 2.55, guiScrollBarGetScrollPosition(label7) * 2.55, guiScrollBarGetScrollPosition(label8) * 2.55) end end addEventHandler("onClientGUIScroll", getRootElement(), nameColor) label9 = guiCreateLabel(24, 168, 81, 18, "Message Color", false, open1) guiLabelSetColor(label9, 255, 153, 0) label10 = guiCreateStaticImage(121, 168, 126, 23, "awamr/edit.png", false, open1) label11 = guiCreateLabel(10, 5, 47, 16, "$10000", false, label5) guiSetFont(label11, "default-bold-small") guiLabelSetColor(label11, 255, 153, 0) label12 = guiCreateStaticImage(287, 168, 64, 26, "awamr/btn.png", false, open1) label13 = guiCreateLabel(7, 5, 47, 15, "$10000", false, label12) guiSetFont(label13, "default-bold-small") guiLabelSetColor(label13, 255, 153, 0) label14 = guiCreateScrollBar(55, 201, 262, 22, true, false, open1) guiScrollBarSetScrollPosition(label14, 100.0) label15 = guiCreateScrollBar(55, 228, 262, 22, true, false, open1) guiScrollBarSetScrollPosition(label15, 100.0) label16 = guiCreateScrollBar(55, 256, 262, 22, true, false, open1) guiScrollBarSetScrollPosition(label16, 100.0) function nameColor2 () if source == label14 or source == label15 or source == label16 then triggerServerEvent("MessageColorChange", getLocalPlayer(), guiScrollBarGetScrollPosition(label14) * 2.55, guiScrollBarGetScrollPosition(label15) * 2.55, guiScrollBarGetScrollPosition(label16) * 2.55) guiLabelSetColor(label4, guiScrollBarGetScrollPosition(label14) * 2.55, guiScrollBarGetScrollPosition(label15) * 2.55, guiScrollBarGetScrollPosition(label16) * 2.55) end end addEventHandler("onClientGUIScroll", getRootElement(), nameColor2) label17 = guiCreateLabel(24, 328, 81, 18, "Clan Name :", false, open1) guiLabelSetColor(label17, 255, 153, 0) label18 = guiCreateStaticImage(105, 328, 77, 23, "awamr/edit.png", false, open1) label018 = guiCreateMemo(105, 328, 77, 23, "", false, open1) guiSetAlpha(label018, 0.00) label19 = guiCreateStaticImage(216, 328, 69, 28, "awamr/btn.png", false, open1) label20 = guiCreateLabel(16, 3, 43, 15, "$10000", false, label19) guiSetFont(label20, "default-bold-small") guiLabelSetColor(label20, 255, 153, 0) -------------- ------------------------- Color -------------------- open2 = guiCreateStaticImage(212, 123, 371, 422, "awamr/open.png", false) guiSetVisible(open2,false) label21 = guiCreateStaticImage(19, 22, 271, 287, "colorpicker/palette.png", false, open2) label22 = guiCreateStaticImage(314, 22, 18, 287, "colorpicker/alpha.png", false, open2) label23 = guiCreateStaticImage(342, 22, 18, 287, "colorpicker/alpha.png", false, open2) label24 = guiCreateStaticImage(321, 315, 44, 20, "awamr/edit.png", false, open2) label25 = guiCreateStaticImage(321, 340, 44, 20, "awamr/edit.png", false, open2) label26 = guiCreateStaticImage(321, 365, 44, 20, "awamr/edit.png", false, open2) label27 = guiCreateStaticImage(321, 391, 44, 20, "awamr/edit.png", false, open2) label28 = guiCreateLabel(304, 315, 23, 20, "R", false, open2) guiSetFont(label28, "default-bold-small") guiLabelSetColor(label28, 255, 0, 5) label29 = guiCreateLabel(304, 340, 23, 20, "G", false, open2) guiSetFont(label29, "default-bold-small") guiLabelSetColor(label29, 0, 255, 0) label30 = guiCreateLabel(304, 365, 23, 20, "B", false, open2) guiSetFont(label30, "default-bold-small") guiLabelSetColor(label30, 0, 0, 255) label31 = guiCreateLabel(284, 391, 37, 20, "Alpha", false, open2) guiSetFont(label31, "default-bold-small") guiLabelSetColor(label31, 255, 153, 0) label32 = guiCreateStaticImage(246, 315, 44, 20, "awamr/edit.png", false, open2) label33 = guiCreateStaticImage(246, 340, 44, 20, "awamr/edit.png", false, open2) label34 = guiCreateStaticImage(246, 365, 44, 20, "awamr/edit.png", false, open2) label35 = guiCreateLabel(233, 315, 23, 20, "H", false, open2) guiSetFont(label35, "default-bold-small") guiLabelSetColor(label35, 255, 153, 0) label36 = guiCreateLabel(233, 340, 23, 20, "S", false, open2) guiSetFont(label36, "default-bold-small") guiLabelSetColor(label36, 255, 153, 0) label37 = guiCreateLabel(233, 365, 23, 20, "L", false, open2) guiSetFont(label37, "default-bold-small") guiLabelSetColor(label37, 255, 153, 0) label38 = guiCreateCheckBox(14, 350, 15, 16, "", false, false, open2) label39 = guiCreateLabel(33, 350, 51, 16, "Color 1", false, open2) label40 = guiCreateCheckBox(79, 350, 15, 16, "", false, false, open2) label41 = guiCreateLabel(100, 350, 51, 16, "Color 2", false, open2) label42 = guiCreateCheckBox(146, 350, 15, 16, "", false, false, open2) label43 = guiCreateLabel(167, 350, 60, 16, "Headlights", false, open2) label44 = guiCreateStaticImage(0, 384, 146, 38, "awamr/btn.png", false, open2) label45 = guiCreateLabel(50, 10, 86, 25, "Save", false, label44) guiSetFont(label45, "default-bold-small") guiLabelSetColor(label45, 255, 153, 0) ----------------- --------------------------- Map -------------------- open3 = guiCreateStaticImage(190, 123, 420, 446, "awamr/open.png", false) guiSetVisible(open3,false) label46 = guiCreateGridList(10, 10, 215, 412, false, open3) guiGridListAddColumn(label46, "Map Name :", 0.9) label47 = guiCreateScrollBar(194, 0, 21, 412, false, false, label46) guiScrollBarSetScrollPosition(label47, 100.0) label49 = guiCreateStaticImage(253, 102, 134, 24, "awamr/edit.png", false, open3) label019 = guiCreateMemo(253, 102, 134, 24, "", false, open1) guiSetAlpha(label019, 0.00) label48 = guiCreateLabel(276, 71, 138, 27, "Search Maps :", false, open3) guiSetFont(label48, "default-bold-small") guiLabelSetColor(label48, 255, 153, 0) label51 = guiCreateStaticImage(258, 313, 119, 29, "awamr/btn.png", false, open3) label52 = guiCreateLabel(37, 5, 88, 28, "Buy Map", false, label51) guiSetFont(label52, "default-bold-small") guiLabelSetColor(label52, 255, 153, 0) label50 = guiCreateLabel(253, 198, 116, 26, "Next Map : $30000", false, open3) guiLabelSetColor(label50, 255, 153, 0) ------------------ ---------------------------- Cars ---------------------- open4 = guiCreateStaticImage(142, 123, 514, 411, "awamr/open.png", false) guiSetVisible(open4,false) label51 = guiCreateStaticImage(4, 35, 180, 163, "car/inf1.png", false, open4) label53 = guiCreateStaticImage(5, 238, 180, 163, "car/inf2.png", false, open4) label54 = guiCreateStaticImage(328, 238, 180, 163, "car/inf3.png", false, open4) label52 = guiCreateStaticImage(328, 35, 180, 163, "car/inf4.png", false, open4) label59 = guiCreateStaticImage(33, 203, 117, 30, "awamr/btn.png", false, open4) label60 = guiCreateLabel(0.20, 0.23, 0.72, 0.60, "Buy ($55000)", true, label59) guiSetFont(label60, "default-bold-small") guiLabelSetColor(label60, 255, 153, 0) label55 = guiCreateStaticImage(34, 0, 117, 30, "awamr/btn.png", false, open4) label56 = guiCreateLabel(20, 4, 92, 22, "Buy ($55000)", false, label55) guiSetFont(label56, "default-bold-small") guiLabelSetColor(label56, 255, 153, 0) label60 = guiCreateStaticImage(363, 203, 117, 30, "awamr/btn.png", false, open4) label61 = guiCreateLabel(19, 4, 84, 22, "Buy ($55000)", false, label60) guiSetFont(label61, "default-bold-small") guiLabelSetColor(label61, 255, 153, 0) label57 = guiCreateStaticImage(363, 0, 117, 30, "awamr/btn.png", false, open4) label58 = guiCreateLabel(22, 6, 90, 20, "Buy ($55000)", false, label57) guiSetFont(label58, "default-bold-small") guiLabelSetColor(label58, 255, 153, 0) ----------------- ---------------------- Wheels ------------ open5 = guiCreateStaticImage(207, 123, 387, 394, "awamr/open.png", false) guiSetVisible(open5,false) label61 = guiCreateStaticImage(235, 58, 96, 101, "wheels/1.png", false, open5) label59 = guiCreateGridList(40, 53, 159, 331, false, open5) guiGridListSetSelectionMode(label59,2) Servers = guiGridListAddColumn(label59,"Wheels List",0.9) Wheels = {1074,1075,1076,1077,1078,1079,1080,1081,1082,1083,1084,1085,1096,1097,1086,1087} for _, k in ipairs(Wheels) do guiGridListSetItemText(label59, guiGridListAddRow(label59), Servers, tostring(k), false, false) end function guiClick (button, state, absoluteX, absoluteY) if (source == label59) then local scheck = guiGridListGetItemText ( label59, guiGridListGetSelectedItem ( label59 ), 1 ) or 1 guiStaticImageLoadImage(Image_Wheel,"wheels/"..scheck..".png") end end addEventHandler ("onClientGUIClick", getRootElement(), guiClick) label60 = guiCreateScrollBar(140, 0, 19, 331, false, false, label59) guiScrollBarSetScrollPosition(label60, 100.0) label62 = guiCreateStaticImage(235, 296, 107, 39, "awamr/btn.png", false, open5) label63 = guiCreateLabel(19, 10, 78, 27, "Buy ($5000)", false, label62) guiSetFont(label63, "default-bold-small") guiLabelSetColor(label63, 255, 153, 0) end ) Link to comment
jafar Posted April 4, 2013 Share Posted April 4, 2013 ها شوفو ذي الصوره حجمها 73x37 الميتا الكلنت image = guiCreateStaticImage(0, 0, 800, 113, "awamr/info.png", false) guiSetVisible(image,false) image1 = guiCreateStaticImage(10, 10, 108, 97, "awamr/nick.png", false, image) image2 = guiCreateStaticImage(177, 10, 108, 97, "awamr/color.png", false, image) image3 = guiCreateStaticImage(346, 10, 108, 97, "awamr/maps.png", false, image) image4 = guiCreateStaticImage(514, 10, 108, 97, "awamr/cars.png", false, image) image5 = guiCreateStaticImage(682, 10, 108, 97, "awamr/wheels.png", false, image) image6 = guiCreateStaticImage(10, 107,37,141, "awamr/nick1.png", false) guiSetVisible(image6,false) image7 = guiCreateStaticImage(177, 107,37,141, "awamr/color1.png", false) guiSetVisible(image7,false) image8 = guiCreateStaticImage(346, 107,37,141, "awamr/maps1.png", false) guiSetVisible(image8,false) image9 = guiCreateStaticImage(514, 107,37,141, "awamr/cars1.png", false) guiSetVisible(image9,false) image10 = guiCreateStaticImage(682, 107,37,141, "awamr/wheels1.png", false) guiSetVisible(image10,false) ---------------------- ------------------------- nick -------------------- open1 = guiCreateStaticImage(213, 137, 373, 379, "awamr/open.png", false) guiSetVisible(open1,false) label1 = guiCreateLabel(24, 28, 70, 23, "Name Color", false, open1) guiLabelSetColor(label1, 255, 153, 0) label2 = guiCreateStaticImage(115, 28, 126, 23, "awamr/edit.png", false, open1) label3 = guiCreateLabel(15, 4, 54, 15, "000000", false, label2) guiLabelSetColor(label3, 255, 153, 0) label4 = guiCreateLabel(25, 144, 54, 15, "000000", false, label10) guiLabelSetColor(label4, 255, 153, 0) label5 = guiCreateStaticImage(286, 30, 64, 26, "awamr/btn.png", false, open1) label6 = guiCreateScrollBar(54, 61, 262, 22, true, false, open1) guiScrollBarSetScrollPosition(label6, 100.0) label7 = guiCreateScrollBar(54, 88, 262, 22, true, false, open1) guiScrollBarSetScrollPosition(label7, 100.0) label8 = guiCreateScrollBar(54, 116, 262, 22, true, false, open1) guiScrollBarSetScrollPosition(label8, 100.0) function nameColor () if source == label6 or source == label7 or source == label8 then triggerServerEvent("nameTagColorChange", getLocalPlayer(), guiScrollBarGetScrollPosition(label6) * 2.55, guiScrollBarGetScrollPosition(label7) * 2.55, guiScrollBarGetScrollPosition(label8) * 2.55) guiLabelSetColor(label3, guiScrollBarGetScrollPosition(label6) * 2.55, guiScrollBarGetScrollPosition(label7) * 2.55, guiScrollBarGetScrollPosition(label8) * 2.55) end end addEventHandler("onClientGUIScroll", getRootElement(), nameColor) label9 = guiCreateLabel(24, 168, 81, 18, "Message Color", false, open1) guiLabelSetColor(label9, 255, 153, 0) label10 = guiCreateStaticImage(121, 168, 126, 23, "awamr/edit.png", false, open1) label11 = guiCreateLabel(10, 5, 47, 16, "$10000", false, label5) guiSetFont(label11, "default-bold-small") guiLabelSetColor(label11, 255, 153, 0) label12 = guiCreateStaticImage(287, 168, 64, 26, "awamr/btn.png", false, open1) label13 = guiCreateLabel(7, 5, 47, 15, "$10000", false, label12) guiSetFont(label13, "default-bold-small") guiLabelSetColor(label13, 255, 153, 0) label14 = guiCreateScrollBar(55, 201, 262, 22, true, false, open1) guiScrollBarSetScrollPosition(label14, 100.0) label15 = guiCreateScrollBar(55, 228, 262, 22, true, false, open1) guiScrollBarSetScrollPosition(label15, 100.0) label16 = guiCreateScrollBar(55, 256, 262, 22, true, false, open1) guiScrollBarSetScrollPosition(label16, 100.0) function nameColor2 () if source == label14 or source == label15 or source == label16 then triggerServerEvent("MessageColorChange", getLocalPlayer(), guiScrollBarGetScrollPosition(label14) * 2.55, guiScrollBarGetScrollPosition(label15) * 2.55, guiScrollBarGetScrollPosition(label16) * 2.55) guiLabelSetColor(label4, guiScrollBarGetScrollPosition(label14) * 2.55, guiScrollBarGetScrollPosition(label15) * 2.55, guiScrollBarGetScrollPosition(label16) * 2.55) end end addEventHandler("onClientGUIScroll", getRootElement(), nameColor2) label17 = guiCreateLabel(24, 328, 81, 18, "Clan Name :", false, open1) guiLabelSetColor(label17, 255, 153, 0) label18 = guiCreateStaticImage(105, 328, 77, 23, "awamr/edit.png", false, open1) label018 = guiCreateMemo(105, 328, 77, 23, "", false, open1) guiSetAlpha(label018, 0.00) label19 = guiCreateStaticImage(216, 328, 69, 28, "awamr/btn.png", false, open1) label20 = guiCreateLabel(16, 3, 43, 15, "$10000", false, label19) guiSetFont(label20, "default-bold-small") guiLabelSetColor(label20, 255, 153, 0) -------------- ------------------------- Color -------------------- open2 = guiCreateStaticImage(212, 123, 371, 422, "awamr/open.png", false) guiSetVisible(open2,false) label21 = guiCreateStaticImage(19, 22, 271, 287, "colorpicker/palette.png", false, open2) label22 = guiCreateStaticImage(314, 22, 18, 287, "colorpicker/alpha.png", false, open2) label23 = guiCreateStaticImage(342, 22, 18, 287, "colorpicker/alpha.png", false, open2) label24 = guiCreateStaticImage(321, 315, 44, 20, "awamr/edit.png", false, open2) label25 = guiCreateStaticImage(321, 340, 44, 20, "awamr/edit.png", false, open2) label26 = guiCreateStaticImage(321, 365, 44, 20, "awamr/edit.png", false, open2) label27 = guiCreateStaticImage(321, 391, 44, 20, "awamr/edit.png", false, open2) label28 = guiCreateLabel(304, 315, 23, 20, "R", false, open2) guiSetFont(label28, "default-bold-small") guiLabelSetColor(label28, 255, 0, 5) label29 = guiCreateLabel(304, 340, 23, 20, "G", false, open2) guiSetFont(label29, "default-bold-small") guiLabelSetColor(label29, 0, 255, 0) label30 = guiCreateLabel(304, 365, 23, 20, "B", false, open2) guiSetFont(label30, "default-bold-small") guiLabelSetColor(label30, 0, 0, 255) label31 = guiCreateLabel(284, 391, 37, 20, "Alpha", false, open2) guiSetFont(label31, "default-bold-small") guiLabelSetColor(label31, 255, 153, 0) label32 = guiCreateStaticImage(246, 315, 44, 20, "awamr/edit.png", false, open2) label33 = guiCreateStaticImage(246, 340, 44, 20, "awamr/edit.png", false, open2) label34 = guiCreateStaticImage(246, 365, 44, 20, "awamr/edit.png", false, open2) label35 = guiCreateLabel(233, 315, 23, 20, "H", false, open2) guiSetFont(label35, "default-bold-small") guiLabelSetColor(label35, 255, 153, 0) label36 = guiCreateLabel(233, 340, 23, 20, "S", false, open2) guiSetFont(label36, "default-bold-small") guiLabelSetColor(label36, 255, 153, 0) label37 = guiCreateLabel(233, 365, 23, 20, "L", false, open2) guiSetFont(label37, "default-bold-small") guiLabelSetColor(label37, 255, 153, 0) label38 = guiCreateCheckBox(14, 350, 15, 16, "", false, false, open2) label39 = guiCreateLabel(33, 350, 51, 16, "Color 1", false, open2) label40 = guiCreateCheckBox(79, 350, 15, 16, "", false, false, open2) label41 = guiCreateLabel(100, 350, 51, 16, "Color 2", false, open2) label42 = guiCreateCheckBox(146, 350, 15, 16, "", false, false, open2) label43 = guiCreateLabel(167, 350, 60, 16, "Headlights", false, open2) label44 = guiCreateStaticImage(0, 384, 146, 38, "awamr/btn.png", false, open2) label45 = guiCreateLabel(50, 10, 86, 25, "Save", false, label44) guiSetFont(label45, "default-bold-small") guiLabelSetColor(label45, 255, 153, 0) ----------------- --------------------------- Map -------------------- open3 = guiCreateStaticImage(190, 123, 420, 446, "awamr/open.png", false) guiSetVisible(open3,false) label46 = guiCreateGridList(10, 10, 215, 412, false, open3) guiGridListAddColumn(label46, "Map Name :", 0.9) label47 = guiCreateScrollBar(194, 0, 21, 412, false, false, label46) guiScrollBarSetScrollPosition(label47, 100.0) label49 = guiCreateStaticImage(253, 102, 134, 24, "awamr/edit.png", false, open3) label019 = guiCreateMemo(253, 102, 134, 24, "", false, open1) guiSetAlpha(label019, 0.00) label48 = guiCreateLabel(276, 71, 138, 27, "Search Maps :", false, open3) guiSetFont(label48, "default-bold-small") guiLabelSetColor(label48, 255, 153, 0) label51 = guiCreateStaticImage(258, 313, 119, 29, "awamr/btn.png", false, open3) label52 = guiCreateLabel(37, 5, 88, 28, "Buy Map", false, label51) guiSetFont(label52, "default-bold-small") guiLabelSetColor(label52, 255, 153, 0) label50 = guiCreateLabel(253, 198, 116, 26, "Next Map : $30000", false, open3) guiLabelSetColor(label50, 255, 153, 0) ------------------ ---------------------------- Cars ---------------------- open4 = guiCreateStaticImage(142, 123, 514, 411, "awamr/open.png", false) guiSetVisible(open4,false) label51 = guiCreateStaticImage(4, 35, 180, 163, "car/inf1.png", false, open4) label53 = guiCreateStaticImage(5, 238, 180, 163, "car/inf2.png", false, open4) label54 = guiCreateStaticImage(328, 238, 180, 163, "car/inf3.png", false, open4) label52 = guiCreateStaticImage(328, 35, 180, 163, "car/inf4.png", false, open4) label59 = guiCreateStaticImage(33, 203, 117, 30, "awamr/btn.png", false, open4) label60 = guiCreateLabel(0.20, 0.23, 0.72, 0.60, "Buy ($55000)", true, label59) guiSetFont(label60, "default-bold-small") guiLabelSetColor(label60, 255, 153, 0) label55 = guiCreateStaticImage(34, 0, 117, 30, "awamr/btn.png", false, open4) label56 = guiCreateLabel(20, 4, 92, 22, "Buy ($55000)", false, label55) guiSetFont(label56, "default-bold-small") guiLabelSetColor(label56, 255, 153, 0) label60 = guiCreateStaticImage(363, 203, 117, 30, "awamr/btn.png", false, open4) label61 = guiCreateLabel(19, 4, 84, 22, "Buy ($55000)", false, label60) guiSetFont(label61, "default-bold-small") guiLabelSetColor(label61, 255, 153, 0) label57 = guiCreateStaticImage(363, 0, 117, 30, "awamr/btn.png", false, open4) label58 = guiCreateLabel(22, 6, 90, 20, "Buy ($55000)", false, label57) guiSetFont(label58, "default-bold-small") guiLabelSetColor(label58, 255, 153, 0) ----------------- ---------------------- Wheels ------------ open5 = guiCreateStaticImage(207, 123, 387, 394, "awamr/open.png", false) guiSetVisible(open5,false) label61 = guiCreateStaticImage(235, 58, 96, 101, "wheels/1.png", false, open5) label59 = guiCreateGridList(40, 53, 159, 331, false, open5) guiGridListSetSelectionMode(label59,2) Servers = guiGridListAddColumn(label59,"Wheels List",0.9) Wheels = {1074,1075,1076,1077,1078,1079,1080,1081,1082,1083,1084,1085,1096,1097,1086,1087} for _, k in ipairs(Wheels) do guiGridListSetItemText(label59, guiGridListAddRow(label59), Servers, tostring(k), false, false) end function guiClick (button, state, absoluteX, absoluteY) if (source == label59) then local scheck = guiGridListGetItemText ( label59, guiGridListGetSelectedItem ( label59 ), 1 ) or 1 guiStaticImageLoadImage(Image_Wheel,"wheels/"..scheck..".png") end end addEventHandler ("onClientGUIClick", getRootElement(), guiClick) label60 = guiCreateScrollBar(140, 0, 19, 331, false, false, label59) guiScrollBarSetScrollPosition(label60, 100.0) label62 = guiCreateStaticImage(235, 296, 107, 39, "awamr/btn.png", false, open5) label63 = guiCreateLabel(19, 10, 78, 27, "Buy ($5000)", false, label62) guiSetFont(label63, "default-bold-small") guiLabelSetColor(label63, 255, 153, 0) end ) ارفع المود ! 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