Jump to content


  • Posts

  • Joined

  • Last visited

Recent Profile Visitors

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

markenic's Achievements


Newbie (4/54)



  1. What does "jugadores" table contains? table.remove needs two parameters, the table and the line's ID. In your case you can do that like this: table.remove(jugadores, i)
  2. Egy másik fórumon már megválaszoltam a kérdést local szovegAlpha = 255 local szam = 1 local Szoveg = {"Újraindítási folyamat...", "Teszt1...", "Teszt2..."} local seefont1 = dxCreateFont("images/bebasneuepro.ttf", 20) local sx, sy = guiGetScreenSize() addEventHandler("onClientRender", root, function () if szovegAlpha > 0 then szovegAlpha = szovegAlpha -1.5 else if szam < #Szoveg szam = szam + 1 szovegAlpha = 255 end end dxDrawText(Szoveg[szam], sx/2,sy/2+30, sx/2,sy/2+15, tocolor(255,255,255,szovegAlpha), 0.7, seefont1,"center", "center") end )
  3. markenic


    put your code into an onClientResourceStart event, it will work
  4. You have to rename your function function playerCount() if (getPlayerCount() == 1) then outputChatBox ( "More players are required to start the match", source, 255, 255, 255 ) end end addEventHandler ( "onPlayerJoin", root, playerCount )
  5. Hi! A have an MTA server on Ubuntu os, and some days ago it worked fine, but now I can't connect becouse the 22126 and the 22003 ports are closed. I tried without firewall, it didn't work. I allowed the ports. Can somebody help me with that?
  6. I am using Ajenti webadmin and it can run service files, this is not the problem. The problem is that I stop the service file but the server is still running:(
  7. Hi! I have a VPS with Ubuntu OS, and I would like to make a server starter wich i can use trough a website, so i could manage the server in a website. But the problem is that I don't know how to do it. I thought I should make a service file wich starts the mta server, and it works fine but it can't stop the server. Do you have an idea how could I make it?
  • Create New...