User talk:Dogmalicia

From Multi Theft Auto: Wiki
Jump to navigation Jump to search

How to open this dx panel in the marker above?

(marker) glock = createMarker(297.947, -80.809, 1000.600, "cylinder", 1, 255, 0, 0, 40) setElementInterior(glock, 4)

(Painel DX) local screenW, screenH = guiGetScreenSize()

addEventHandler("onClientRender", root,

   function()
        dxDrawLine(365 - 1, 222 - 1, 365 - 1, 546, tocolor(48, 212, 5, 255), 1, false)
        dxDrawLine(660, 222 - 1, 365 - 1, 222 - 1, tocolor(48, 212, 5, 255), 1, false)
        dxDrawLine(365 - 1, 546, 660, 546, tocolor(48, 212, 5, 255), 1, false)
        dxDrawLine(660, 546, 660, 222 - 1, tocolor(48, 212, 5, 255), 1, false)
        dxDrawRectangle((screenW - 295) / 2, (screenH - 324) / 2, 295, 324, tocolor(28, 28, 28, 179), false)
        dxDrawRectangle(422, 254, 0, 66, tocolor(255, 255, 255, 255), false)
        dxDrawImage(365, 222, 295, 324, ":GUI/images/examples/new_city_sfundo.png", 0, 0, 0, tocolor(108, 108, 108, 77), false)
        dxDrawLine(375 - 1, 452 - 1, 375 - 1, 536, tocolor(0, 0, 0, 255), 1, false)
        dxDrawLine(650, 452 - 1, 375 - 1, 452 - 1, tocolor(0, 0, 0, 255), 1, false)
        dxDrawLine(375 - 1, 536, 650, 536, tocolor(0, 0, 0, 255), 1, false)
        dxDrawLine(650, 536, 650, 452 - 1, tocolor(0, 0, 0, 255), 1, false)
        dxDrawRectangle(375, 452, 275, 84, tocolor(21, 131, 10, 210), false)
        dxDrawText("R$15.000", 380 - 1, 398 - 1, 655 - 1, 448 - 1, tocolor(0, 0, 0, 255), 2.00, "pricedown", "center", "center", false, false, false, false, false)
        dxDrawText("R$15.000", 380 + 1, 398 - 1, 655 + 1, 448 - 1, tocolor(0, 0, 0, 255), 2.00, "pricedown", "center", "center", false, false, false, false, false)
        dxDrawText("R$15.000", 380 - 1, 398 + 1, 655 - 1, 448 + 1, tocolor(0, 0, 0, 255), 2.00, "pricedown", "center", "center", false, false, false, false, false)
        dxDrawText("R$15.000", 380 + 1, 398 + 1, 655 + 1, 448 + 1, tocolor(0, 0, 0, 255), 2.00, "pricedown", "center", "center", false, false, false, false, false)
        dxDrawText("R$15.000", 380, 398, 655, 448, tocolor(255, 255, 255, 255), 2.00, "pricedown", "center", "center", false, false, false, false, false)
        dxDrawText("comprar", 385, 464, 640, 526, tocolor(255, 255, 255, 255), 2.00, "pricedown", "center", "center", false, false, false, false, false)
        dxDrawRectangle(365, 222, 295, 32, tocolor(48, 212, 5, 255), false)
        dxDrawImage(442, 259, 150, 153, ":GUI/images/examples/G-18.png", 0, 0, 0, tocolor(255, 255, 255, 255), false)
        dxDrawText("Glock-18", 369, 228, 654, 249, tocolor(255, 255, 255, 255), 1.00, "pricedown", "center", "center", false, false, false, false, false)
    end