Jump to content

iiAhmed

Members
  • Posts

    8
  • Joined

  • Last visited

iiAhmed's Achievements

Newbie

Newbie (4/54)

0

Reputation

  1. وعليكم سلام شباب كيفكم عساكم طيبين معي مشكله لما اركب مود ما يجي لما اكتب باف 8 refresh ما يجي
  2. السسلام عليييكم ؟ وش تلعبون اكثر PC ولا PS وش افضل PC ولا PS وهل عندك بلاي ستيشن عشان بشتري بلاي ستيشن بعد رمضان ان شاء الله وابي اشوف ارائكم واتمنى تجاوبو ع اسئه نشوف اذا في حاجه اجيبه
  3. تسسسسسسسسسسسسسسسسسسلم ويسلم تعبك يا زاحف وجعفر وريدبول
  4. اخ زاحف وريد بول شكرا لكم كود شغال زاحف بس زاحف ابي تسوي لي يكون كمان ماركر بكمان 3 مدن ويسوون نفس شي
  5. iiAhmed

    repier code

    hi guys i want repier my code i want on player hit marker open my windows and on click any button spwan sorry bad english but this code GUIEditor = { staticimage = {}, label = {}, gridlist = {}, combobox = {}, memo = {} } addEventHandler("onClientResourceStart", resourceRoot, function() wnd = guiCreateWindow(431, 221, 748, 663, "FlyMTA|AirPort", false) guiWindowSetSizable(wnd, false) guiSetAlpha(wnd, 0.83) guiSetProperty(wnd, "CaptionColour", "FF2DB4D1") ls = guiCreateButton(9, 19, 191, 250, "LS", false, wnd) guiSetFont(ls, "default-bold-small") guiSetProperty(ls, "NormalTextColour", "FF89D725") sf = guiCreateButton(9, 281, 191, 327, "SF", false, wnd) guiSetFont(sf, "clear-normal") guiSetProperty(sf, "NormalTextColour", "FF321BDF") lv = guiCreateButton(202, 21, 179, 250, "LV", false, wnd) guiSetFont(lv, "default-small") guiSetProperty(lv, "NormalTextColour", "FF7F9F5C") exit = guiCreateButton(200, 280, 181, 328, "Exit", false, wnd) guiSetFont(exit, "clear-normal") guiSetProperty(exit, "NormalTextColour", "FFF7062E") GUIEditor.gridlist[1] = guiCreateGridList(640, 28, 98, 625, false, wnd) guiGridListAddColumn(GUIEditor.gridlist[1], "AirPort Online", 0.9) guiGridListAddRow(GUIEditor.gridlist[1]) guiGridListSetItemText(GUIEditor.gridlist[1], 0, 1, "SOON", false, false) GUIEditor.label[1] = guiCreateLabel(431, 32, 195, 26, "FlyMTA V.1.0", false, wnd) guiSetFont(GUIEditor.label[1], "clear-normal") guiLabelSetColor(GUIEditor.label[1], 31, 211, 218) GUIEditor.staticimage[1] = guiCreateStaticImage(449, 173, 118, 181, ":guieditor/images/examples/mtalogo.png", false, wnd) guiSetProperty(GUIEditor.staticimage[1], "ImageColours", "tl:FF787E7C tr:FF787E7C bl:FF787E7C br:FF787E7C") GUIEditor.memo[1] = guiCreateMemo(411, 373, 200, 280, "Welcome To FlyMTA !!\n\n--\n\nمرحبا بك في فلاي ام تي اي \nلاول مره في لعبه ..\n\nMTA Plus !\nAirPort Online !\nRate ! \n\n--\n\nBy Mostafa \n\n", false, wnd) guiMemoSetReadOnly(GUIEditor.memo[1], true) GUIEditor.label[2] = guiCreateLabel(413, 89, 126, 15, "Rate :", false, wnd) guiSetFont(GUIEditor.label[2], "clear-normal") guiLabelSetColor(GUIEditor.label[2], 26, 219, 158) GUIEditor.combobox[1] = guiCreateComboBox(545, 91, 91, 61, "", false, wnd) guiSetFont(GUIEditor.combobox[1], "clear-normal") guiComboBoxAddItem(GUIEditor.combobox[1], "Bad") guiComboBoxAddItem(GUIEditor.combobox[1], "Nice") GUIEditor.label[3] = guiCreateLabel(-8, -18, 99, 18, "", false, GUIEditor.combobox[1]) GUIEditor.staticimage[2] = guiCreateStaticImage(327, 636, 24, 17, ":guieditor/images/dx_elements/slider_end.png", false, wnd) GUIEditor.staticimage[3] = guiCreateStaticImage(581, 238, 38, 38, ":guieditor/images/plus.png", false, wnd) GUIEditor.label[4] = guiCreateLabel(439, 149, 133, 14, "", false, wnd) GUIEditor.staticimage[4] = guiCreateStaticImage(620, 167, 10, 34, ":dxgui/images/checkboxcheck.png", false, wnd) end ) addEventHandler("onClientRender", root, function() dxDrawImage(1378, 331, 124, 187, ":guieditor/images/examples/mtalogo.png", 0, 0, 0, tocolor(255, 255, 255, 255), true) dxDrawText("FlyMTA", 1381, 543, 1595, 578, tocolor(0, 0, 0, 255), 1.00, "pricedown", "left", "top", false, false, true, true, false) dxDrawText("FlyMTA", 1381, 541, 1595, 576, tocolor(0, 0, 0, 255), 1.00, "pricedown", "left", "top", false, false, true, true, false) dxDrawText("FlyMTA", 1379, 543, 1593, 578, tocolor(0, 0, 0, 255), 1.00, "pricedown", "left", "top", false, false, true, true, false) dxDrawText("FlyMTA", 1379, 541, 1593, 576, tocolor(0, 0, 0, 255), 1.00, "pricedown", "left", "top", false, false, true, true, false) dxDrawText("FlyMTA", 1380, 542, 1594, 577, tocolor(58, 233, 11, 255), 1.00, "pricedown", "left", "top", false, false, true, true, false) end ) ----------------------------------------------------- addEventHandler(''onClientGUIClick'',root function () if (source == ls ) setElementPosition ( source, posX, posY, posZ ) outputChatBox(''FlyMTA : Welcome To LS City '' , source ) end end ) -------------------------------------------------------- addEventHandler(''onClientGUIClick'',root function () if (source == sf ) setElementPosition ( source, posX, posY, posZ ) outputChatBox(''FlyMTA : Welcome To SF City '' , source ) end end ) ---------------------------------------------------------- addEventHandler(''onClientGUIClick'',root function () if (source == lv ) setElementPosition ( source, posX, posY, posZ ) outputChatBox(''FlyMTA : Welcome To LV City '' , source ) end end ) ------------------------------------------------------------- local Marker1 = createMarker ( x, y, x, "cylinder", 2, 0, 125, 125, 125 ) addEventHandler(''onClientMarkerHit'',root guiSetVisble(wnd,true) end )
  6. سلام عليكم ابيكم تصلحو لي كود اذا خش ماركر يجي لوحه فيها ازرار واذا كبس اي زر يرسبنه مكان ويقوله كلام :: GUIEditor = { staticimage = {}, label = {}, gridlist = {}, combobox = {}, memo = {} } addEventHandler("onClientResourceStart", resourceRoot, function() wnd = guiCreateWindow(431, 221, 748, 663, "FlyMTA|AirPort", false) guiWindowSetSizable(wnd, false) guiSetAlpha(wnd, 0.83) guiSetProperty(wnd, "CaptionColour", "FF2DB4D1") ls = guiCreateButton(9, 19, 191, 250, "LS", false, wnd) guiSetFont(ls, "default-bold-small") guiSetProperty(ls, "NormalTextColour", "FF89D725") sf = guiCreateButton(9, 281, 191, 327, "SF", false, wnd) guiSetFont(sf, "clear-normal") guiSetProperty(sf, "NormalTextColour", "FF321BDF") lv = guiCreateButton(202, 21, 179, 250, "LV", false, wnd) guiSetFont(lv, "default-small") guiSetProperty(lv, "NormalTextColour", "FF7F9F5C") exit = guiCreateButton(200, 280, 181, 328, "Exit", false, wnd) guiSetFont(exit, "clear-normal") guiSetProperty(exit, "NormalTextColour", "FFF7062E") GUIEditor.gridlist[1] = guiCreateGridList(640, 28, 98, 625, false, wnd) guiGridListAddColumn(GUIEditor.gridlist[1], "AirPort Online", 0.9) guiGridListAddRow(GUIEditor.gridlist[1]) guiGridListSetItemText(GUIEditor.gridlist[1], 0, 1, "SOON", false, false) GUIEditor.label[1] = guiCreateLabel(431, 32, 195, 26, "FlyMTA V.1.0", false, wnd) guiSetFont(GUIEditor.label[1], "clear-normal") guiLabelSetColor(GUIEditor.label[1], 31, 211, 218) GUIEditor.staticimage[1] = guiCreateStaticImage(449, 173, 118, 181, ":guieditor/images/examples/mtalogo.png", false, wnd) guiSetProperty(GUIEditor.staticimage[1], "ImageColours", "tl:FF787E7C tr:FF787E7C bl:FF787E7C br:FF787E7C") GUIEditor.memo[1] = guiCreateMemo(411, 373, 200, 280, "Welcome To FlyMTA !!\n\n--\n\nمرحبا بك في فلاي ام تي اي \nلاول مره في لعبه ..\n\nMTA Plus !\nAirPort Online !\nRate ! \n\n--\n\nBy Mostafa \n\n", false, wnd) guiMemoSetReadOnly(GUIEditor.memo[1], true) GUIEditor.label[2] = guiCreateLabel(413, 89, 126, 15, "Rate :", false, wnd) guiSetFont(GUIEditor.label[2], "clear-normal") guiLabelSetColor(GUIEditor.label[2], 26, 219, 158) GUIEditor.combobox[1] = guiCreateComboBox(545, 91, 91, 61, "", false, wnd) guiSetFont(GUIEditor.combobox[1], "clear-normal") guiComboBoxAddItem(GUIEditor.combobox[1], "Bad") guiComboBoxAddItem(GUIEditor.combobox[1], "Nice") GUIEditor.label[3] = guiCreateLabel(-8, -18, 99, 18, "", false, GUIEditor.combobox[1]) GUIEditor.staticimage[2] = guiCreateStaticImage(327, 636, 24, 17, ":guieditor/images/dx_elements/slider_end.png", false, wnd) GUIEditor.staticimage[3] = guiCreateStaticImage(581, 238, 38, 38, ":guieditor/images/plus.png", false, wnd) GUIEditor.label[4] = guiCreateLabel(439, 149, 133, 14, "", false, wnd) GUIEditor.staticimage[4] = guiCreateStaticImage(620, 167, 10, 34, ":dxgui/images/checkboxcheck.png", false, wnd) end ) addEventHandler("onClientRender", root, function() dxDrawImage(1378, 331, 124, 187, ":guieditor/images/examples/mtalogo.png", 0, 0, 0, tocolor(255, 255, 255, 255), true) dxDrawText("FlyMTA", 1381, 543, 1595, 578, tocolor(0, 0, 0, 255), 1.00, "pricedown", "left", "top", false, false, true, true, false) dxDrawText("FlyMTA", 1381, 541, 1595, 576, tocolor(0, 0, 0, 255), 1.00, "pricedown", "left", "top", false, false, true, true, false) dxDrawText("FlyMTA", 1379, 543, 1593, 578, tocolor(0, 0, 0, 255), 1.00, "pricedown", "left", "top", false, false, true, true, false) dxDrawText("FlyMTA", 1379, 541, 1593, 576, tocolor(0, 0, 0, 255), 1.00, "pricedown", "left", "top", false, false, true, true, false) dxDrawText("FlyMTA", 1380, 542, 1594, 577, tocolor(58, 233, 11, 255), 1.00, "pricedown", "left", "top", false, false, true, true, false) end ) ----------------------------------------------------- addEventHandler(''onClientGUIClick'',root function () if (source == ls ) setElementPosition ( source, posX, posY, posZ ) outputChatBox(''FlyMTA : Welcome To LS City '' , source ) end end ) -------------------------------------------------------- addEventHandler(''onClientGUIClick'',root function () if (source == sf ) setElementPosition ( source, posX, posY, posZ ) outputChatBox(''FlyMTA : Welcome To SF City '' , source ) end end ) ---------------------------------------------------------- addEventHandler(''onClientGUIClick'',root function () if (source == lv ) setElementPosition ( source, posX, posY, posZ ) outputChatBox(''FlyMTA : Welcome To LV City '' , source ) end end ) ------------------------------------------------------------- local Marker1 = createMarker ( x, y, x, "cylinder", 2, 0, 125, 125, 125 ) addEventHandler(''onClientMarkerHit'',root guiSetVisble(wnd,true) end )
×
×
  • Create New...