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


Member (5/54)



  1. markenic


    Where is your isMouseInPosition function? You need to put this code if isMouseInPosition(sx*.450, sy*.50, sx*.10, sy*.07) then color1 = tocolor(88, 0, 0, 50) else color1 = color end into the render above the rectangles
  2. Your variable name is "Dinheiro_Banco" but you have "Banco" in the DrawText. If it won't work like this you may check the elementData's name is correct
  3. In the respawn function you get a variable with "car" name but you use a Taxi named variable. Instead of this function respawn(car) if not isVehicleOccupied(Taxi) then respawnVehicle(Taxi) end end you should try this function respawn(car) if not isVehicleOccupied(car) then respawnVehicle(car) end end
  4. 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)
  5. 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 )
  6. markenic


    put your code into an onClientResourceStart event, it will work
  7. 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 )
  8. 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?
  9. 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:(
  10. 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...