Jump to content

Ianito

Members
  • Posts

    23
  • Joined

  • Last visited

Details

  • Gang
    FsN

Recent Profile Visitors

The recent visitors block is disabled and is not being shown to other users.

Ianito's Achievements

Civilian

Civilian (7/54)

2

Reputation

  1. No, I do not send anything to the API. I also do not use "Sockets". The only thing the script does is run through all files with ".lua" and use the MTA lua_compiler itself. https://luac.multitheftauto.com/files/windows/x86/luac_mta.exe Anyway, I understand your concern, but the code is open and anyone who wants to use it anyway, feel free.
  2. I believe you did not open the link in the post. https://github.com/Ianito/mta_compiler/blob/master/main.py Do it yourself, compile and test it.
  3. I created this tiny script to help me compilating on MTA. Made with Python but you dont need install it. How to use: Put the resources which you want to compile in the "resources" folder. PS: This doesn't work with .zip archives. The script will compile every .lua archive. Download & Code: https://github.com/Ianito/mta_compiler Print:
  4. Recomendo, é claro e será bem merecido. Ele faz um excelente trabalho na comunidade brasileira,inclusive acho a idéia bacana de abrir o site e o fórum brasileiro, eu particularmente não gosto da skin que existe nesse fórum,então no brasileiro poderia ter algo mais novo,focando as cores amarelo e verde. Se caso existir o fórum, ele poderia ajudar o pessoal aqui e instruir o pessoal a frequentar o fórum brasileiro.(Somente os portugueses/brasileiros). Enfim,meu total apoio e boa sorte lek.
  5. Try... local screenW,screenH = guiGetScreenSize() local resW, resH = 1280, 720 local x, y = (screenW/resW), (screenH/resH) local isVisible = false; function DXINFO () totalVisited = getElementData(root,"uniqueHits"); dxDrawText("Visitas "..tostring(totalVisited),x*310, y*660, x*310, y*40,tocolor(255, 255, 255,255),1.0,"default","left","top",false,false,false,true) end function toggleRadar() if isVisible then addEventHandler("onClientRender", root, DXINFO) else removeEventHandler("onClientRender", root, DXINFO) end isVisible = not isVisible end bindKey ("F11", "down", toggleRadar) addEventHandler("onClientRender", root, DXINFO) Server: (WASSIm.) addEventHandler("onResourceStart", resourceRoot, function () executeSQLQuery("CREATE TABLE IF NOT EXISTS players (name TEXT, serial TEXT)") for _, player in pairs(getElementsByType("player")) do local serial = getPlayerSerial(player) local result = executeSQLQuery("SELECT * FROM players WHERE serial=?", serial) if (#result == 0) then local name = getPlayerName(player) executeSQLQuery("INSERT INTO players(name,serial) VALUES(?,?)", name, serial) end end local count = #executeSQLQuery("SELECT * FROM players") if (count) and (tonumber(count)) then totalVisiters = count setElementData(root, "uniqueHits", totalVisiters) end end) addEventHandler("onPlayerJoin",root, function () local serial = getPlayerSerial(source) local result = executeSQLQuery("SELECT * FROM players WHERE serial=?", serial) if (#result == 0) then local name = getPlayerName(source) executeSQLQuery("INSERT INTO players(name,serial) VALUES(?,?)", name, serial) totalVisiters = totalVisiters+1 setElementData(root, "uniqueHits", totalVisiters) end end)
  6. Realmente não é fácil mas é um GM que está em falta no MTA BR, então eu penso que quanto mais servidores inovadores surgirem melhor será a busca por inovação entre todos os servidores.
  7. Primeiramente olá. • Índice História O que foi feito? O que falta? Planos Futuros Equipe Vou começar contando a história do SERVIDOR, para quem me conhece um pouco mais a fundo, sabe uma parte já, inclusive dar algumas dicas para organização de script. A exatamente 3 semanas atrás, tive a ideia de desenvolver um SERVIDOR de RPG, só que acabei desistindo por diversos motivos, a ideia era inovar e fazer um RPG único no Brasil, mas a questão era, como fazer isso? Eu não tinha ideia alguma de como fazer, até por que era somente eu desenvolvendo, idealizando todo o projeto, desisti. Ha alguns dias atrás, resolvi criar um gamemode básico para abrir um servidor RPG(casas/empresas/EMPREGOS/interiores. • O que foi feito? Basicamente toda a base do SERVIDOR está feita, abaixo vou listar alguns sistemas que já estão prontos Prefeitura HQS Empregos • O que falta? Nossos planos era deixar o SERVIDOR completamente jogável e sem ser tedioso com o mínimo de coisas possíveis para que o lançamento não fique tão distante e que acabe fazendo o servidor perder jogadores pela espera. Segue algumas coisas que foram começadas no servidor, porém não concluídas. Casas - Empresas - Sistema administrativo - Ainda falta algumas funções/comandos para o cargo de Supervisor. Sistema de ajuda - EMPREGOS - Falta só criar mais empregos e melhorar os atuais. Alguns comandos de Organizações e outras funcionalidades. • Planos futuros Não vou revelar todos os nossos planos futuros por motivos óbvio, porém, como nosso foco está sendo bastante também a integração site/painel/SERVIDOR, vou contar alguns... Website - Queremos chegar ao nível de 100% de site responsivo. Sistema de governo com taxas, impostos, salário mínimo, eleições pelo fórum/painel. Sistema monetário o mais próximo possível da realidade. Donator/VIP para não depender somente da comunidade para mantê-lo online e com esse dinheiro comprar um VPS/BR.
  8. Wanted to know what functions to use to make a script when the player connects, displaying an image that covers the screen, and it will only be removed when the player presses the spacebar
  9. Did not work bro, the blood of DayZ is different from normal, is "blood"
  10. I want to leave FIXED life and not increase it, if it were to do so I already knew, anyway thanks for the suggestion ...
  11. I'll try here as well, thanks for helping me bro
  12. Does anyone have an idea how can I do it? / godon = Enable / Disable = Godoff
  13. Already did: Okay okay, thx for help...
×
×
  • Create New...