Jump to content

Forums

  1. Multi Theft Auto: San Andreas 1.x

    1. Support for MTA:SA 1.x

      HELP! HELP! Need help? Post here.

      55.6k
      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.

      11
      posts
    3. Open Source Contributors

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

      1.3k
      posts
    4. Suggestions

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

      7.7k
      posts
    5. [Read-Only] Ban appeals

      We have stopped accepting ban appeals for MTA. You can find more about this at our newspost: https://forum.multitheftauto.com/topic/139550-cheater-reports-ban-appeals-in-2023/

      4.6k
      posts
  2. General MTA

    1. News

      News and updates on Multi Theft Auto.

      9.8k
      posts
    2. Media

      User-made screens and movies go here.

      4.5k
      posts
    3. Site/Forum/Discord/Mantis/Wiki related

      Share your comments & concerns about our services.

      5.7k
      posts
    4. MTA Chat

      MTA related chat that is NOT support related!

      2.2k
      posts
    5. 331k
      posts
  3. MTA Community

    1. Scripting

      All Lua scripting topics related to Multi Theft Auto.

      261.9k
      posts
    2. Maps

      Discussions for maps on various gamemodes.

      13.5k
      posts
    3. Resources

      Everything else about resources.

      28.8k
      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.

      2.5k
      posts
    5. Competitive gameplay

      Discussions about various MTA-related competitive gameplay events. Also gang (clan) forums.

      26.7k
      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.

      15.8k
      posts
  4. Other

    1. General

      Non-MTA discussions. Anything you want.

      38.1k
      posts
    2. Multi Theft Auto 0.5r2

      Discussion regarding Multi Theft Auto 0.5r2 for GTAIII and Vice City.

      687
      posts
    3. Third party GTA mods

      Showcase for single player mods and requests.

      812
      posts
  5. Archive

    1. 144k
      posts
    2. Trash

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

      3.8k
      posts
  • Posts

    • Might be because the (player/server) network can't catchup. -- (un)subscribe to the vehicle fuel element data of a specific vehicle addEventHandler("onVehicleEnter", getRootElement(), function(thePlayer, seat) if seat~=0 then return end -- Wiki Note: Before using addElementDataSubscriber you need to setup an initial value of element data in "subscribe" mode, otherwise the subscriber will not be added. if not getElementData(source, "plane:fuel") and getVehicleType(source) == "Plane" then setElementData(source, "plane:fuel", 0.18, "subscribe", "deny") end addElementDataSubscriber(source, "plane:fuel", thePlayer) end) addEventHandler("onVehicleExit", getRootElement(), function(thePlayer, seat) if seat~=0 then return end removeElementDataSubscriber(source, "plane:fuel", thePlayer) end) setTimer(function() -- Start with all players instead of all vehicles, because there are often more vehicles than players local players = getElementsByType("player") for i=1, #players do local player = players[i] local vehicle = getPedOccupiedVehicle(player) if vehicle and getVehicleType(vehicle) == "Plane" and getVehicleEngineState(vehicle) then local fuel = getElementData(vehicle, "plane:fuel") or 0.18 if fuel > 0 then -- do not update if fuel is 0 or lower, else you are wasting bandwidth by setting the data to the same value fuel = fuel - fuelUsePerSecond if fuel < 0 then fuel = 0 end setElementData(vehicle, "plane:fuel", fuel, "subscribe", "deny") end end end end, 1000, 0) Please let me know if the addElementDataSubscriber function works as expected, haven't used it myself yet.    
    • if isInSlot(x, y, itemWidth, itemHeight) then selectedRadio = radios[index].name selectedRadioURL = radios[index].url if isElement(radioP) then destroyElement(radioP) end radioP = playSound(radios[index].url) setSoundVolume(radioP, hangero/50) pausebutton = true end  
    • If someone stumbled upon this topic with sufficient skills in C++ and is competent in what tweaks need to be made to build Pawn VM in 64-bit (without changing PAWN_CELL_SIZE, so that all current SA-MP scripts work without changes; 64-bit only for the binary itself), then you could help the project by suggesting changes for the MTA module. So far, this module which brings Pawn support is available only as a 32-bit dll library, and therefore the entire MTA AMX project can only be launched on 32-bit MTA server which couldn't be called modern nowadays, especially when 64-bit server has long been a standard here. Although this is not much critical task for SA-MP community (since in general it makes not much difference which MTA server to download for a SA-MP scripter who would just want to test his Pawn scripts on a different multiplayer platform), several people among MTA scripters who would like to try testing SA-MP scripts were very surprised that the project doesn't yet support 64-bit MTA server. And since I'm not competent enough in this matter, any help is welcome.
    • Hi i'd like to share a resource i developed it's lightweight and efficient tool designed to make mapping in MTA significantly faster and easier. It allows you to copy all object or vehicle data, including position and rotation with a single click. The information is also displayed in a DX panel Features: Supports both objects and vehicles Displays: model ID, X/Y/Z position, and RX/RY/RZ rotation Clean animated UI (fade/slide) Simple toggle: Shift and + One click = full data copied Download Feel free to ask via PM or discord liwa2003 I'm also open to script requests and feedback you can use Github Pull request or issue Ill keep updating the tool in case you find some bugs.
    • Hey MTA community! I'm releasing a complete Lua code editor that runs directly inside MTA:SA. Edit your server scripts in real-time without leaving the game or dealing with FTP uploads. This is a full development environment with professional features, not just a basic text editor. I've been using it for months and it's completely changed how I develop servers. Key Features: CodeMirror syntax highlighting (Visual Studio Code quality) Word wrap support for clean code viewing Real-time file editing and saving Resource browser with search functionality Multi-language interface (English, Spanish, Portuguese, Turkish) Dark professional theme Whitelist/Blacklist security system Admin ACL permission controls Completely offline (no external dependencies) Instant server updates without restarts - To open the editor, use the command /editor. What it does: Browse all your server resources, view client/server files, and modify code with proper syntax highlighting. Changes save directly to your server files instantly. Requirements: Admin ACL permissions (configure your admin group) Set up whitelist/blacklist for resource access control Why I'm sharing this: I believe in giving back to the MTA community. This tool has saved me countless hours of development time, and I want everyone to benefit from it. This is just the first of many free tools I plan to release. The MTA community has always been about helping each other build better servers. Download it, try it out, and let me know what you think. More contributions coming soon. Developed by BranD - Trident Sky Hosting I appreciate it if you join and support me on discord, even if it's just a small contribution ❤️ https://discord.gg/mjWuv7Zbyh Video Demo:  

Twitter Feed

×
×
  • Create New...