1. Multi Theft Auto: San Andreas 1.x

    1. Support for MTA:SA 1.x

      HELP! HELP! Need help? Post here.
      49,973
      posts
    2. User Guides

      These guides are a good place to start learning how to achieve certain things within MTA in an efficient and well mannered way.

      1
      post
    3. Open Source Contributors

      This space is for contributors to discuss the development of MTA. No user suggestions/support.

      1,196
      posts
    4. Suggestions

      Suggestions and requests go here. Please note that actual feature requests must be filed on our GitHub.

      7,473
      posts
    5. Ban appeals

      Use this forum to appeal your GLOBAL MTA:SA bans. Permanent bans only - appeals for timed ones (eg. 24 hours) will be refused.

      Do not use it for appealing server-specific bans as we do not have power over these specific servers.

      439
      posts
  2. General MTA

    1. News

      News and updates on Multi Theft Auto.
      9,384
      posts
    2. Media

      User-made screens and movies go here.

      4,165
      posts
    3. Site/Forum/Discord/Mantis/Wiki related

      Share your comments & concerns about our services.

      5,148
      posts
    4. MTA Chat

      MTA related chat that is NOT support related!
      1,764
      posts
    5. 310,979
      posts
  3. MTA Community

    1. Scripting

      All Lua scripting topics related to Multi Theft Auto.

      244,100
      posts
    2. Maps

      Discussions for maps on various gamemodes.
      12,795
      posts
    3. Resources

      Everything else about resources.
      26,608
      posts
    4. Other Creations & GTA modding

      This section includes things such as GUI themes, forum userbars, user-created MTA logos, etc. Also contains topics which cover general GTA modding areas that can be used in MTA, such as modelling.

      1,567
      posts
    5. Competitive gameplay

      Discussions about various MTA-related competitive gameplay events. Also gang (clan) forums.
      26,784
      posts
    6. Servers

      Looking for a server to play on? Looking for someone to host your server? Looking for a place to discuss with other server owners? Here's where to look.
      13,267
      posts
  4. Other

    1. General

      Non-MTA discussions. Anything you want.
      38,086
      posts
    2. Multi Theft Auto 0.5r2

      Discussion regarding Multi Theft Auto 0.5r2 for GTAIII and Vice City.
      607
      posts
    3. Third party GTA mods

      Showcase for single player mods and requests.
      768
      posts
  5. Archive

    1. 144,331
      posts
    2. Trash

      These posts have broken forum rules. They are stored here temporarily so offending users can see what they have done wrong.
      1,498
      posts
  • Posts

    • Hi guys , so i have made a external car spawning system for my server , but the only problem is that if i spawn the same cars (for example i spawn Infernus at X pos and spawn Another Infernus at Y spawn - different places) , when they boom , there will be 2 Infernus spawned on the SAME spot Here is the code about respawns of cars :    function respawnDayZVehicle2(id,x,y,z,rx,ry,rz,veh,col,max_slots) local armorMax = getElementData(col,"armorPointsMax") destroyElement(veh) destroyElement(col) veh = createVehicle(id,x,y,z,rx,ry,rz) vehCol = createColSphere(x,y,z,4) attachElements ( vehCol, veh, 0, 0, 0 ) setElementData(vehCol,"parent",veh) setElementData(veh,"parent",vehCol) setElementData(vehCol,"vehicle",true) setElementData(vehCol,"MAX_Slots",max_slots) --Engine + Tires local tires,engine,parts,metal = getVehicleAddonInfos (getElementModel(veh)) setElementData(vehCol,"Tire_inVehicle",math.random(0,tires)) setElementData(vehCol,"Engine_inVehicle",math.random(0,engine)) setElementData(vehCol,"Parts_inVehicle",math.random(0,parts)) setElementData(vehCol,"Tire_inVehicle_HP",400) setElementData(vehCol,"Engine_inVehicle_HP",400) setElementData(vehCol,"Parts_inVehicle_HP",400) setElementData(vehCol,"armorPointsMax",armorMax) setElementData(vehCol,"armorPoints",0) setElementData(vehCol,"receiver",0) setElementData(vehCol,"vehicle:station",0) --vehicle_indentifikation setElementData(vehCol,"spawn",{id,x,y,z,rx,ry,rz}) --others setElementData(vehCol,"fuel",10) end and here is the code of the car spawn.   function SpawnDayZVehicle2(id,typ) local x, y, z = getElementPosition(source) veh = createVehicle(id, x + 5, y, z) vehCol = createColSphere(x + 5, y, z, 2.5) attachElements(vehCol, veh, 0, 0, 0) setElementData(vehCol, "parent", veh) setElementData(veh, "parent", vehCol) setElementData(vehCol, "vehicle", true) setElementData(vehCol, "MAX_Slots", 0) -- количество слотов в тс local tires,engine,parts,metal = getVehicleAddonInfos(getElementModel(veh))---данные берём из vehicle_spawns setElementData(vehCol,"Tire_inVehicle",tires) setElementData(vehCol,"Engine_inVehicle",engine) setElementData(vehCol,"Parts_inVehicle",parts) setElementData(vehCol,"armorPoints",list) setElementData(vehCol,"Tire_inVehicle_HP",400) setElementData(vehCol,"Engine_inVehicle_HP",400) setElementData(vehCol,"Parts_inVehicle_HP",400) setElementData(vehCol,"armorPoints",15500) setElementData(vehCol,"receiver",0) setElementData(vehCol,"spawn",{id,x,y,z,rx,ry,rz}) if typ == "con" then --лут который будет спаунится в конвойном тс setElementData(vehCol,"GPS",1) setElementData(vehCol,"Toolbox",1) setElementData(vehCol,"Map",1) end setElementData(vehCol, "fuel", 20) setVehicleHeadLightColor(veh,math.random(0,255),math.random(0,255),math.random(0,255)) end addEvent("spawnVehAdmin",true) addEventHandler("spawnVehAdmin",getRootElement(),SpawnDayZVehicle2) The data "spawn" is the file of spawn of cars.    Please HELP :v
    • Hello Mta-Sa Community, Even if you have not earned anything yet, I want to offer you script here today. It's a cop and robs gamemode, I do not have to explain the process to you. It is self-made and is not fully developed, but it is suitable for beginners. The Divi Gaming - CnR Team wishes you a lot of fun with the script.   https://www.file-upload.net/download-13645045/DiviGaming.rar.html  
    • Copy & Paste Master Release my Script. Have fun
    • Give us the code if you want us help you?
    • How do I make a player active how many hours ago?