Jump to content

Leaderboard

Popular Content

Showing content with the highest reputation since 16/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. Back in 2011, we threw a crazy idea on the table—what if we merged multiple servers into one seamless world? At the time, it sounded impossible. Everyone talked about it, a few even tried, and some of the biggest names in the scene turned it into a quiet race. But we were the ones who actually crossed the finish line. Not only did we pull it off—we did it so well that it caught the attention of FFS Gaming leadership and even the MTA developers themselves. If you’ve ever played on FFS Gaming and enjoyed the unified experience there… well, you’ve already seen the legacy of what we built. And now, after all these years, we’re finally releasing our archives to the public. Not for clout. Not for nostalgia. But to ignite the same fire in a new generation that once burned in us — the thrill of building something the world said couldn’t be done. Originally, this was meant to be a community-driven project born on the MTA forums. Over time, the team chose to keep it private, and the project evolved behind closed doors. NPG became a full multi‑gamemode experience for Multi Theft Auto: San Andreas, engineered to push the platform to its absolute limits and deliver gameplay no one had seen before. Today, that door opens. Break it. Improve it. Learn from it. Or simply enjoy the raw ambition of a project built by kids who refused to accept “impossible.” The legacy is real. The code is yours. The next chapter belongs to you. Modes Freeroam Race Fallout Hay RPG Dance Our Wonderful Team Benxamix (early v0.1 Founder) @qaisjp(MTA Developer, development, owner), @Orange(MTA Developer, development), Myself (Leadership, owner), Otto (Web development, co-owner) Noel (Co-owner) @Anderl (Contributor) Naz (Contributor) Others: BlueRay, Ryder, Kieran, Liam, Pocco, Samer, Viper, @AeroXbird Thank you to everyone who made it possible. DOWNLOAD LINK PS. This is old code from 2011-2012; you'll need to adapt it to the current MTA version. This is not a simple plug & play. Coding experience is required to get it running. We do not bear any responsibility or consequences for how you use this code. PPS. Hi everyone, hi old OGs - stumbling upon this place brings back so many memories.
    1 point
  16. | BIG Roleplay — Donde tu historia toma vida BIG Roleplay, ofreciendo una experiencia seria, estable y diseñada para que puedas desarrollar tu personaje sin límites. ¿Qué encontrarás en BIG? Sistemas únicos de skins, vehículos, mejoras visuales y rendimiento. Eventos dinámicos y actividades que dan vida a la ciudad. Propiedades disponibles en diversas zonas para crear tu propio camino. Vehículos accesibles desde concesionarios sin restricciones. Facciones abiertas, listas para que líderes les den identidad y rumbo. Sin ventajas premium iniciales: todo se consigue jugando. Un mundo abierto para que imagines, crees y evoluciones Tu personaje, tu historia, tu impacto en la ciudad. ¿Listo para vivir a lo grande? Esto es BIG. Únete ahora y comenzá tu historia: Discord: https://discord.gg/bigrp IP del servidor: mtasa://51.81.48.91:22007
    1 point
  17. 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
  18. Hello, when I reviewed your code I came across many issues, and I fixed them through testing. You can check again if you’d like. Let me tell you about the changes I made: The requested "proper zombie system" is now ready: Uses a single timer Controlled animations Smooth flow Performance optimized function findRotation(x1, y1, x2, y2) local t = -math.deg(math.atan2(x2 - x1, y2 - y1)) return t < 0 and t + 360 or t end local zombies = {} function createZombie(x, y, z, firstTarget) local zombie = createPed(0, x, y, z, 0, true) zombies[zombie] = { target = firstTarget, state = "spawning", lastAnimation = nil, spawnTime = getTickCount(), updateDelay = getTickCount() } setPedAnimation(zombie, "ped", "getup_front", 2000, false, true, true, false) setTimer(function() if isElement(zombie) and zombies[zombie] then zombies[zombie].state = "idle" end end, 2000, 1) end function setZombieAnimation(zombie, anim) if not isElement(zombie) or isPedDead(zombie) then return end local data = zombies[zombie] if not data then return end if data.lastAnimation == anim then return end setPedAnimation(zombie) if anim == "idle" then setPedAnimation(zombie, "ped", "WALK_drunk", -1, true, true, true, false) elseif anim == "chase" then setPedAnimation(zombie, "ped", "run_fatold", -1, true, true, true, false) elseif anim == "attack" then setPedAnimation(zombie, "medic", "cpr", -1, true, true, true, false) end data.lastAnimation = anim end function updateZombieState(zombie, data) if not isElement(zombie) or isPedDead(zombie) then zombies[zombie] = nil return end if not isElement(data.target) or isPedDead(data.target) then data.target = findNearestPlayer(zombie) if not data.target then data.state = "idle" return end end local tx, ty, tz = getElementPosition(data.target) local zx, zy, zz = getElementPosition(zombie) local distance = getDistanceBetweenPoints3D(tx, ty, tz, zx, zy, zz) setElementRotation(zombie, 0, 0, findRotation(zx, zy, tx, ty), "default", true) if distance <= 1.5 then if data.state ~= "attack" then data.state = "attack" setZombieAnimation(zombie, "attack") end elseif distance <= 50 then if data.state ~= "chase" then data.state = "chase" setZombieAnimation(zombie, "chase") end local angle = findRotation(zx, zy, tx, ty) local moveX = math.cos(math.rad(angle)) * 0.1 local moveY = math.sin(math.rad(angle)) * 0.1 setElementPosition(zombie, zx + moveX, zy + moveY, zz) else if data.state ~= "idle" then data.state = "idle" setZombieAnimation(zombie, "idle") end end end function findNearestPlayer(zombie) local nearestPlayer = nil local nearestDistance = math.huge local zx, zy, zz = getElementPosition(zombie) for _, player in ipairs(getElementsByType("player")) do if player ~= zombie and isElement(player) and not isPedDead(player) then local px, py, pz = getElementPosition(player) local distance = getDistanceBetweenPoints3D(zx, zy, zz, px, py, pz) if distance < nearestDistance then nearestDistance = distance nearestPlayer = player end end end return nearestPlayer end function updateZombies() for zombie, data in pairs(zombies) do if data.state == "spawning" then if getTickCount() - data.spawnTime > 2000 then data.state = "idle" setZombieAnimation(zombie, "idle") end else if getTickCount() - data.updateDelay > 100 then updateZombieState(zombie, data) data.updateDelay = getTickCount() end end end end local updateTimer = setTimer(updateZombies, 200, 0) addEventHandler("onClientElementDestroy", root, function() if zombies[source] then zombies[source] = nil end end) addCommandHandler("zombie", function() local x, y, z = getElementPosition(localPlayer) createZombie(x, y + 4, z, localPlayer) end)
    1 point
  19. The arms dealer script is something I made recently, this script can be used in different game modes. Dealers can be found in various locations around Los Santos. Here's a preview video For more information, feel free to join my discord server: https://discord.gg/Nex7e6JUhe Discord account is mehdi4664
    1 point
  20. Die Daten Discord: https://discord.gg/D5BP9Bteeq MTA: mtasa://141.95.27.131:22003 Hallo zusammen und herzlich willkommen zur Servervorstellung von dem TerraTex Reallife Community-Projekt! TerraTex bietet allen begeisterten MTA-Spielern eine volle Packung Spielspaß. Der Server läuft auf dem open source (GitHub) TerraTex-Reallife reloadet Script von Geramy92, wird aber nun von Johann und GeRmAn als Projekt aus der Community weitergeleitet. Nun wollen wir gemeinsam die alten Zeiten wieder aufleben lassen, um wieder eine kleine Community zu werden. Was bietet dir der TerraTex-Reallife Server ? Wir bieten dir einen sehr Einsteiger freundlichen Server auf dem du bis zu 25 Stunden lang einen Bonus bekommst wenn du Ehrgeizig jobbst, somit wird es dir leicht fallen am Anfang ein kleines Vermögen aufzubauen. Trucker ? oder doch lieber Pilot ? Zu Land, zu Luft, und zu Wasser sind viele verschiedene Jobs vertreten. Autohäuser von Billig bis Luxuriös sind ebenso stark vertreten wie die Anzahl der vielen Häuser auf dem Server. Für langfristige Motivation ist auch gesorgt, mit einem Business zusätzliches Geld verdienen oder doch lieber ein Prestige (Sehenswürdigkeit) erwerben und diese dann kontinuierlich zu verbessern um somit seinen höheren stündlichen PayDay zu erhalten. Zudem bieten wir dir viele Fraktionen die unterschiedlicher nicht sein können. Staatsfraktionen wie dem San Andreas Police Department, sowie der National Academy of Millitary Education und dem Sondereinsatzkommando könnten genau das richtige für dich sein, wenn du es vorsiehst in einer der guten Fraktionen tätig zu werden. Für die, die Action suchen bieten wir Gangs und Mafien, welche Schutzgeld eintreiben und gegenseitig um verschiedene Läden kämpfen (Gang Fights). Außerdem sind auch koordinierte Angriffe auf die Rivalisierenden Basen möglich um somit Materialien und Drogen zu stehlen. Grenzübernahmen, Waffentrucks und auch Geiselnahmen sind Teil der bösen Fraktionen. Natürlich können auch Neutrale Fraktionen beigetreten werden. Wenn du es etwas ruhiger magst, ist die Medic- und Taxifraktion deine Anlaufstelle. Es sei denn du möchtest die User auf dem laufendem halten: Wetterberichte, Interviews und Events sind deine Welt? Als Newsreporter bist du dafür verantwortlich die Bürger von San Andreas immer auf dem neusten Stand halten und diese vor möglichen Unwettern oder sogar Sturmfluten zu warnen. Die Aufgaben eines Reporters sind facettenreich: Du planst eigenständig kleinere SMS Events sowie große Versteigerungen und vieles mehr. Das Wirtschaftssystem von TerraTex bietet dir außerdem die Möglichkeit bei gewissen Wetterverhältnissen wie beispielsweise einer Ölkatastrophe mehr Geld bei dem Meeresreiniger Job zu verdienen. Bei einer Atomkatastrophe kann passieren das... Naja.. lass dich überraschen. Wir möchten dir ein Abwechslungsreiches Erlebnis ermöglichen und den Kontakt mit neuen Leuten herstellen und somit ein Miteinander erschaffen. Selbst wenn du mal nicht genau weißt was du machen sollst gibt es noch genügend Aktivitäten für dich. Triff dich an der Stadthalle mit anderen Usern, gehe in die Arena und spiele eine Runde Crash Durby, GunGame oder betrinke dich im Alhambra. Deale mit Drogen oder Waffen, verkaufe Hot Dogs oder führe nette Gespräche. All das führt zur einer einzigartigen Erfahrung. Das freundliche Serverteam steht dir bei fragen oder Problemen natürlich mit Rat und Tat zur Seite. Wenn wir dein Interesse geweckt haben sollten, dann schau doch einfach vorbei und mache dir dein eigenes Bild von dem was dir geboten wird. Mit einer steigenden Anzahl an Spielern wollen wir noch einmal auf dem Original Script gemeinsam eine gute Zeit erleben. Die Facetten des Servers noch einmal tabellarisch aufgelistet: 11 (+1 Admin) Fraktionen Admin-Fraktion: Hitman/Söldner - Töten Spieler auf Auftrag Es gibt drei "gute" oder auch "Staatliche" Fraktionen. "SAPD" - San Andreas Police Department "SEK" - Sondereinsatzkommando "N.A.M.E" - National Akademy of Military Education Nun folgen die drei "Neutralen" Fraktionen. Medics Taxi News Racer Zum Schluss gibt es noch vier "böse" Fraktionen oder auch "Untergrund Organisationen" diese sind unterteilt in "Gangs" und "Mafien". Jede Gang und Mafia hat ihre speziellen Fahrzeuge, jedoch angepasst auf allen Seiten, um eine Fairness zwischen den Fraktionen zu erhalten. Zu den Gangs gehören: "GS" - Grove Street - Gebiet: Los Santos "PP" - Pink Panthers - Gebiet: Las Venturas Zu den Mafien zählen: "LLS" - Legion of Los Santos - Gebiet: Los Santos "CF"- Cash Force - Gebiet: Las Venturas 17 (+1 Admin) Jobs Es gibt zwei Arten von Jobs, Spielerbasierte und nicht Spielerbasierte. Zu den Nicht Spieler basierten Jobs zählen: Fischer Müllmann Busfahrer Pizzalieferant Trucker Pilot Straßenputzer Farmer Bergwerksarbeiter Meeresreiniger Die Spielerbasierten Jobs sind: Hotdogverkäufer Drogendealer Waffendealer Mechaniker Detektiv Anwalt Nutte Hitman/Söldner (Admin) Sonstige Features: Anti-Beleidigungs-System Heiraten (steuern sparen) Tombutolotterie Lotterie Steuerlotterie Sozialpunkte BIZ-Objekte Prestige-Objekte Rabattfahrzeuge Baustellensystem Versicherungssystem Fahrzeugsystem mit zerstörbaren Fahrzeugen, Fahrzeugalter, Tuning, Kilometerzähler, Tank, unendlich kaufbare Slots, Abschleppsystem, Tempomat und Limiter (Fahrzeugwert abhängig von Hauswert) Haussystem: Mietsystem, Hauskasse, unterschiedliche Hausgrößen mit kaufbaren Innenräume Goldsystem: freischaltbare Verbesserungen für InGame Geld TerraLappTapp: Eine Art Computer mit vielen zusätzlichen "Tapps" wie z.B. Minigames, Freundeslisten, Blitzermelder, .. diverse Transporte: Atomtransport, Waffentruck, Geldtransport ..und viele weitere. Wir freuen uns auf euren Besuch! Euer TerraTex Team Info: [TTeam]Geramy92 ist nicht Teil des MTA-Server Teams, er stellt lediglich den Linuxserver zur Verfügung. Bei Fragen oder Problemen könnt ihr euch gerne bei mir melden.
    1 point
  21. Given that this topic gained more Turkish-speaking traction, we will move this to its language-specific section.
    1 point
  22. 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
  23. Welcome to the forums @O-Dog. Your thread has been moved to the Resources section. The Scripting section is for scripting inquiries.
    1 point
  24. Vending Machine script inspired from the singleplayer version. Player health will be refilled a bit after each drink. It verifies the money and responds based on that. Works with every vending machine in the map. Video to explain it more: For more information, feel free to join my discord server: https://discord.gg/Nex7e6JUhe Discord account is mehdi4664
    1 point
  25. Looks great, I can definitely say it’s a solid script. There are just a few small things that could make it even better if improved. For example, you could add a dialogue system with Arms Dealers, letting players buy weapons through that. Maybe also throw in some 3D sound effects when purchasing a weapon it’d give the whole thing a richer, more immersive feel.
    1 point
  26. Imagine advertising that you work with the "largest cheater groups in MTA:SA" lol
    1 point
  27. Is there any error on debug or F8? I dont understand why its not working
    1 point
  28. local toggle = false local savedCursorX, savedCursorY local function restoreCursorPos() if savedCursorX and savedCursorY then local screenX, screenY = guiGetScreenSize() setCursorPosition(savedCursorX * screenX, savedCursorY * screenY) end end local function togglePanel() toggle = not toggle if toggle then showCursor(true) for i = 1, 5 do setTimer(restoreCursorPos, i * 50, 1) end else savedCursorX, savedCursorY = getCursorPosition() showCursor(false) end end bindKey("k", "down", togglePanel) Can you just try this? ı added a timer for it.
    1 point
  29. cursorX, cursorY = getCursorPosition() -- showCursor(false) <-- Use Before Then ... -- showCursor(true) <-- Use After Then screenX, screenY = guiGetScreenSize() setCursorPosition(cursorX*screenX, cursorY*screenY)
    1 point
  30. MTA:SA Lua Enums - TypeScript-inspired Enumerations for Lua Overview A lightweight, type-safe enumeration library for Multi Theft Auto: San Andreas, bringing TypeScript-like enum functionality to Lua. This library provides a clean, intuitive way to define and use enumerations in your MTA:SA scripts. Key Features Multiple Syntax Styles: Create enums using traditional function calls or with a more elegant syntax similar to TypeScript Global and Local Enums: Define global enums for application-wide constants or local enums for module-specific use Type Safety: Validate enum values and prevent modification after creation Auto-incrementing Values: Automatically assign sequential values to enum members Utility Methods: Easily convert between enum values and names with built-in helper functions Example Usage -- Global enum with string name and curly braces enum 'Direction' { NORTH = 1, EAST = 2, SOUTH = 3, WEST = 4 } -- Local enum with direct table assignment local HttpStatus = enum { OK = 200, NOT_FOUND = 404, SERVER_ERROR = 500 } -- Auto-incrementing values enum 'Size' { "SMALL", "MEDIUM", "LARGE" } -- Using enum values local direction = Direction.NORTH local status = HttpStatus.OK -- Get name from value local directionName = Direction.getName(1) -- Returns "NORTH" -- Check if value belongs to enum if HttpStatus(200) then -- 200 is a valid HttpStatus value end Why Use This Library? Clean Code: Eliminate magic numbers and strings with descriptive enum constants Error Prevention: Catch typos and invalid values at runtime Self-documenting: Make your code more readable and maintainable Flexibility: Choose the syntax style that best fits your coding preferences Lightweight: Minimal overhead with no external dependencies Installation Simply include the enum.lua file in your project and add it to your meta.xml: <script src="path/to/enum.lua" type="shared" cache="false" /> Check out the full source code at: https://github.com/norelockk/mtasa-lua-enums This library is perfect for MTA:SA developers looking to write cleaner, more maintainable code with proper type safety. Whether you're building a simple gamemode or a complex resource, these enums will help organize your constants and prevent common errors.
    1 point
  31. Use setPlayerNametagShowing
    1 point
  32. My new SpongeBob SquarePants RPG server is now live. No need to make an account as nothing saves yet, but if youd like to check it out and leave feedback please post below. I will be working on the save system soon but for now its kind of a beta build. mtasa://144.217.174.212:39504 UPDATE 6/20/2025 11:10PM CST added stats and saving
    1 point
  33. You can use this event for protected invalid trigger
    1 point
  34. Maybe move the checkpoint very high in the air (and replace it with a dummy). When the rocks are cleared, move it back.
    1 point
  35. I wasn't paying attention to that part in the wiki, It's working now. Thank you!
    1 point
  36. When you set the property, it stays frozen. So for example if you call getWorldProperty and then pass its return value to setWorldProperty, that value will stay until you call resetWorldProperty. But some of those functions (including getSkyGradient) are limited because they can only return the values previously assigned by script - meaning you can't get the unmodified value and assign it to freeze it. It seems that smooth transition is possible for color filter, because getColorFilter has isOriginal argument, allowing you to take the values that would be there if they weren't overridden by script so you can know exactly what values to interpolate to. But it doesn't help much when the same can't be done to other parameters.
    1 point
  37. You can save your coordinates to the variables, and the use them to build text. Like: local rectangleStartX = x*1200 local rectangleWidth = x*1400 dxDrawText(rectangleStartX + rectangleWidth + 10, etc...) But i'm not sure right now about your coordinates, because "width" for dxDrawRectangle - it's not the endpoint, if wiki is right And then code will be more easy, because for width you can use just "200". As for take coordinates from rectangle - well, looks like it can't be done in MTA. P.S. I'm not good in UI scripting, just trying to help with simple logic.
    1 point
  38. Хорошо, спасибо за уделенное время!
    1 point
  39. See: https://wiki.multitheftauto.com/wiki/FindRotation3D
    1 point
  40. yo puedo venderte uno, hecho desde 0, adaptado a tu servidor. discord: kaosblaze
    1 point
  41. صحيح ولله خاصة المبتدئي تكتبون الكود بطريقة غريبة
    1 point
  42. Introduction This guide intends to teach 3ds Max users how maps are converted and imported/exported through 3D applications, to then be used in professional renders, visualizations, machinma's or to utilise 3ds Max as a precise map editor. The below video demonstrates some of the possibilities that are being taught through this guide. There is a download link in the video description to IPL's that I have decompiled and filtered. Table of contents Prerequisites Access to GTA SA assets (read https://forum.multitheftauto.com/topic/119240-mta-modding-in-3d/ on how to extract, etcetera) Converting/decompiling GTA SA assets for compatibility Caution for performance and processing Importing IPL and IDE to 3D application Model issues and solutions Solution: Alpha is severely broken or has the wrong material applied on faces Solution: Random polygons appear black with flipped normals (.001 weld + reset/adjust smoothing groups) Common uses Converting to FBX Mental Ray adaption Designing and rendering a scene Mapping using Max Prerequisites Must have Autodesk 3ds Max of any desired version. Must have Kam's Maxscripts. Must have The Hero's RW importer. Must have GIMS EVO (Max 2016 or below). The beauty of this tool is it can convert various types of materials containing diffuse texture, into standard or GTA 5 material. It supports Kam's and RW material to be converted to standard. It is recommended to add the tool to a secondary copy of 3ds Max due to the heavy size of it. It is possible to have multiple copes of 3ds Max under 1 Student License. IPLs_for_download.rar Access to GTA SA assets This guide assumes you have already extracted the entirety of the .img archives found in \models directory of your GTA SA installation. Extracting the interior and cutscene archives is ideal as well. I'm not going to cover the process in this guide, instead please read my MTA Modding in 3D guide. The following files are needed and has a description for where they're stored. - DFF (gta3.img, cutscene.img, gta_int.img @ Grand Theft Auto San Andreas\models) - TXD (gta3.img, cutscene.img, gta_int.img @ Grand Theft Auto San Andreas\models) - IPL (gta3.img, gta_int.img @ Grand Theft Auto San Andreas\models) - IPL [binary] (Grand Theft Auto San Andreas\data\maps) - IDE (Grand Theft Auto San Andreas\data\maps - these are optional as they store 2dfx etc.) - IFP (Grand Theft Auto San Andreas\anim - these .img archives contain IFP archives which stores a good bunch of animations each. It's possible that gta3.img and cutscene.img contains IFP files too.) Converting/decompiling GTA SA assets for compatibility Before certain data can be processed by 3ds Max, it needs to be decompiled and cleaned up. Fortunately there are modding tools available which can partially get it done, leaving only small bits of work to be done by hand. GTA SA has a set of binary and non-binary IPL files. Every IPL found in gta3.img and gta_int.img are binary, meaning they're in a non-readable format and cannot be read by 3ds Max, as opposed to IPL files found in \maps\ which can be read. IPL files found in .img archives do not contain LOD models, whereas ones in \maps\ does. To help identify a LOD, you can look for lines that ends with -1, although not all of these are LOD's. If you want to load in LOD's separate from high detail's, you'll have to filter out LOD's by hand. In order to decompile binary IPL's you need the Binary decompiler tool from gtainside and the IPL name restorer from GTAforums. By simply decompiling the IPL files, they'll rename all of the model names to "unknown" but retain the ID's. The IPL name restorer tool will then restore the ID's by cross searching IDE files. There are cases where the tool fails to perform the rename, this namely happens for models which are animated such as burger shot, mills, signs etcetera. To correct this, simply use Prineside, look up the ID and get the model name associated with the ID. For those who care to keep LOD's separate from high detail's, simply use a coding editor e.g Notepad++ and use the search function and disable "case dependant" and search "lod". You'll want to have 2 versions of every non-binary IPL, one for LODs and one for high details. For high detail IPLs, delete anything with "lod" in their lines, and opposite for LOD IPLs. The first video in the thread contains decompiled IPL's, sorted with LOD's and without LOD's, and has interior world decompiled as well. Several IPL's can be merged together if so desired, although it may be wise to keep them separate to avoid overloading your scene with thousands of objects. Caution for performance and processing For anyone who doesn't have experience with game model conversion and import of game maps, it's crucial to know that a single part of the map, where that part of the map is not even half of a city, can have fatal consequences for your 3D application and cause shutdowns or hour long freezes if not optimised and dealt with. Your computer will not be very welcoming to thousands of objects and especially materials/textures. It can take 1 IPL district for your viewport to reduce to 5 FPS even without materials visible in viewport. Ways to go about this is using instances and xref/proxies. It seems that IPL imports instances, but at times they lose their instance status and become unique from eachother. If this issue is encountered, you'll want one model to be the parent of a lot of other instances. To do this, either check this Autodesk forum post or open Maxscript listener and add the following code. for obj in selection do instancereplace obj $foo Replace "foo" with the name of the model that you want to use as instance parent. For example you have 11 palm trees, 10 of which are named palm_tree and 1 is named palm_tree_parent. Select those 10 and then replace the word "foo" with "palm_tree_parent". Whenever you make geometry changes to "palm_tree_parent" the 10 others will be affected. Instanced models is a good start on scene optimisation, but is far from great. Deleting objects not seen by the camera or shadows, reflections, etc. can do a great deal of change for your viewport and render speed. Do yourself a favor and google scene/render optimization. I learned a lot for my demoreel through the following articles: https://evermotion.org/tutorials/show/10105/optimizing-3d-scenes-for-faster-rendering https://cgtricks.com/save-memory-when-working-with-big-scenes-3dsmax/ That being said, it's important to be aware of how big an impact these 16 year old maps can have on your $2000 workstation. Your computer won't take the maps lightly. If needed, consider splitting map parts into several max project scenes to avoid overload and rendering/work issues. Be extremely cautious with detail of reflection, refraction, shadows, lighting as these REALLY eat up rendering time from a solid 2 minute to 10 minutes+ if done by somebody without sufficient knowledge. Sometimes alpha materials may also slow down the renderer. There are also ways to enhance rendering speed (if using Mental Ray) by choosing IBL (Image based lighting), this can cut down rendering time by 2-6 times rather than using Final gather, however the quality can degrade so it's really a question about whether a shorter render time is desired at the expense of render quality. Importing IPL and IDE to 3D application Certain GTA scripts such as Kam's vanila and Kam's Goldfish editions comes with IPL import functions titled as "Map IO". These functions can handle not only IPL and IDE import with several settings, but also export. Exporting as .IPL can prove useful for mappers who then convert their IPL to MTA map editor format. I have just found that Goldfish's Map IO allows to to import not only standard materials (negating the need to convert gta material to standard scanline) but also allows to import binary IPL by specifying a local .dat file. This guide however focuses on the traditional way of importing and handling maps using vanilla scripts, not Goldfish's, so that those who want to know more in depth about the formats gets the option to do so. Nevertheless, below spoiler contains a quick overview of doing it using Goldfish's latest script. The below image shows how data files can be imported into 3ds Max along with models, by using Kam's orginal script "Map IO". Path to your DFF files. Ideally, you've extracted all of the IMG archive's contents into 1 folder. Version of the game models. Some DFF models are different depending on game to game (III, VC, SA) Select desired image format. Choose the one that your TXD files were extracted as, in my case it's TGA. Import IPL file. Import IDE file. Import ZON file. Import 2dfx data (after IDE is imported). For the vast majority of binary IPL's, only props, buildings and roads are included. The regular IPL's found in GTA SA installation\maps\ usually contain the land masses and such. The binary IPL's contain stream numbers, so they're split into several different IPL's presumably to put less strain on the GTA streamer. These can be merged into one if desired, but not ideal. Model issues and solutions There aren't any perfect GTA scripts and tools available to public to flawlessly import maps. For all of them there are either limitations or incorrections. Same applies to Blender. This guide contains some of the issues and possible solutions, but they're far from perfect. A minor issue which doesn't deserve any header is where IPL doesn't import anything, or an error message appears. This is usually the case when a different GTA script has been opened in the current 3ds Max instance. Simply close 3ds Max and run again. If it still happens, repeat the step but try on a new project scene, then save as new project file and merge into the main project scene. Solution: Alpha is severely broken or has the wrong material applied on faces All editions of Kam's scripts has issues with importing face or material index correctly. What this means for imported models is that they have randomly flipped faces (identified by black faces) or have the wrong material applied on the wrong place, e.g wall bricks on a house roof or tree bark on tree leaves. To fix these issues, use either CJ2000's RW importer or The Hero's RW importer. These two import materials and normals nearly correctly, although by looking at the models in viewport there's still black (flipped) faces. This is not the case when rendering the model, however. It's important to note that RW does not always import the rockstar models perfectly. There are cases where faces must be manually flipped, or enable doublesided for particular models. Disabling backface culling (on render) solves it most of the times. It's possible that neither of the above scripts imports 2dfx data unlike Kam's. In which case, it may be necessary to import map with Kam's, preserve the 2dfx positions and then replace corrupted models with RW imported ones. If several models are corrupted, it may be a good idea to look into using some object replacement scripts or functions if they come with 3ds Max. This can speed up with auto-aligning correct models to the corrupted ones. These articles may help: https://jamiesjewels.typepad.com/jamies_jewels/2011/10/85-3ds-max-quicktip-substituting-objects.html https://knowledge.autodesk.com/support/3ds-max/learn-explore/caas/CloudHelp/cloudhelp/2017/ENU/3DSMax/files/GUID-2CABA3D7-ECFA-4D0D-A8C2-E86600BEFBE4-htm.html Solution: Random polygons appear black with flipped normals (.001 weld + reset/adjust smoothing groups) The "Alpha is severely broken or has the wrong material applied on faces" section explains part of why this occurs. A way to fix the viewport issue is welding all vertices at 0.001 threshold. This removes any overlapping vertex. The model's smoothing groups can then be reset or adjusted, provided the model is imported with 1 total group which makes for a very smooth and unrealistic appearence. To correct the black polygons, use the "Flip normal" function. Simply flip any black polygons which are supposed to be white. This is not relevant to fix if your end goal is to render the map. Simply follow the method for "RW" scripts from the above section. It's only ideal to flip the faces if it annoys you to view the models corrupted in viewport. Common uses A lot of things are possible by importing GTA map into 3ds Max. For instance, film makers are able to integrate their own models with ease, customized animations and even physics, FX and much more. MTA mappers can also use the program to create mappings in 3D with a lot of powerful tools to ease the workflow. This can prove exceptionally useful for race maps due to Max's array functions to instance an object a thousand times along a curve to generate roads, loops and what not. Converting to FBX Instead of being restricted to Renderware and DFF formats, modelers can now import GTA map and then convert materials and the model components to be suitable with other programs and engines such as Cinema 4D, Unreal Engine and Unity. The conversion to FBX is in fact very simple. In order for DFF models to be converted, their material and lights needs to be converted too. GTA/RW material needs to be converted to standard scanline material. Normally it's only a matter of changing the material to standard and copying over the diffuse texture, and in rare cases, a specular and environment image as well. Lights may need to be adjusted to show the color that they're given in their IDE (if they import as dummies). Once that's done, the models may be exported as FBX (or any other model format). To correctly save as FBX format, follow the below steps. Go to File -> Export -> Export selected. This ensures that only the selected assets are being added to the FBX file, and that none other e.g non-converted models interferes and breaks the file. Next, find a location for the FBX file and name it to your liking. Below are the ideal settings for a GTA map to be exported as FBX. Smoothing Groups - enable if your lighting won't rely on vertex colors. You'll instead want to use smoothing groups to define model's shading. Preserve instances - enable if your scene utilises instances, disable if your scene only contains unique models. Preserve edge orientation Embed Media - Max will reference the textures used in the models, search for them in your texture folder, then paste the ones used in the scene into the FBX file. Very useful to cut down on texture folder size as it'll only use the ones that are used by your map. Can save some computer disk space. This can be useful if your client or member doesn't have access to your global texture folder. Units - normally you'll want metric/meters as that's the system used by SA. Axis Conversion - SA is Z-up whereas VC is Y-up (wrong?), so keep as Z-up. It's optional whether you should export lights or not. Look through the settings just to ensure that everything adapts to your preferences. If it does, hit OK and it will export. If you get an error message, make sure you've only selected the models with standard material. Mental Ray adaption For those who own a 3ds Max copy of version 2017 or higher, has the ability to change standard scanline materials to Physical among other material types within a few clicks using the Scene Converter (through the Rendering menu). For simple materials with diffuse maps, there are also other tools and 3rd party plugins that can convert between Vray/Corona/Arnold/Mental Ray and so forth. Having Standard Scanline materials in a Mental Ray scene can add to performance and render speed; it's always a good idea to keep materials corresponding to the active renderer. Arch & Design material also has a lot more functionality than Scanline does. In order to convert Scanline to Arch & Design, install the Material Converter from the following site. https://www.motivacg.com/downloads/scripts-3dsmax/. With this tool, simply choose the materials type according to their renderer. On conversion, all standard materials including multimaterials are converted into Arch & Design for use with the Mental Ray renderer. Designing and rendering a scene 3D rendering can be a beneficial way of visualizing a project or simply create art out of San Andreas. The above was shot on 3ds Max using Mental Ray as renderer in a scene lit by daylight system and parti volume shader as means of environment fog. A separate render pass was exported on the graphics card for Ambient Occlusion. The beauty and AO map were composited together and then color corrected. I tried to imitate "Welcome to the 80's" style of his GTA SA remastered CG shots. Down below I'll have a video and few lines of text on what I did to achieve part of what you see. It will by no means be the perfect guide to produce this exact image, but it hopefully will help people get started and troubleshoot issues through the process of setting up a scene. In the below video's description there are additional links and information. It's important to pause the video once a new subtitle appears, as they do not show for a very long duration. For those looking to add character animations to their project: Own GTA Anim Manager. Minor program that allows you to dig into IFP archives and change/modify their contents. Useful for adding/removing IFP animations in IFP archives. Own Kam's IFP scripts (comes with the DFF IO etc). Allows you to import animations onto skin rigs. It is a good idea to make necessary changes to rigs before applying animations. Necessary changes could be subdivision/smooth, material setup etcetera. After an animation is applied it's recommended to parent the Root bone to a dummy, so the new dummy can rotate the rig without the rig getting deformed while posing it. Mapping using Max Over the years a few community contributors have designed tools which export map files from Max, as well as internet converters which convert IPL to MTA. Which one to use really boils down to user preference. The most common however would be Kam's Map IO. This has the functions to export position/rotation data through IPL and IDE file types. These can be parsed/converted through 3rd party tools not necessarily related to Max. Another Max method of generating MTA maps is exporting using 50p's Map exporter. The beauty of creating maps in Max versus MTA map editor, is the ability to work in 3D and really isolate the mapping from everything else with a few clicks. It also offers great scene management, granting users options to import SA map for position reference, hide the SA map while creating their custom map etcetera. It also allows for visualizations of mappings using modern 3D graphics engines. 3ds Max has a lot of tools to create arrays or scatter objects around the surface of another object, those objects' pos and rot data can then be converted to MTA map file format. Mapping in Max can prove exceptionally handy for race mappers, or for those looking to group objects and move them all together, map with attention to precision or instance thousands and thousands of objects.
    1 point
  43. Hello. I want to present you my game mode based on Counter Strike. The server with this game mode was not popular and died. I get some break and now I decided to continue this project and release for Multi Theft Auto community. Features interface based on CS: Source full dynamic and easy customizable weapons & shop (including grenades as flashbang, decoy; nightvision goggles etc.) own damage system carrying weapons on the back, C4 in the hands spectator mode with freecam and "wallhacking" friends from your team and weapons on ground weapon drop planting & defusing bomb hostages server Message of The Day, global news, new version notification and auto update master server list Rock The Vote and nominating maps to the next vote; auto vote after 30 rounds support for different languages (standard is english and polish) Screenshots (click me) Videos (click me) Download Community: https://community.multitheftauto.com/?p ... s&id=10487 Thanks to Ren712 - ped wall shader & mapfix shader
    1 point
  44. MTA IS NOT FOR MAKING ADDONS FOR SAMP! This will just not work, this is MTA plugin for MTA and we are not supporting to use hard job of our community to SAMP. End of topic.
    1 point
×
×
  • Create New...