Jump to content

vehicle panel assistance


rogerioexper

Recommended Posts

Can anyone help me in this vehicle panel

I thank you

GUIEditor = {
    button = {},
    label = {}
}
addEventHandler("onClientResourceStart", resourceRoot,
    function()
        GUIEditor.button[1] = guiCreateButton(387, 235, 15, 15, "", false) -- porta 1 frente direita
        guiSetAlpha(GUIEditor.button[1], 0.00)


        GUIEditor.button[2] = guiCreateButton(394, 300, 18, 17, "", false) -- porta 2 traseira deireita
        guiSetAlpha(GUIEditor.button[2], 0.00)


        GUIEditor.button[3] = guiCreateButton(274, 305, 15, 15, "", false) -- porta 3 traseira esquerda
        guiSetAlpha(GUIEditor.button[3], 0.00)


        GUIEditor.button[4] = guiCreateButton(276, 243, 15, 15, "", false) -- porta 4 frente esquerda
        guiSetAlpha(GUIEditor.button[4], 0.00)
		
	GUIEditor.button[5] = guiCreateButton(331, 170, 15, 15, "", false) -- capo
        guiSetAlpha(GUIEditor.button[5], 0.00)


        GUIEditor.button[6] = guiCreateButton(332, 363, 15, 15, "", false) --- porta malas
        guiSetAlpha(GUIEditor.button[6], 0.04)
		
		
	GUIEditor.button[7] = guiCreateButton(450, 169, 15, 15, "", false)  -- luz on
        guiSetAlpha(GUIEditor.button[7], 0.00)


        GUIEditor.button[8] = guiCreateButton(522, 169, 15, 15, "", false) -- luz off
        guiSetAlpha(GUIEditor.button[8], 0.00)


        GUIEditor.button[9] = guiCreateButton(527, 253, 15, 15, "", false) -- motor ligado
        guiSetAlpha(GUIEditor.button[9], 0.00)


        GUIEditor.button[10] = guiCreateButton(451, 253, 15, 15, "", false) -- motor desligado
        guiSetAlpha(GUIEditor.button[10], 0.00)

	GUIEditor.button[11] = guiCreateButton(455, 418, 89, 21, "", false) -- freio de mao
        guiSetAlpha(GUIEditor.button[11], 0.00)
		
	GUIEditor.button[12] = guiCreateButton(277, 414, 28, 28, "", false) -- descer baixa
        guiSetAlpha(GUIEditor.button[12], 0.00)


        GUIEditor.button[13] = guiCreateButton(362, 415, 29, 32, "", false) -- subir suspenção
        guiSetAlpha(GUIEditor.button[13], 0.00)

		
	GUIEditor.button[14] = guiCreateButton(618, 169, 24, 21, "", false) -- neon verde
        guiSetAlpha(GUIEditor.button[14], 0.00)


        GUIEditor.button[15] = guiCreateButton(653, 170, 22, 20, "", false) -- neon vemelho
        guiSetAlpha(GUIEditor.button[15], 0.00)


        GUIEditor.button[16] = guiCreateButton(687, 170, 18, 18, "", false) -- neon rosa
        guiSetAlpha(GUIEditor.button[16], 0.00)


        GUIEditor.button[17] = guiCreateButton(722, 170, 19, 20, "", false) -- lilaz 
        guiSetAlpha(GUIEditor.button[17], 0.00)


        GUIEditor.button[18] = guiCreateButton(621, 206, 21, 22, "", false) -- azu claro
        guiSetAlpha(GUIEditor.button[18], 0.00)


        GUIEditor.button[19] = guiCreateButton(653, 206, 22, 22, "", false) -- azu escuro
        guiSetAlpha(GUIEditor.button[19], 0.00)


        GUIEditor.button[20] = guiCreateButton(687, 208, 22, 20, "", false) -- neon laranja
        guiSetAlpha(GUIEditor.button[20], 0.00)


        GUIEditor.button[21] = guiCreateButton(721, 207, 20, 21, "", false) -- neon branco
        guiSetAlpha(GUIEditor.button[21], 0.00)


        GUIEditor.button[22] = guiCreateButton(622, 255, 119, 27, "Tirar Neon", false) --tirar neon
        guiSetAlpha(GUIEditor.button[22], 0.43)
        guiSetProperty(GUIEditor.button[22], "NormalTextColour", "F1E50802")


        GUIEditor.button[23] = guiCreateButton(276, 400, 115, 18, "Resetar", false) --resetar suspenção
        guiSetAlpha(GUIEditor.button[23], 0.57)
        guiSetProperty(GUIEditor.button[23], "NormalTextColour", "F1E50802")


        GUIEditor.label[4] = guiCreateLabel(326, 260, 15, 15, "", false)


        GUIEditor.label[20] = guiCreateLabel(278, 420, 112, 17, "Suspenção", false)
        guiLabelSetHorizontalAlign(GUIEditor.label[20], "center", false)
        guiLabelSetVerticalAlign(GUIEditor.label[20], "center")


        GUIEditor.label[23] = guiCreateLabel(481, 189, 63, 39, "Luzes", false)
        guiSetFont(GUIEditor.label[23], "default-bold-small")


        GUIEditor.label[24] = guiCreateLabel(480, 272, 64, 28, "Motor", false)
        guiSetFont(GUIEditor.label[24], "default-bold-small")


        GUIEditor.label[26] = guiCreateLabel(451, 392, 93, 20, "Travao de Mao", false)
        guiSetFont(GUIEditor.label[26], "default-bold-small")
        guiLabelSetHorizontalAlign(GUIEditor.label[26], "center", false)
        guiLabelSetVerticalAlign(GUIEditor.label[26], "center")


        GUIEditor.label[36] = guiCreateLabel(618, 233, 123, 15, "Neon", false)
        guiSetFont(GUIEditor.label[36], "default-bold-small")
        guiLabelSetHorizontalAlign(GUIEditor.label[36], "center", false)
        guiLabelSetVerticalAlign(GUIEditor.label[36], "center")


        GUIEditor.label[37] = guiCreateLabel(427, 169, 39, 29, "ON", false)


        GUIEditor.label[38] = guiCreateLabel(542, 167, 32, 29, "Off", false)


        GUIEditor.label[39] = guiCreateLabel(544, 253, 32, 29, "Off", false)


        GUIEditor.label[40] = guiCreateLabel(432, 250, 39, 29, "ON", false)    
    end
)

addEventHandler("onClientRender", root,
    function()
        dxDrawRectangle(267, 132, 485, 310, tocolor(81, 173, 87, 149), false)
        dxDrawRectangle(267, 131, 485, 24, tocolor(255, 255, 255, 255), false)
        dxDrawText("▂ ▃ ▄Brasil Vida Moderna▄ ▃ ▂", 266, 130, 752, 155, tocolor(16, 5, 247, 220), 1.00, "diploma", "center", "center", false, false, false, false, false)
        dxDrawImage(455, 244, 0, 0, ":PainelCarro/images/carro.png", 0, 0, 0, tocolor(255, 255, 255, 255), false)
        dxDrawImage(295, 192, 90, 155, ":PainelCarro/images/carro.png", 0, 0, 0, tocolor(255, 255, 255, 255), false)
        dxDrawImage(387, 232, 25, 28, ":PainelCarro/images/seta.png", 0, 0, 0, tocolor(255, 255, 255, 255), false)
        dxDrawImage(387, 289, 25, 28, ":PainelCarro/images/seta.png", 0, 0, 0, tocolor(255, 255, 255, 255), false)
        dxDrawImage(327, 354, 24, 24, ":PainelCarro/images/seta.png", 90, 0, 0, tocolor(255, 255, 255, 255), false)
        dxDrawImage(266, 293, 26, 27, ":PainelCarro/images/seta.png", 180, 0, 0, tocolor(255, 255, 255, 255), false)
        dxDrawImage(266, 231, 25, 25, ":PainelCarro/images/seta.png", 183, 0, 0, tocolor(255, 255, 255, 255), false)
        dxDrawImage(325, 165, 26, 20, ":PainelCarro/images/seta.png", 270, 0, 0, tocolor(255, 255, 255, 255), false)
        dxDrawImage(476, 155, 41, 44, ":PainelCarro/images/farol.png", 0, 0, 0, tocolor(255, 255, 255, 255), false)
        dxDrawImage(476, 238, 34, 40, ":PainelCarro/images/motor.png", 0, 0, 0, tocolor(255, 255, 255, 255), false)
        dxDrawImage(520, 248, 27, 25, ":PainelCarro/images/seta.png", 0, 0, 0, tocolor(178, 45, 4, 186), false)
        dxDrawImage(445, 248, 27, 25, ":PainelCarro/images/seta.png", 180, 0, 0, tocolor(178, 45, 4, 186), false)
        dxDrawImage(517, 165, 27, 25, ":PainelCarro/images/seta.png", 0, 0, 0, tocolor(178, 45, 4, 186), false)
        dxDrawImage(445, 165, 27, 25, ":PainelCarro/images/seta.png", 177, 0, 0, tocolor(178, 45, 4, 186), false)
        dxDrawImage(591, 518, 0, 0, ":gta_v_radar/img/blips/52.png", 0, 0, 0, tocolor(255, 255, 255, 255), false)
        dxDrawImage(278, 418, 24, 24, ":PainelCarro/images/seta.png", 90, 0, 0, tocolor(255, 255, 255, 255), false)
        dxDrawImage(367, 418, 24, 24, ":PainelCarro/images/seta.png", 270, 0, 0, tocolor(255, 255, 255, 255), false)
        dxDrawImage(451, 418, 96, 21, ":PainelCarro/images/botao-neon.png", 0, 0, 0, tocolor(6, 49, 188, 79), false)
        dxDrawImage(619, 165, 23, 25, ":PainelCarro/images/botao-neon.png", 0, 0, 0, tocolor(125, 251, 91, 171), false)
        dxDrawImage(652, 165, 23, 25, ":PainelCarro/images/botao-neon.png", 0, 0, 0, tocolor(231, 10, 5, 171), false)
        dxDrawImage(685, 165, 23, 25, ":PainelCarro/images/botao-neon.png", 0, 0, 0, tocolor(229, 6, 226, 171), false)
        dxDrawImage(719, 165, 23, 25, ":PainelCarro/images/botao-neon.png", 0, 0, 0, tocolor(164, 50, 184, 171), false)
        dxDrawImage(619, 203, 23, 25, ":PainelCarro/images/botao-neon.png", 0, 0, 0, tocolor(5, 228, 220, 171), false)
        dxDrawImage(652, 203, 23, 25, ":PainelCarro/images/botao-neon.png", 0, 0, 0, tocolor(44, 51, 188, 171), false)
        dxDrawImage(685, 203, 23, 25, ":PainelCarro/images/botao-neon.png", 0, 0, 0, tocolor(198, 118, 33, 171), false)
        dxDrawImage(718, 203, 23, 25, ":PainelCarro/images/botao-neon.png", 0, 0, 0, tocolor(116, 114, 114, 171), false)
        dxDrawRectangle(601, 155, 150, 287, tocolor(38, 31, 37, 51), false)
    end
)

 

Link to comment

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...