Jump to content

JohnDoom

Members
  • Posts

    4
  • Joined

  • Last visited

Everything posted by JohnDoom

  1. Solved, don't need help anymore, Salsichaum helped me!! Resolvido, precisa mais nao, Salsichaum me ajudou!! Meta: <meta> <info name="Infosilveira" author="Silveira" version="1.0" description="TTC-Community" /> <script src="painelsilveira.lua" type="client" cache="false"/> <file src="files/background.png"/> </meta> Client: local screenW, screenH = guiGetScreenSize() local x, y = (screenW/1366), (screenH/768) local exibindo_painel = false function PainelInfoSilveira() dxDrawImage(screenW * 0.1896, screenH * 0.1901, screenW * 0.6208, screenH * 0.6211, "Files/Background.png", 0, 0, 0, tocolor(255, 255, 255, 255), false) --Lista de Informações dxDrawText("Painel Freeroam: F1", screenW * 0.2094, screenH * 0.4167, screenW * 0.4473, screenH * 0.4466, tocolor(255, 255, 255, 255), 1.40, "default-bold", "left", "top", false, false, false, false, false) dxDrawText("Painel Informações: F2", screenW * 0.2094, screenH * 0.4518, screenW * 0.4473, screenH * 0.4818, tocolor(255, 255, 255, 255), 1.40, "default-bold", "left", "top", false, false, false, false, false) dxDrawText("Painel Veículo: F5", screenW * 0.2094, screenH * 0.4896, screenW * 0.4473, screenH * 0.5195, tocolor(255, 255, 255, 255), 1.40, "default-bold", "left", "top", false, false, false, false, false) dxDrawText("Painel Discord: F6", screenW * 0.2094, screenH * 0.5247, screenW * 0.4473, screenH * 0.5547, tocolor(255, 255, 255, 255), 1.40, "default-bold", "left", "top", false, false, false, false, false) dxDrawText("5º Complemento", screenW * 0.2094, screenH * 0.5599, screenW * 0.4473, screenH * 0.5898, tocolor(255, 255, 255, 255), 1.40, "default-bold", "left", "top", false, false, false, false, false) dxDrawText("6º Complemento", screenW * 0.2094, screenH * 0.5951, screenW * 0.4473, screenH * 0.6250, tocolor(255, 255, 255, 255), 1.40, "default-bold", "left", "top", false, false, false, false, false) dxDrawText("7º Complemento", screenW * 0.2094, screenH * 0.6302, screenW * 0.4473, screenH * 0.6602, tocolor(255, 255, 255, 255), 1.40, "default-bold", "left", "top", false, false, false, false, false) --Lista de Comandos dxDrawText("/COMANDO1", screenW * 0.6340, screenH * 0.4167, screenW * 0.8719, screenH * 0.4466, tocolor(255, 255, 255, 255), 1.40, "default-bold", "left", "top", false, false, false, false, false) dxDrawText("/COMANDO2", screenW * 0.6340, screenH * 0.4518, screenW * 0.8719, screenH * 0.4818, tocolor(255, 255, 255, 255), 1.40, "default-bold", "left", "top", false, false, false, false, false) dxDrawText("/COMANDO3", screenW * 0.6340, screenH * 0.4870, screenW * 0.8719, screenH * 0.5169, tocolor(255, 255, 255, 255), 1.40, "default-bold", "left", "top", false, false, false, false, false) dxDrawText("/COMANDO4", screenW * 0.6340, screenH * 0.5221, screenW * 0.8719, screenH * 0.5521, tocolor(255, 255, 255, 255), 1.40, "default-bold", "left", "top", false, false, false, false, false) dxDrawText("/COMANDO5", screenW * 0.6340, screenH * 0.5586, screenW * 0.8719, screenH * 0.5885, tocolor(255, 255, 255, 255), 1.40, "default-bold", "left", "top", false, false, false, false, false) dxDrawText("/COMANDO6", screenW * 0.6340, screenH * 0.5885, screenW * 0.8719, screenH * 0.6185, tocolor(255, 255, 255, 255), 1.40, "default-bold", "left", "top", false, false, false, false, false) dxDrawText("/COMANDO7", screenW * 0.6340, screenH * 0.6185, screenW * 0.8719, screenH * 0.6484, tocolor(255, 255, 255, 255), 1.40, "default-bold", "left", "top", false, false, false, false, false) dxDrawText("GRUPO DE OPERAÇÕES ESPECIAIS", 450, 590, 775, 613, tocolor(255, 255, 255, 255), 1.50, "default-bold", "left", "top", false, false, false, false, false) end bindKey("F2", "down", function() if exibindo_painel == false then addEventHandler("onClientRender", getRootElement(), PainelInfoSilveira) exibindo_painel = true else removeEventHandler("onClientRender", getRootElement(), PainelInfoSilveira) exibindo_painel = false end end)
  2. Hello everyone, all right? I'm having a problem with my script on my server, the image simply don't want to load... Fala pessoal, tudo certo? Estou tendo problema com meu script no meu servidor, a imagem simplesmente não quer carregar... Meta: <meta> <info name="Infosilveira" author="Silveira" version="1.0" description="TTC-Community" /> <script src="painelsilveira.lua" type="client" cache="false"/> --Imagens <file src="files/background.png"/> </meta> Client side: local screenW, screenH = guiGetScreenSize() local x, y = (screenW/1366), (screenH/768) local exibindo_painel = false function PainelInfoSilveira() dxDrawImage(screenW * 0.1896, screenH * 0.1901, screenW * 0.6208, screenH * 0.6211, "files/background.png", 0, 0, 0, tocolor(255, 255, 255, 255), false) --Lista de Informações dxDrawText("1º DISCORD: http://discord.gg/seuinvite", screenW * 0.2094, screenH * 0.4167, screenW * 0.4473, screenH * 0.4466, tocolor(255, 255, 255, 255), 1.40, "default-bold", "left", "top", false, false, false, false, false) dxDrawText("2º IP CONEXÃO: mtasa://endereço:porta", screenW * 0.2094, screenH * 0.4518, screenW * 0.4473, screenH * 0.4818, tocolor(255, 255, 255, 255), 1.40, "default-bold", "left", "top", false, false, false, false, false) dxDrawText("3º Complemento", screenW * 0.2094, screenH * 0.4896, screenW * 0.4473, screenH * 0.5195, tocolor(255, 255, 255, 255), 1.40, "default-bold", "left", "top", false, false, false, false, false) dxDrawText("4º Complemento", screenW * 0.2094, screenH * 0.5247, screenW * 0.4473, screenH * 0.5547, tocolor(255, 255, 255, 255), 1.40, "default-bold", "left", "top", false, false, false, false, false) dxDrawText("5º Complemento", screenW * 0.2094, screenH * 0.5599, screenW * 0.4473, screenH * 0.5898, tocolor(255, 255, 255, 255), 1.40, "default-bold", "left", "top", false, false, false, false, false) dxDrawText("6º Complemento", screenW * 0.2094, screenH * 0.5951, screenW * 0.4473, screenH * 0.6250, tocolor(255, 255, 255, 255), 1.40, "default-bold", "left", "top", false, false, false, false, false) dxDrawText("7º Complemento", screenW * 0.2094, screenH * 0.6302, screenW * 0.4473, screenH * 0.6602, tocolor(255, 255, 255, 255), 1.40, "default-bold", "left", "top", false, false, false, false, false) --Lista de Comandos dxDrawText("/COMANDO1", screenW * 0.6340, screenH * 0.4167, screenW * 0.8719, screenH * 0.4466, tocolor(255, 255, 255, 255), 1.40, "default-bold", "left", "top", false, false, false, false, false) dxDrawText("/COMANDO2", screenW * 0.6340, screenH * 0.4518, screenW * 0.8719, screenH * 0.4818, tocolor(255, 255, 255, 255), 1.40, "default-bold", "left", "top", false, false, false, false, false) dxDrawText("/COMANDO3", screenW * 0.6340, screenH * 0.4870, screenW * 0.8719, screenH * 0.5169, tocolor(255, 255, 255, 255), 1.40, "default-bold", "left", "top", false, false, false, false, false) dxDrawText("/COMANDO4", screenW * 0.6340, screenH * 0.5221, screenW * 0.8719, screenH * 0.5521, tocolor(255, 255, 255, 255), 1.40, "default-bold", "left", "top", false, false, false, false, false) dxDrawText("/COMANDO5", screenW * 0.6340, screenH * 0.5586, screenW * 0.8719, screenH * 0.5885, tocolor(255, 255, 255, 255), 1.40, "default-bold", "left", "top", false, false, false, false, false) dxDrawText("/COMANDO6", screenW * 0.6340, screenH * 0.5885, screenW * 0.8719, screenH * 0.6185, tocolor(255, 255, 255, 255), 1.40, "default-bold", "left", "top", false, false, false, false, false) dxDrawText("/COMANDO7", screenW * 0.6340, screenH * 0.6185, screenW * 0.8719, screenH * 0.6484, tocolor(255, 255, 255, 255), 1.40, "default-bold", "left", "top", false, false, false, false, false) dxDrawText("MENTALIZE '/einfo' PARA FECHAR O PAINEL", 450, 590, 775, 613, tocolor(255, 255, 255, 255), 1.50, "default-bold", "left", "top", false, false, false, false, false) end addCommandHandler("einfo", function() if exibindo_painel == false then addEventHandler("onClientRender", getRootElement(), PainelInfoSilveira) exibindo_painel = true else removeEventHandler("onClientRender", getRootElement(), PainelInfoSilveira) exibindo_painel = false end end) bindKey("F2", "down", function() if exibindo_painel == false then addEventHandler("onClientRender", getRootElement(), PainelInfoSilveira) exibindo_painel = true else removeEventHandler("onClientRender", getRootElement(), PainelInfoSilveira) exibindo_painel = false end end) Error (photos of files are in the link to imgur): WARNING: [TREINO]\Informação\painelsilveira.lua:22: Error loading image @'dxDrawImage' [files/background.png]
  3. I was playing when I got disconnected with the warning from: AC #4 [CD48] Does anyone know how to solve? I really need help!! Thank you for your attention!!
  4. JohnDoom

    AC #4 File Locked

    Hello!! Today i was playing and them i had been kicked from the server, and the message was: AC #4 File Locked! I spend the entire day trying to solve this problem, but i couldn't... Someone know how to solve it? Pls, i need help!! And i am developing a server too, so i need to fix it ASAP!!! Thanks for the attention!
×
×
  • Create New...