1. Multi Theft Auto: San Andreas 1.x

    1. Support for MTA:SA 1.x

      HELP! HELP! Need help? Post here.
      50,463
      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.

      9
      posts
    3. Open Source Contributors

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

      1,205
      posts
    4. Suggestions

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

      7,530
      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.

      561
      posts
  2. General MTA

    1. News

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

      User-made screens and movies go here.

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

      Share your comments & concerns about our services.

      5,169
      posts
    4. MTA Chat

      MTA related chat that is NOT support related!
      1,824
      posts
    5. 313,761
      posts
  3. MTA Community

    1. Scripting

      All Lua scripting topics related to Multi Theft Auto.

      247,307
      posts
    2. Maps

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

      Everything else about resources.
      26,729
      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,638
      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,556
      posts
  4. Other

    1. General

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

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

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

    1. 144,330
      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,565
      posts
  • Posts

    • -- CLIENT mapName = "" function requestMapName() triggerServerEvent("requestMapName", localPlayer) end addEvent("getMapName", true) function getMapName(name) mapName = name end addEventHandler("getMapName", getRootElement(), getMapName) --SERVER addEvent("requestMapName", true) function requestMapName() local mapName = getMapName() if mapName and mapName ~= "None" then triggerClientEvent(source, "getMapName", source, mapName) end end addEventHandler("requestMapName", getRootElement(), requestMapName)   when using the "requestMapName" function, the "mapName" variable will equal the name of the current map
    • Probably with: https://wiki.multitheftauto.com/wiki/DxCreateScreenSource And capturing and drawing the screen on the correct processing order. https://wiki.multitheftauto.com/wiki/Game_Processing_Order  
    • It has nothing to do with maths. But with breaking down the instructions (for the computer) in to pieces and debug every piece individually.   When running this code you gave the computer 4 instructions. 1. Load the file Runs a debug line if added. 2. Attach the eventhandler (returns true if attached, which is a value you can debug) 3. The event is fired, which calls the function you have attached. If you did add a debug line here, you would have noticed that the code didn't run. (If the debug line is not visible, then there must have been something with the addEventHandler) Hmmmmaybe compare the code to something similar that does work?   4. Call your custom function. Check which value it returns.   This is something that takes time to learn. So maybe put some more time in debug your code in details. This will save you a lot of time in the long run.      
    • it's posibble to delete this gliched tram from Liberty City by CodyJL (https://github.com/CodyJL/JLiberty-City)? I wanted to ask him but he was last seen almost twenty days ago
    • You can't modify it. But the client can for himself in settings.