Jump to content

Leaderboard

Popular Content

Showing content with the highest reputation since 15/02/25 in all areas

  1. Hello MTA players, I realised that I had to create this post because I got a lot of feedback, I stopped all my activities in MTA and I don't play MTA anymore because I had to make some changes in my life and change my life direction, I saw MTA in 2010 and I started playing, during this time I made very good friends, developers and players, so I would like to thank you all endlessly, 3 months ago I stopped all my activities in MTA, but I was still receiving a lot of message requests (for paid development or other issues) after that I gave everyone goodwill feedback, but I had to stop this because I was receiving a lot of messages from MTA servers and players, Anyway I have to say that I will miss all MTA players and developers, I will visit from time to time but I won't have much time for that, for some players who will try to contact me I have to say that I don't have a discord server and I don't answer private messages, I think you will be understanding and thanks for that... I have reached the end of my career in MTA. I have worked voluntarily on many servers and participated in numerous projects. I have sold all the projects I worked on, both paid and free, and I would like to announce that I will no longer be continuing my projects. I had a great time on many servers, and for that, I want to express my gratitude. Finally, I am deeply grateful to the valuable members of the MTA team, as they have helped me in many ways. Some of them include @Sarrum, @Vinyard, @Citizen, @IIYAMA, @AlexTMjugador, and myonlake (Patrik). I will miss you, guys!
    6 points
  2. Hey MTA community! I’m excited to release the latest version of the In-Game Lua Editor for MTA:SA, now with even more powerful features to enhance your development experience directly inside the game. What’s New in v3.0: Create Resources directly in the editor, with the ability to choose the folder (e.g., [ADMIN], [GAMEMODES]) for resource creation. Rename and Relocate Resources in one action, making resource management easier. Delete Resources with a confirmation dialog to avoid accidental deletions. Create and Edit HTML Files alongside Lua files, allowing you to handle both HTML and Lua resources directly in the game. Base Path System to restrict developers to specific folders, making it perfect for team organization and isolating workspaces. Function Blacklist: Automatically block dangerous functions like loadstring, setAccountPassword, removeAccount, and others for added security. In-Panel Notifications to give real-time feedback for every action performed in the editor. Security Enhancements: Full ACL Permission System to control access and operations. Activity Logs with SQLite tracking every create, edit, delete, and rename operation. Path Protection and additional security measures to prevent risky operations. Video Demo: Watch on YouTube Download: Download the Resource Here GitHub Repository: Visit the GitHub Repository How it Works: The In-Game Lua Editor allows you to browse, create, edit, and delete Lua and HTML files all in real-time directly inside MTA:SA. No need for external editors or FTP uploads, and no server restarts required. Installation Instructions: Download the resource and add it to your server. Grant "Admin" ACL permissions to the resource. Edit the permissionACL variable in editorS.lua with your admin group. Use the /editor command in-game to open the editor. Let me know your thoughts and feedback! This tool has saved me countless hours, and I hope it helps improve your development process as well. More updates and contributions coming soon! Developed by BranD - Trident Sky Company
    5 points
  3. Tired of San Andreas water that looks like someone spilled green paint and called it “good enough”? Meet this shader: water so realistic, you'll forget you're in a 22 year old game. Enjoy ripples, reflections, and surface waves that almost make you wish GTA had fishing. Boats finally look like they’re actually in the water not floating on radioactive soup. Best part? It’s fully customizable tweak the look, the color, the movement, or make the water as cursed as you want. Plus, it’s at least kind of optimized to run smoothly on hopefully most rigs, so you won’t need a NASA PC to enjoy the water. Just install it, and watch your players get distracted and drive off a pier. https://community.multitheftauto.com/index.php?p=resources&s=details&id=19007
    4 points
  4. MTA UI Editor is a project created with the goal of making interface creation for Multi Theft Auto (MTA) much easier and more accessible. The editor provides a dedicated visual application for building interface windows for MTA, supporting both DxDraw-based interfaces and MTA’s native UI system. With it, you can visually design your interfaces and export them already prepared for direct use in your MTA resources, saving a significant amount of development time. This is the first version of the project, so some configurations may still be inconsistent or incomplete. If you encounter any issues, unexpected behavior, or have suggestions for improvements, please open an issue on the project’s GitHub repository. Feedback from the community is extremely important to help improve the tool. Requirements Windows .NET Framework 4.7.2 Open Source The source code is completely open and free. Anyone is welcome to modify it, improve it, or contribute to the project in any way. Download: https://github.com/was547/MTAUIEditor/releases Official Repository: https://github.com/was547/MTAUIEditor Picture: https://ibb.co/LXYgXdqV I don't know if I have published in the right place on the forum, sorry if this is the wrong category for this kind of resource, greetings!
    3 points
  5. -> develop and sell cheats for players to abuse in servers -> develop and sell anti-cheat for servers to defend from cheating players -> win-win with both sides
    3 points
  6. Hello MTA community! My name is Ehsan/Exxon I’m excited to share a project I’ve been working on: mtasa-nestjs – a high-level API server framework for MTA:SA, inspired by Express.js and NestJS. What is mtasa-nestjs? mtasa-nestjs is a modular, structured Lua framework that makes building server-side APIs for MTA:SA simpler and more scalable. It brings modern backend patterns like Controllers, Middlewares, Guards, Interceptors, and DTOs directly into MTA:SA resources. It’s perfect for developers who want to build secure, maintainable, and professional APIs for their game servers. Key Features Express.js / NestJS-inspired structure: Clear separation of concerns for Controllers, Middlewares, Guards, and Interceptors. JWT Authentication & Password Hashing: Built-in secure JWT (HS256) implementation and password hashing from scratch. DTO Support: Validate and structure input data for cleaner code. Middlewares & Guards: Handle CORS, JSON parsing, authentication, authorization, and more. No External Dependencies: Works out-of-the-box in Lua for MTA:SA. Why I Built This Many MTA:SA servers handle HTTP requests in an ad-hoc manner, often leading to messy and hard-to-maintain code. With mtasa-nestjs, you can structure your API like a professional backend framework, making your server easier to scale and maintain. Example Usage Creating a JWT Token: local token = jwt.encode({userId = 123, role = "admin"}, "SECRET_KEY") iprint(token) Protecting Endpoints with Guards: AuthGuard = function(ctx) local authHeader = ctx.headers["authorization"] if not authHeader then error(Exception.Unauthorized("Missing Authorization header")) end local token = authHeader:match("^Bearer%s+(.+)$") local payload = jwt.verify(token, "SECRET_KEY") ctx.user = payload return true end Why You Should Try It If you’ve ever wanted a clean, structured, and modern API architecture for your MTA:SA server, this is a great starting point. It’s fully modular, fully Lua-based, and ready to handle complex server-side logic with minimal fuss. Where to Get It Ready on my github repository called mtsa-nestjs Make sure to create your own controllers, guards and etc. I’d love to hear feedback from the community. If you try it out, let me know what features you find most useful or what could be improved. Happy coding!
    2 points
  7. This fan-made list features free, open-source, popular and reputable Multi Theft Auto resources containing Lua scripts that are not compiled or obfuscated. The goal is to provide a simple starting point for developers who want to learn from high quality code, reuse well maintained systems and contribute to projects that benefit the entire community. All resources included here are publicly available, actively used by players or servers, and shared with the intention of supporting collaboration, transparency and better development practices. Anyone is welcome to suggest additions or improvements so the list can stay accurate and useful for newcomers and experienced developers alike. The Multi Theft Auto server comes with a pack of official resources preinstalled. The full list of these default resources (and more information) is available on this MTA Wiki Article. Highlights: Map Editor Freeroam "play" gamemode Race gamemode Handling editor "hedit" Map fixes Scoreboard (TAB player list) Country of IP Address Admin Panel Performance Browser The list of the community/fan-made MTA resources is hosted on the following Google Spreadsheet for ease of maintenance and accessibility for everyone. https://docs.google.com/spreadsheets/d/1bbr-cXRvWQuyaNx0KtI2Imk4bD0UTWKxx0x8sh2FGKM/edit?usp=sharing Want to suggest a change or addition to that list? Reach out to us on the MTA Discord or here on the forums. It helps if you share your resource on #showroom (MTA Discord), community.multitheftauto.com, forums 'Resources' section, etc...
    2 points
  8. Sphene is now officially open source! https://github.com/sphene/sphene-mta Excited to work with all of you, to turn this highly experimental pile of trash into something beautiful! Remember, Sphene historically has been very experimental. Many different approaches were tried and researched and that has left a lot of experimental, legacy and unfinished code. It's not the most glamorous, but we're still proud of it! Together we'll refactor the legacy code, we'll finish the unfinished pieces and we'll work through all the large problems that are ahead of us. Repository wiki will be filled with information, and lists (current states of each mission, etc) in the coming days. REMEMBER! Sphene is NOT production ready. We will only help those who want to contribute to our development with setting up their local development versions.
    2 points
  9. Hello all. The holiday season is finally here, and we have prepared a more compact summary post for you than usual. Please read on to see, what we have been up to lately. GTA VI The upcoming year will bring us the next game from the Grand Theft Auto series - GTA VI. Planned to launch in Fall 2025 on consoles, it will likely arrive on PC as well, just some months later. The second trailer for GTA VI is also rumoured to be shown soon, with some elaborate fan theories backing these rumours. Will the game be good? Only the time will tell, but looking back, there was not a major GTA game release from Rockstar Games that was bad (for the sake of this argument, let's consider the Trilogy as a minor release ). That alone makes it worth to look forward to it, and it will be also nice to re-visit Vice City similar to how we did it with Liberty City and San Andreas. MTA Status and Updates Not much to report in regards of MTA - we have been focusing on improving various parts of our infrastructure, which is not immediately visible at first glance. Still, since there are many areas that need the attention, there is a lot of work involved. Thankfully, CiBeR, Botder, Lopsi, Dutchman and others have been looking into it. Thanks to the hard work done by our Helper - FileEX, we have also refreshed the Lua syntax highlighting system on our Wiki. For a long time it was unmaintained, causing many of the recent MTA scripting functions and events to be not correctly highlighted in the code snippet examples on the wiki. This has changed though, and it should be working much better now. We have been also tinkering with our #MTASpotlights hashtag on X / Twitter. We are still exploring this idea, but nonetheless, thank you for your submissions so far. If you would like to share some media that we could promote, you can do so on our Discord, just please make sure to read the guidelines beforehand. And, naturally, there have been additions to the mod's source code now and then, bringing in new scripting functions and bugfixes. Similarly, we have been pushing those as client updates for you, also now and then. Player Counts and Other Statistics Type Amount of players Date / Time Recent peak number of concurrent unique players 24,808 players 2024.12.22 (at 18.13 GMT) Highest recorded number of concurrent unique players 52,098 players 2020.04.02 (at 18.00 GMT) Recent number of daily unique players 95,445 players 2024.12.15 (Sunday) Highest recorded number of daily unique players 185,818 players 2018.02.03 (Saturday) Recent number of monthly unique players 478,736 players September, 2024 Highest recorded number of monthly unique players 805,903 players January, 2018 For a mod for a game that is nearly 20 years old now, these are fairly good numbers. Smaller than last year, but still impressive. We are glad that you are still with us. MTA:SA version or series Percentage of players using that version or series as of 24th of December, 2024 1.6.0 99.5% 1.5.9 0.4% <1.5.9 0.1% Also, as of 24th of December, 2024: there are over 90,000 members on our Discord server, we have got 13,790 followers on X/Twitter, 58,000 users follow our Facebook fanpage , and our Steam Community group has nearly 50,000 members. --- To end this post on a high note, we would like to take this moment to wish you all Happy Holidays and a Happy New Year. Enjoy the Season and take care. -MTA Team
    2 points
  10. I am working with Cursor. Which is a fork of Visual Studio Code modified with AI in mind. It is my daily driver. The free version should give you enough monthly requests to finish your script. An no this is not a stupid AI, it is a optimised version for coding after all. You can even choose which AI you want to use, but some advanced may be behind a paywall.
    2 points
  11. PARKING METER SCRIPT COMPATIBLE WITH THE NEWEST OWLGAMING VIDEO SHOWCASE INTERESTING FEATURES OF THIS SCRIPT: dxDraw UI – modern and user-friendly display (like a real parking meter). Hourly parking system – players can choose how many hours they want to park up to 24 hours (to prevent unrealistic over-parking) Dynamic price calculation – price is automatically calculated based on time. Active/expired parking check – players can extend their active parking or start a new one. Sound effects – confirmation, payment. and error sounds. MDC integration – all payments and parking data are stored and then shown in MDC. Multiple parking zones – you can add unlimited zones and meters via config file. PAYHIP LINK If you have any questions, feel free to text me on Discord! (fajlyp)
    2 points
  12. MTA:SA - Claire Anticheat Claire is a modular, lightweight anticheat resource for MTA:SA, designed to improve the integrity and fairness of servers. Its core philosophy is simple: organize detections into clean, independent modules, make them easy to configure, and build an open platform that others can expand and improve. Claire runs silently in the background, acting as a guardian layer — constantly monitoring player behavior, network conditions, and client-side integrity without interfering with gameplay or degrading performance. Its design favors discretion and precision, targeting cheats without disrupting legitimate users. If you're looking for a solid, customizable way to secure your MTA:SA server, try out Claire. Why does it matter? By being fully open-source, Claire gives server owners an accessible and transparent tool to detect common exploits and improve their server environment. But more than that, it invites collaboration. The idea is that, together — through testing, feedback, improvements, and shared knowledge — we can create a more solid, trustworthy anticheat resource that benefits the entire MTA community. Current features Claire currently includes over 20 independent detection modules, covering movement, combat, environment manipulation, network spoofing, and more. All detections are modular, configurable, and designed to operate silently in the background with minimal performance impact. False positives are rare thanks to tolerance-based logic, score systems, and heuristic analysis. Overall reliability across all modules is expected to be around 95%, all features are listed at our GitHub page. Contributing Claire is an open-source project — contributions are welcome! Feel free to contribute with PRs, reports, or suggestions at our GitHub page. You can also reach out to us on Discord. Download Download from MTA Community: latest release - 1.1.5 from 2025/04/22 Download from GitHub: latest release - 1.1.5 from 2025/04/22 Please check our GitHub page before downloading it, I'm open for suggestions.
    2 points
  13. Link: https://payhip.com/TheDarkQ
    2 points
  14. It is indeed a kind of attack. It means that the player is able execute clientside-code on demand. The attacker is triggering 'known generic events' which might be handled by the server. The ones that are unknown are in your logs, the ones that are known and trigger able are not. But that does not mean that the ones that did trigger didn't cause unwanted results. You might want to consider to restart the resources, just to make sure there is no memory leak. The event which AngelAlpha mentioned can indeed help with detecting that kind of attacks. As an extend you can also add a honeypot, which in this case are 'unkown' events for your server but know for other servers. When a player uses this kind of attack again, you can ban them automatic. You might want take a closer look at your logs for candidates (for example money related). There is also this event: https://wiki.multitheftauto.com/wiki/OnPlayerTriggerEventThreshold But be careful with automating things, always test these kind of stuff or you might accidentally nuke your own player base.
    2 points
  15. UPDATE: I figured that it was an acl issue, that I had to enable HTTP for everyone, so the created API can be available for everyone, even the ones who don't have any auth But I will be needing help on ACL, since I am creating a new form scratch gamemode, I will need to write my own and custom acl as well. Or perhaps use the current account system of MTA as well since I can't edit to create my own And I appreciate a lot for the helps IIYAMA gave me during this issue with the stuff I had with CEF and how they should communicate.
    1 point
  16. Explain the problem better and speak in English.
    1 point
  17. Vice Roleplay proudly announces the upcoming launch of a server that brings a realistic roleplay experience to the city of Miami and Miami-Dade County, during a time of profound social change and complex law enforcement dynamics a period defined by the challenges and conflicts that shaped the city through crime, justice, and ambition. Vice Roleplay is designed to offer more than just entertainment; it aims to faithfully recreate American roleplay as it truly was in the early 2000s (2002), with precision, depth, and purpose. The project is built on historical accuracy, realistically structured factions, law and justice systems inspired by U.S. institutions, a balanced economy reflecting the early 2000s, and a strong focus on meaningful, story-driven roleplay. Within this server, every character matters, every decision carries consequences, and every story is shaped by the players themselves. The administration’s role is not to control, but to guide and organize, respecting the integrity of the experience and realism. We believe that players are partners in this project, and we welcome their feedback and constructive support, committing to transparency, fairness, and continuous improvement based on community experience. All development stages, including server launch, available factions, core systems, and the official opening timeline, will be publicly announced, ensuring that the community is part of the journey from day one. We promise an experience unparalleled in the RP scene, crafted for serious roleplayers, respecting realism and storytelling, and designed to create unforgettable stories within the city of Miami. Vice Roleplay this is Miami as you have never experienced it before. visit us today https://discord.gg/BjJk7eF64T
    1 point
  18. PRO|Race Slipstream DRS System | Advanced Aerodynamics for MTA:SA Developed by Hunterix and AI ------------------------------------------------------------------------------------------ PRO|Race Slipstream DRS, a fully custom Drag Reduction System designed to bring tactical depth and realism to MTA racing servers. Unlike standard nitro scripts, this system manipulates the vehicle's physical handling and aerodynamics in real-time. How it Works: 1. Kinetic Energy Recovery (Slipstream Charging) The system encourages aggressive close-range racing. The DRS battery only charges when you are drafting behind another opponent. Requirements: You must be traveling above 150 km/h and maintain a distance of less than 10 meters from the car ahead. Visual Feedback: As you draft, the custom 3D light bar on the rear of the car creates a dynamic gradient, shifting smoothly from Red (Empty) to Yellow, and finally Green (Ready). 2. Active Aerodynamics & Physics Once the battery is fully charged (Green), the system is primed. Activation: Pressing 'X' engages the DRS. Visuals: The rear wing physically rotates 90 degrees to an open position to reduce air resistance. The light bar begins a rapid strobe effect to indicate active discharge. Physics: The script modifies the vehicle's dragCoeff (Drag Coefficient) in real-time. This effectively removes air resistance, allowing the car to break its natural top speed limit without unrealistic acceleration boosts. 3. Safety & Strategy Just like in Formula 1, the system is designed for straights, not corners. Brake Cut-off: Touching the brakes immediately deactivates the DRS, closes the wing, and restores normal downforce to ensure cornering stability. Dynamic Consumption: The charge drains while active, shifting the light bar color back from Green to Red, forcing players to strategically decide when to deploy their boost for the perfect overtake. Technical Features: Custom 3D Wing & Light Bar models. HLSL Shaders: Dynamic texture coloring with alpha blending and neon glow effects. Vector Math: Precise slipstream detection using dot products and velocity vectors. Custom Audio effects for activation and deactivation. https://www.youtube.com/watch?v=mvPintb-5GU Download : https://www.mediafire.com/file/ptmdt6rcjquq4rz/ProRaceDRS.zip/file https://discord.gg/PM6axzEZ
    1 point
  19. Witaj w nowej erze MTA:DAYZ! Przedstawiamy serwer MTA:DAYZ – The-DayZ, tworzony przez Trust & Machin. Projekt powstawał przez rok, jest w pełni autorski, pisany od zera bez użycia gotowych rozwiązań. Premiera planowana na zimę tego roku . Zobacz zwiastun serwera Dołącz do naszej społeczności na Discordzie ━━━━━━━━━━━━━━━━━━━━ Dlaczego warto wybrać nasz serwer? Każdy system został stworzony z myślą o graczach, zoptymalizowany i dopracowany, aby zapewnić stabilną i wciągającą rozgrywkę. Chcemy zaoferować coś unikatowego, nie kolejną kopię istniejących rozwiązań. ━━━━━━━━━━━━━━━━━━━━ Interfejs dostosowany do potrzeb gracza: • Wszystkie statystyki w jednym miejscu • Historia punktów premium i punktów gry • Przejrzysty poradnik, ustawienia bindów, FPS i audio • Możliwość personalizacji celownika oraz korzystania z kodów polecających • Lista osiągnięć, które możesz zdobywać podczas gry ━━━━━━━━━━━━━━━━━━━━ • Poziomy grup odblokowujące kolejne funkcje, m.in.:  – własny TAG na czacie  – blip lokalizacji śmierci towarzysza na mapie  – bonusy medyczne i inne taktyczne wsparcie • Ranking grup — na podstawie łącznych statystyk wszystkich członków grupy, takich jak zabójstwa, czas przeżycia, tworzymy dynamiczny ranking, który pozwala na rywalizację między zespołami i podkreśla najlepsze drużyny na serwerze ━━━━━━━━━━━━━━━━━━━━ Wprowadziliśmy bezpieczny system wymiany, który pozwala handlować nawet offline, co poprawia komfort rozgrywki i zmniejsza ryzyko oszustw. ━━━━━━━━━━━━━━━━━━━━ W grze spotkamy legendarnych bossów, w tym Groundera — przeciwnika, który potrafi tworzyć falę uderzeniową, podrywającą graczy i utrudniającą jego pokonanie. ━━━━━━━━━━━━━━━━━━━━ System craftingu pozwala na tworzenie unikalnych przedmiotów u wybranych NPC. Daje to możliwość zdobycia legendarnych rzeczy dostępnych wyłącznie poprzez tworzenie ich samodzielnie. ━━━━━━━━━━━━━━━━━━━━ Bazy zapewniają bezpieczne miejsce na Twoje przedmioty: • Możliwość ich zakupu za walutę premium lub zdobycia za punkty gry – dbamy, aby nie promować P2W • Rozbudowany system logów oraz szczegółowe nadawanie uprawnień – możesz przydzielać różne poziomy dostępu poszczególnym graczom, np. dostęp do konkretnego pokoju lub tylko do małego namiotu. W ten sposób poznasz ich, zanim dasz pełny dostęp do bazy. ━━━━━━━━━━━━━━━━━━━━ Na mapie pojawiają się rozbite pojazdy, które można przeszukać i zdobyć cenne łupy. Crashe wyróżniają się dużą ilością unoszącego się dymu, co ułatwia ich znalezienie. ━━━━━━━━━━━━━━━━━━━━ Ekwipunek został zaprojektowany tak, aby był prosty w obsłudze, a jednocześnie oferował przydatne funkcje: • Podgląd zdjęcia i opisu przedmiotu • Możliwość szybkiego zebrania całej amunicji jednym przyciskiem • Opcja wyrzucania kilku przedmiotów naraz ━━━━━━━━━━━━━━━━━━━━ Z uwagi na spadek popularności MTA:DayZ na polskiej scenie oraz chęć utrzymania wysokiej aktywności i zdrowego PvP, zdecydowaliśmy się czasowo zablokować dostęp do miasta San Fierro. Na tym obszarze znajduje się trująca chmura, która eliminuje gracza w kilka sekund. Jeśli serwer będzie się dobrze rozwijał, planujemy w przyszłości wprowadzić sprzęt umożliwiający bezpieczne wejście i ewentualne odblokowanie tej lokacji. ━━━━━━━━━━━━━━━━━━━━ Pojazd bez stali Pojazd ze stalą Została dodana możliwość montażu stali w pojeździe, która zwiększa jego odporność oraz zapewnia m.in. ochronę przed przebiciem opon. ━━━━━━━━━━━━━━━━━━━━ To nie wszystko — nie chcemy w zapowiedzi ujawniać wszystkich szczegółów, chcemy, abyście odkrywali je sami, grając na serwerze. Zapraszamy do wyczekiwania na start serwera oraz dołączenia do naszej społeczności na Discordzie: Discord Jeśli opis to dla Was za mało, zachęcamy również do obejrzenia ponad 30-minutowego filmu z serwera: Zobacz film Dziękujemy za zainteresowanie i zapraszamy do wspólnej gry!
    1 point
  20. Imagine advertising that you work with the "largest cheater groups in MTA:SA" lol
    1 point
  21. I've run out of suggestions unfortunately, if i have smth i will come back
    1 point
  22. cursorX, cursorY = getCursorPosition() -- showCursor(false) <-- Use Before Then ... -- showCursor(true) <-- Use After Then screenX, screenY = guiGetScreenSize() setCursorPosition(cursorX*screenX, cursorY*screenY)
    1 point
  23. Honestly, the issues you listed are all issues that are caused by a combination of bad scripts and a bad infrastructure. There's only so much Multi Theft Auto can do if server owners don't bother to learn proper security practices and implement them. Also, anti-cheat clearly has seen updates numerous of times since 2023 (obviously they're not open about all the changes). Development is happening on a nearly daily basis with plenty of new updates coming available. The community is far from being neglected, a lot of the community is on the Discord server nowadays though. Please get your facts straight before you make such accusations.
    1 point
  24. function faroisd() local car = getPedOccupiedVehicle(source) -- get the car the player is in (could be false if not in one) if car and isElement(car) then if getVehicleOverrideLights(car) == 1 then setTimer(setVehicleOverrideLights, 100, 1, car, 2) else setTimer(setVehicleOverrideLights, 100, 1, car, 1) end end end addEvent("ligar", true) addEventHandler("ligar", root, faroisd)
    1 point
  25. @thebossofc O erro está dizendo que o 4º argumento do seu setPedAnimation deveria ser um número, mas vc colocou um true no lugar. setPedAnimation(source, "crack", "crckidle"..math.random(1,4), true, false, false, false ) -- 1 2 3 4 (era pra ser um número inteiro, o true é só depois) Faltou você declarar o parâmetro time. Normalmente o valor dele é -1.
    1 point
  26. i got it, thx have a good day/night
    1 point
  27. It is a permission issue. https://wiki.multitheftauto.com/wiki/Server_Commands#aclrequest First verify if the meta.xml has any acl request listed in it's meta.xml /aclrequest list <resourceName> all And if loadstring is listed, grand permission. /aclrequest allow <resourceName> all If not listed, add it to the meta.xml of the resource: <aclrequest> <right name="function.loadstring" access="true" /> </aclrequest> See example: https://wiki.multitheftauto.com/wiki/Meta.xml Run: /refreshall And try the aclrequest commands again.
    1 point
  28. Thanks IIYAMA... I am looking it over... Also, I notice you're famous XD (You made the wiki page to the function you just described)
    1 point
  29. You can make your own functions that operate in terms of your custom concepts, and use dxDrawRectangle/dxDrawText under the hood for actual drawing. An example: function getCoords(coordSys, x, y) if coordSys then x, y = coordSys.x+x, coordSys.y+y end return x, y end function makeCoordSystem(parent, x, y) local finalX, finalY = getCoords(parent, x, y) return { x = finalX, y = finalY } end function drawText(coordSys, text, x, y) local finalX, finalY = getCoords(coordSys, x, y) dxDrawText(text, finalX, finalY) end function drawRectangle(coordSys, x, y, width, height, color) local finalX, finalY = getCoords(coordSys, x, y) dxDrawRectangle(finalX, finalY, width, height, color) end This implements a concept of coordinate system, the coordinate offset described by table with keys x and y. With this, you can do: local onScreenHud = makeCoordSystem(false, x*1200, y*120) -- false means onScreenHud will be placed in absolute coordinates function drawHUD() drawRectangle(onScreenHud, 0, 0, x*1400, y*400, tocolor(0, 0, 0, 150)) drawText(onScreenHud, "Text", x*20, y*10) end Since makeCoordSystem has parent as first argument, even coordinate systems themselves can be positioned with respect to other coordinate systems: local someInnerHud = makeCoordSystem(onScreenHud, x*20, x*40) function drawInnerHUD() drawText(someInnerHud, "Text in the inner HUD", x*20, y*10) end It's all about coming up with the right abstractions. As an example, you could modify this to add width and height properties to coordinate systems, and use them in calculations so you wouldn't have to write x* and y* everywhere.
    1 point
  30. Thank you for your support to the community, it was an honor to have met you and I hope we meet again one day. I wish you the best of luck!
    1 point
  31. Hi... I don't know what you mean by coreconfig.xml (I don't think this comes with the default MTA SA server... But in the server files you can find mtaserver.conf file which had all of the loaded resources. Down almost at the bottom (of mtaserver.conf): --You'll see this area which is where you put your Resources... --resource src is the name of the resource. --startup="0" means don't start up when server starts and startup="1" means DO start up when server starts. --and protected="1" means don't shutdown server while this service is active (it should be used for database scripts. --I think what you want is: <resource src="YourResource" startup="0" protected="0" /> (startup="0" is what I think you want to do.) <resource src="admin" startup="0" protected="0" /> <resource src="Commands" startup="1" protected="0" /> <resource src="Database" startup="1" protected="1" /> <resource src="DXRec" startup="0" protected="0" /> <resource src="GPS" startup="1" protected="0" /> <resource src="HUD" startup="1" protected="0" /> <resource src="JobSystem" startup="1" protected="0" /> <resource src="LoginSystem" startup="1" protected="0" /> <resource src="MiniMap" startup="1" protected="0" /> <resource src="RadioSystem" startup="1" protected="0" /> <resource src="Spawns" startup="1" protected="0" /> <resource src="Speedometer" startup="1" protected="0" /> <resource src="FuelSystem" startup="1" protected="0" /> <resource src="VehicleSystem" startup="1" protected="0" /> <resource src="YouTubePanel" startup="1" protected="0" /> </config> Sorry if I am way off on this... I am an amateur coder just trying to help.
    1 point
  32. Thanks IIYAMA, FindRotation3D worked for the getting rotation. Did not achieve the desired result with a rocket projectile (19) though. Even after rotating it directly at point_B the projectile eventually starts heading out in a different direction, not exactly sure whats up with that. I think an easy way to fix that is using createObject along with moveObject and stuff, but in this case, what should I use to properly send projectiles from point A to point B since createProjectile only has starting position arguments to work with?
    1 point
  33. INTERFAZ DE CONFIRMACION SIMPLE Tal y como lo explica su título, este sistema muestra una interfaz simple para confirmar cualquier acción que se requiera. Utilizando funciones dxDraw para ello, con una animación de entrada y salida simple. SYNTAX dxConfirm(string title, string description, function funcYes, ...) -- title string - El titulo que tendrá la interfaz de confirmacion (default: Confirmación) -- description string - El mensaje de confirmacion que desee mostrar (default: ¿Estás seguro de que quieres hacer esto?) -- funcYes function - La funcion que se ejecutará una vez se presione el boton 'Si'. -- (...) vars - Las variables que contiene la funcion que se ejecutará al presionar el botón 'Si'. EJEMPLO PRACTICO function myFunction(var1, var2) outputChatBox("¡Haz presionado que si!") outputChatBox("var1: "..var1) outputChatBox("var2: "..var2) end dxConfirm("Confirmacion", "¿Estas seguro?", myFunction, "hola mundo!", 15); IMAGEN DE LA INTERFAZ ENLACE DE DESCARGA: CLICK AQUÍ ¡No olvides dejar tu estrellita!
    1 point
  34. yo puedo venderte uno, hecho desde 0, adaptado a tu servidor. discord: kaosblaze
    1 point
  35. This feature is already available under Preferences -> Appearance tab, in the Skin section, select DarkVector for dark mode https://imgur.com/a/KyPB57e
    1 point
  36. Hi! Following the community discussion in our forums, we have created an official Discord server quite a while ago, as an alternative (and maybe a full replacement in the future) to our current IRC channels. We kept it in under the radar while we were fine tuning things, but we believe we can now present it to you guys. All MTA players and fans are welcome to join our Discord server (though please behave while you are in there ). You can join it by using this link: https://discord.gg/mtasa What is Discord? Discord is a hybrid of IRC, an Instant Messenger and a Voice Chat software. It incorporates the most important features of these elements into a handy and multiplatform app which you can run on your desktops, smartphones or tablets. Why is it cool? Compared to IRC, it offers a built-in chat history buffer, so even if you are offline, you can still catch up with what happened in the channels then. IRC also offers that, but only through an IRC Bouncer that you either need to pay for, or have someone host it for you. It also has a modern look and features such as URL embedding (regular websites, but also pictures and videos), handy syntax colouring for pasted code snippets, emojis (also custom ones), chat messages reactions, Steam integration and more. What can I find while I am there? We currently have some channels created, including: #general - for general MTA and offtopic chats #scripting - for Lua scripting-related queries #support - for any problems related to MTA:SA client or server #announcements - for all important messages from us as well as some others. We are still thinking of how to put our Discord server into its full potential, so we may add more channels soon. Can I have Discord app installed and/or running on several of my devices concurrently? Can I use more than one server? Sure, absolutely. It will sync the messages automatically. And yes, you can add more servers than just our one. How do I join it? Hey, we have mentioned that already. Just click the link below and follow the instructions: https://discord.gg/mtasa I have a suggestion about the Discord... Okay, let us know. As usual, we are open for suggestions. Just post in this topic or hit us up directly on Discord. Hope to see you there! -- MTA Team
    1 point
  37. Hello! I would like to show you the developments of my project about vehicle registration plates for different countries. Here's what it looks like: I am always open to hearing the feedback or insights of those who have a better understanding of the registration plates. Thank you!
    1 point
  38. COMPREI UM NOVO COMPUTADOR,BAIXEI O MTA,QUANDO ENTRO NOS SERVIDORES APARECE QUE FUI EXPULSO PELO ERRO AC #4 76CM QUANDO VOU ENTRAR NOVAMENTE APARECE QUE ESTOU BANIDO,SENDO QUE NUNCA JOGUEI NO SERVIDOR, QUANDO ACONTECE ISSO APARECE QUE ESTOU BANIDO EM TODOS OS SERVIDORES IMAGEM DO ERRO:https://imgur.com/a/tIWv25u
    1 point
  39. Map files Table of contents: Introduction How to read a map file? Broken map file, what to do? Editor bugged, what to do? Modify your maps outside of MTA Extra links Introduction A map-file! What is that? The name already gives away the definition. It is a file which contains a MTA map. The format makes maps portable, so that you can send them over to your friends. You can recognize map-files by the extension: .map Here is an example of a map: Syntax highlight When you open a map file in your text editor. The syntax highlight you should use is XML (HTML will work as well, but the semantic is different and could cause issues with auto complete features, that is if you have enabled those). Changing syntax highlight in for example Visual Studio Code. How to read a map file? Before we start, this is what we call a node: <tagName></tagName> If we take a closer look to the following map file: <map> <object id="object (bevgrnd03b_law) (1)" interior="0" collisions="true" alpha="255" doublesided="false" model="6094" scale="1" dimension="0" posX="635.234375" posY="-3827.2275390625" posZ="5" rotX="0" rotY="0" rotZ="0"></object> <object id="object (gaz9_law) (1)" interior="0" collisions="true" alpha="255" doublesided="false" model="6133" scale="1" dimension="0" posX="625.49114990234" posY="-3771.6955566406" posZ="11.479743003845" rotX="0" rotY="0" rotZ="0"></object> <object id="object (CE_grndPALCST03) (1)" interior="0" collisions="true" alpha="255" doublesided="false" model="13120" scale="1" dimension="0" posX="573.09802246094" posY="-3847.013671875" posZ="3.6442375183105" rotX="0" rotY="22" rotZ="352"></object> <object id="object (CE_grndPALCST03) (2)" interior="0" collisions="true" alpha="255" doublesided="false" model="13120" scale="1" dimension="0" posX="572.64624023438" posY="-3769.0698242188" posZ="4.9519920349121" rotX="0" rotY="21.99462890625" rotZ="343.24649047852"></object> <object id="object (CE_grndPALCST03) (3)" interior="0" collisions="true" alpha="255" doublesided="false" model="13120" scale="1" dimension="0" posX="669.66534423828" posY="-3856.0627441406" posZ="3.6442375183105" rotX="0" rotY="63.99462890625" rotZ="175.99389648438"></object> </map> > we see in there the map node: <map></map> When the map is loaded <map></map> will become our map element. And inside of the map node we see more nodes: <object id="object (bevgrnd03b_law) (1)" interior="0" collisions="true" alpha="255" doublesided="false" model="6094" scale="1" dimension="0" posX="635.234375" posY="-3827.2275390625" posZ="5" rotX="0" rotY="0" rotZ="0"></object> <object id="object (gaz9_law) (1)" interior="0" collisions="true" alpha="255" doublesided="false" model="6133" scale="1" dimension="0" posX="625.49114990234" posY="-3771.6955566406" posZ="11.479743003845" rotX="0" rotY="0" rotZ="0"></object> In this case these two nodes will become two in-game objects. Tagname <tagName></tagName> Each node in the map file will become an element in game. !important A node has a tag name. In this case I gave it the name: "tagName" This tag name specifies in MTA the element type. For example: If it has the name <object></object>, the element-type is an object. If it has the name <ped></ped>, the element-type is a ped. What if the tag name is not matching with one of these entities? (The list is not complete, the rest can be found in this class list, only if the XML syntax is implemented) Then the elements are considered custom elements. They are not visible in game. Custom elements Custom elements have their own purposes. You often see those custom elements used in game modes, for example stealth: <mercenaryspawn id="mercenaryspawn (1)" posX="635.58117675781" posY="-3770.458984375" posZ="18.97974395752" rotX="0" rotY="0" rotZ="0"></mercenaryspawn> The tagname for this node is "mercenaryspawn". The element that is produced after loading the map, is used as a spawnpoint for in a stealth map. Custom elements are invisible. Custom elements do have an orientation. The getElementsByType function can be used to get custom elements. Attributes Attributes are properties applied to a node. They are used to attach data to an element. Example: <entity name="IIYAMA" age="5" type="device" resolutionX="1920" resolutionY="1080" displaySize="31"></entity> An attribute exist out of two parts: <entity name="value"></entity> Name Value The name specifies if the node has the attribute. <entity name></entity> <entity age></entity> If the name is "name", then the node has the attribute "name". And if the name is "age", then the node has the attribute "age". The value will be used for the data for each attribute. <entity name="IIYAMA" age="5"></entity> Identifiers (ID) Every elements can have an identifier attribute, which is used to make it accessible for scripting functions. <tagName id="identifier"></tagName> The identifier of an element can be used in getElementByID to grant access to it. Even though identifiers normally should be unique for each individual, it is not the end of the world if they are not in MTA. They might also be considered as unnecessary for map files without scripts. Element specific attributes There are some attributes that do more than just applying properties. They will change the element appearance and orientation. For example this object: <object interior="0" collisions="true" alpha="255" doublesided="false" model="6094" scale="1" dimension="0" posX="635.234375" posY="-3827.2275390625" posZ="5" rotX="0" rotY="0" rotZ="0"></object> It will be created in interior 0. It will have collisions. (You can walk on it) Alpha. It's opacity is 100%. It is not doublesided. (When you stand inside of the object you can look through it. If doublesided is enabled the same colors/paint from the other side will be applied.) It's model is 6094. It is scaled 100%. (0.5 = 50%, 2 = 200%) Etc. If you want to know which attributes do have influence on the elements appearance and orientation, you have to look that up on the wiki. Here a small list of some those attributes: Broken map file, what to do? If your map file is broken. Step 1 Make a backup. + Always make a backup when re-editing your map. Settings can get lost! Step 2 The first thing you want to do, is just open it in a text-editor. Just give it a quick look and check for anything strange. The file could be empty or some strange values could be used. Do you want to know all the syntax rules (XML)? You can find a list right here: http://www.adobepress.com/articles/article.asp?p=1179145 Step 3 Remove the editor definition. This definition could cause problems in case of invalid characters. From: <map edf:definitions="COBDEF,editor_main"> <!-- Map elements --> </map> To: <map> <!-- Map elements --> </map> Step 4 If you can't find the problem, then you could validate the file. There are services out there that validate XML files. They can help you to find out where your file is broken. Validation tool by W3C: https://validator.w3.org/#validate_by_input Note: You need to do step 3 first. Else you can't parse the file. Step 5 In case of re-opening map files in the editor, but doesn't want to get open. Make a backup. Remove custom elements. See chapter How to read? Retry to open the file. Editor is bugged, what to do? Your editor could be bugged and you are not able to save the map or open a new one. The first thing you want to do is backup the editor_dump folder in your server. This folder is located between all your resources. server\mods\deathmatch\resources\editor_dump Rename the folder name. editor_dump > my_broken_map Stop the map editor. Check if there is a new editor_dump folder. If there is, rename that one as well. Start the map editor again. Modify your maps outside of MTA Sometimes you want to modify your maps without going back in to the editor. Your text-editor is in most cases the way to go. For example you want to move all objects to a new dimension. In Notepad++: Make a backup! (if you are new to this) Select in your file the part you want to replace: dimension="0" Commando: ctrl + H (replacement overlay) Fill in the replace field: dimension="1" Click on: replace ALL. Moving your map? There is a nice online tool that can help you with that: https://mtaclub.eu/converters Edit your map with the DOM (Document Object Model) Knowing JavaScript? Your browser inspector can be used to modify your maps at a higher level. (If you so desire) Extra links: Parent, child and how this is reflected in MTA https://wiki.multitheftauto.com/wiki/XML https://wiki.multitheftauto.com/wiki/Element_tree Elementdata <sync_map_element_data /> https://wiki.multitheftauto.com/wiki/Meta.xml Load maps (manually + including in meta.xml) https://wiki.multitheftauto.com/wiki/Meta.xml https://wiki.multitheftauto.com/wiki/LoadMapData Save maps https://wiki.multitheftauto.com/wiki/SaveMapData
    1 point
  40. Section Rules 1. Any fulfilled requests or discarded offers shall be reported via the report system in order to be locked and/or archived. This is mandatory, as the goal is to keep this section as clean and accurate as possible. 2.Topics must have a sufficient description of what are you offering or looking for. Eg. if you're looking for a scripter for your gamemode, you must detail what would you need the scripter for. This doesn't exactly involve giving away the whole concepts or whatever you don't want to disclose to the public, but it would be appreciated if you could include more details than just straight single line offers, such as "I need a scripter for a zombie gamemode". Whether or not the amount of detail is sufficient for the nature of your request is a subject to moderator judgement, and failing to meet criteria may result in your post being discarded. Formatting your topic In order to keep the section clean, accurate and easily viewable, it would be appreciated if you could use the following guidelines for your topic: 1. Topic titles should have the form [LF/OFFERING] Brief description [Paid/Non-Paid]. Please make the description as brief as possible here. Eg: [OFFERING] Skilled scripter [Paid] [OFFERING] Rookie modeller looking for some practice [Non-paid] [LF] Any-level scripter for a small server [Non-Paid] 2. The first post should be written in at least 2 parts: first part should contain a brief description of yourself (and/or the server or community you are from) second part should elaborate on what are you requesting/offering, once again, as detailed as you possibly can/want
    1 point
  41. Most (if not all) technical issues and crashes experienced on stable releases of MTA are somehow related to the user's PC, such as underlying OS or driver issues, bad mainentance state of the OS, viruses interfering with MTA, etcetera. In this subforum (client support) we have a range of users who are willing to offer you support, of which some have an advanced technical IT background and thus are able to dive deep into said problems, given that they have sufficient information to help you troubleshoot the underlying causal problem. MTADiag makes their job easier, by collecting a set of information that helps them get started in advising you what to do next. Client support information: (open spoiler) - also read this if you're not getting a response to your problem in a timely manner MTADiag is a small open-source console application which will: Read MTA's and GTA's install paths, and MTA's current version - if multiple versions of MTA are installed, it will ask the user to pick one to diagnose Automatically remove compatibility mode settings for GTA and MTA (except for Administrator privileges) Automatically download and launch MTA's latest patch installer Automatically generate a dxdiag log Automatically install necessary certificates for MTA Create a log file with the aforementioned paths, MTA's previous and updated version strings, the generated dxdiag log, a list of currently running processes, the contents of CEGUI.log, core.log, and logfile.txt, directory listings of the MTA, GTA, and GTA\models folders, and some other miscellaneous information which is automatically uploaded to MTA's Pastebin. Current version: 2.9.0 (January 2024) It's a little unfriendly due to the fact that it's a console app, but it will streamline client support topics by aggregating all potentially useful information for our QA and staff to help troubleshoot your issues into the first post, or potentially eliminating the need to create a new topic altogether if removing compatibility mode entries, automatically applied repairs & installing the latest nightly and the DirectX runtimes fixes the user's issue. I've added a download link to MTADiag in the MTA CRASHING? Read here first! sticky thread. Download MTADiag MTADiag is opensource, check out the repository at https://github.com/multitheftauto/mtadiag Instructions to use the tool and request support accordingly: Please download and run MTADiag and follow the instructions. Post any Pastebin URL MTADiag gives you in a new topic you'll create at https://forum.multitheftauto.com/forum/83-client/, after which support can be offered. MTADiag supports Windows XP and newer, but must be run with Administrator privileges on Windows Vista and newer. If MTADiag will not run for you, install Visual C++ 2017 runtimes and try again.
    1 point
  42. Okay, so i want a refund, i sent you request on Skype.
    1 point
  43. Some crashes in 32 bit Windows are caused by MTA running out of address space. The best solution is to use 64 bit Windows. For 32 bit Windows, these MTA settings may help a little: 1) Settings->Advanced->Fast CJ clothes loading->Off 2) Settings->Advanced->Streaming memory->Min 3) Remove all GTA:SA graphic mods (GTA:SA reinstall is ideal) Or, you could try enabling the 3GB switch in 32 bit Windows Details at this link In summary, for 32 bit Windows 7,8,10: 1) Find C:\Windows\system32\cmd.exe in Windows Explrorer 2) Right click on cmd.exe and select 'Run as Administrator' 3) In the black box enter this command: bcdedit /set IncreaseUserVa 3072 4) Press return 5) Restart computer 6) Pray
    1 point
  44. Tak, ale plugin ten jest na tyle biedny, że podpowiada tylko funkcje. Niezależnie od tego czy plik jest ze strony serwera czy klienta. Właśnie to na celu ma mój program - ułatwić tworzenie zasobów. Przykładowo jeżeli będziemy mieli takie widzimisię stworzyć nowy zasób to zrobimy to stosunkowo łatwo wybierając odpowiednią opcję z menu. Proste, szybkie i skuteczne. Co do podpowiadania funkcji to również dołożę starań, by dołączyć do danych funkcji parametry wymagane i opcjonalne. Tak, by zminimalizować ilość wejść na wiki, a tym samym zmniejszyć czas tworzenia kodu. Wczoraj na swoim FP zamieściłem poglądowy wygląd tego IDE. Wygląda on tak: https://scontent-fra3-1.xx.fbcdn.net/hp ... 0515_o.png Aktualnie: - program samodzielnie znajduje ścieżkę dostępu do folderu MTA. - pobiera wszystkie dostępne w katalogu "resources" zasoby. - koloruje składnie. - parę drobnych rzeczy. Mam nadzieję, że się podoba i że skorzystacie z tego programu. Będzie on dostępny dla wszystkich za darmo. Będzie aktualizowany i mam nadzieję, że deweloperzy MTA zaimplementują go do MTA jako dodatkowy program przy instalacji(tak jak w przypadku PAWNO w SA-MP).
    1 point
  45. Get everything in the file as a string and put it on a variable. Get the position where you want to write and remove everything infront of that position and put that onto another variable. When you writed, paste the strings together and put them into a file (create a new file, overwrite it IF succeed) and save it. I think there better ways to do it, but atleast you are sure it won't overwrite is if you do it like this...
    1 point
×
×
  • Create New...