Leaderboard
Popular Content
Showing content with the highest reputation since 27/01/25 in all areas
-
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
-
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 Company5 points
-
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=190074 points
-
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
-
3 points
-
-> 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 sides3 points
-
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
-
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
-
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 Team2 points
-
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
-
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
-
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
-
2 points
-
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
-
I’m getting the “AC#4 Malicious activity” error when I try to join the server. I’ve already reinstalled Windows, but it didn’t fix anything. The Windows antivirus isn’t running, and stuff like Steam and Discord aren’t working either. Any idea what’s going on?1 point
-
1 point
-
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/BjJk7eF64T1 point
-
We have an announcement to make regarding certain services and technologies, like "Cloud Gaming" platforms and various cloud / cloud VM and hypervisor based services and software. Unfortunately, the majority of such services can no longer be used with MTA starting today. After observing a growing trend of abuse, such as server ban evading (serials related) we have enabled the same type of security, known as MTA serial verification - which usually applies to the most common consumer VM software - to all VM types and cloud services that we know of. This means that the procedure from https://updatesa.multitheftauto.com/sa/trouble/?tr=serial-validation must be followed on all relevant services, not just the aforementioned. Because most cloud & VM hosting services won't provide users access to the host machine (that hosts the VM), we expect that most "cloud gaming" users will no longer be able to play MTA using said service. Not that MTA is an attractive game to play in cloud gaming though, we advise you to use MTA like a normal user (on your own PC) and understand that we care about servers being able to reliably ban players. Cloud gaming, for instance.. would constantly offer you a new so-called environment, allowing infinite serial swaps, making you hard to ban. It's possible for some people still being able to use relevant services, as these measures will only apply to newly generated MTA serials (not retroactively). This is intended. This topic is also relevant to the "There was a problem validating your serial" error and "Banned by MTA" with reason PROHIBITED VM TYPE / SECURITY VIOLATION1 point
-
1 point
-
| 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:220071 point
-
Resursa este: usor de folosit scurta si la obiect cel mai important sigura impotriva codatilor (daca nu aveti cumva un server asa puscat ca au acces si la astea) Ce ofera: functie setPlayerData functie getPlayerData removePlayerData sendDataToClient Versiune 0.0.1 https://community.multitheftauto.com/index.php?p=resources&s=details&id=189601 point
-
why is it so hard to find a decent server to play on without admins being so toxic and rude? why is it only in mta? Last server I played on was a default server not even a minute has passed and I got banned and called the n word by the owner. That's not it I played on another server which was called default P and I got muted for no reason, I only asked why the server was lagging and they muted me without any explanations. I even got blown up over and over again when I joined a random rpg server, not even a second in and I just kept getting blown up repeatedly. I did play mta since 2012 and I did play on cit ( not like it's any different lol the mta admins there are way worse ) I even remember that there was an event in cit where you had to steal a car and deliver it somewhere while everyone is chasing you and I even got chased by an admin with super speed ( they had the cit tag by the way ) and got destroyed by them, another time I literally got banned for delivering the vehicle and accused me of exploiting bugs. I only stole the car and drove it. the point is I really wanna find a decent server to play on, a server that respects its player community. MTA doesn't have that sadly and it breaks my heart that one of my favorite games has a very toxic community and very sadistic admins. I really wonder if I should make my own server and I wouldn't mind if anyone wants to help me make it and spread positivity with me I'd be glad to welcome you in. Thanks for listening.1 point
-
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
-
This script replaces the default GTA traffic lights with a fully customizable system, allowing server owners to design and manage intersections according to their own needs. It is intended for those who want to add more flexibility and realism to traffic control on their server. MAIN FEATURES Complete Cycle Customization Each intersection can be configured individually. It is possible to let two directions run simultaneously (for example, north-south) or switch each direction one by one. Cycle lengths, order of signals, and groupings are fully adjustable. Custom Signal Types The system supports more than just the standard red-yellow-green. Arrows for straight or left turns, or other shapes, can be added directly into the configuration to create more complex traffic setups. Automatic or Manual Operation Intersections can run in a fixed cycle or in automatic mode. In automatic mode, the script monitors traffic flow, for example, if a defined number of vehicles pass within a set time frame, the intersection activates. The thresholds and time intervals are configurable. Compatibility The resource is not tied to any specific gamemode. It works on freeroam, roleplay, or custom environments without requiring additional dependencies. VIDEO SHOWCASE PAYHIP LINK If you have any questions, feel free to text me on Discord! (fajlyp)1 point
-
1 point
-
1 point
-
Seems like you forgot to link the community.mtasa.com download link here it is https://community.multitheftauto.com/index.php?p=resources&s=details&id=190121 point
-
1 point
-
good job, if you have a different problem please post it here or create a new topic and tag m1 point
-
This is the new Los Santos East, Office building version Aka K.Rosenberg & Co Building ! This version contains : Main floor " Reception hall, Chilling area" + 1st Floor "Private office, Meeting room, Open office area, Small reception" + 2st Floor "Private office'Rosenberg office' , 2Meeting room, Open office area, Small reception". Open Interior! Low Poly! Day/Night Prelight ! Combination of Native Objects and a Custom Model! This Model is for sale on my patreon "Exclusive Mod Membership" ! "patreon.com/Skann"1 point
-
1 point
-
local exampleTable = {"stringitem1", "stringitem22", "stringitem333", "The Longest String Of Text", "abcde"} function getLongestString(strTable) local str = strTable[1] for i=1,#strTable do if string.len(strTable[i]) > string.len(str) then str = strTable[i] end end return str end print(getLongestString(exampleTable)) --result : The Longest String Of Text try this1 point
-
1 point
-
1 point
-
I found another way. On start interface resource add and instant remove armor to localPlayer, it's turning on armor bar, then taking health bar coords, armorY + (healthY - armorY) / 2 = breathY. And it's working perfect. UPDATE: for correct working of this method you need to let armor bar to be drawn for 1 frame at least. I used a timer, which checking armorX and armorY, until they became not 0, 0.1 point
-
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
-
I never got to know you, but it's sad to see someone leave MTA. But I have "left MTA" long ago and I still visit here all the time, so leaving doesn't have to be what it looks like. Your post serves as a wake-up call reminding me that I should find some time to script on MTA for once. Whatever path in the life you're taking, I hope it's for the better1 point
-
There is also this useful function: https://wiki.multitheftauto.com/wiki/GetScreenStartPositionFromBox1 point
-
Try this one Client.lua local inventario = { ["THC"] = 0, ["LSD"] = 0, ["Cocaina"] = 0, ["Heroina"] = 0 } local productosVendedor = {"THC", "LSD", "Cocaina", "Heroina"} local precios = { ["THC"] = 500, ["LSD"] = 500, ["Cocaina"] = 500, ["Heroina"] = 500 } local ventana, lista, usarButton, cerrarButton -- Función para abrir el menú de compra function abrirMenuDeCompra() ventana = guiCreateWindow(0.3, 0.3, 0.4, 0.5, "Menu de Compra", true) lista = guiCreateGridList(0.1, 0.2, 0.8, 0.5, true, ventana) local columnaProducto = guiGridListAddColumn(lista, "Producto", 0.6) local columnaPrecio = guiGridListAddColumn(lista, "Precio", 0.3) for i, producto in ipairs(productosVendedor) do local row = guiGridListAddRow(lista) guiGridListSetItemText(lista, row, columnaProducto, producto, false, false) guiGridListSetItemText(lista, row, columnaPrecio, "$"..precios[producto], false, false) end local comprarButton = guiCreateButton(0.1, 0.75, 0.8, 0.1, "Comprar Producto", true, ventana) guiSetProperty(comprarButton, "NormalTextColour", "FF0000FF") -- Botón en rojo cerrarButton = guiCreateButton(0.1, 0.88, 0.8, 0.1, "Cerrar", true, ventana) guiSetProperty(cerrarButton, "NormalTextColour", "FFFFFFFF") -- Botón de cerrar -- Evento para comprar productos addEventHandler("onClientGUIClick", comprarButton, function() local selectedItem = guiGridListGetSelectedItem(lista) if selectedItem ~= -1 then local producto = guiGridListGetItemText(lista, selectedItem, columnaProducto) triggerServerEvent("comprarProducto", resourceRoot, producto) end end, false) addEventHandler("onClientGUIClick", cerrarButton, function() if isElement(ventana) then destroyElement(ventana) showCursor(false) end end, false) showCursor(true) end addEvent("abrirMenuDeCompra", true) addEventHandler("abrirMenuDeCompra", resourceRoot, abrirMenuDeCompra) -- Función para agregar el producto al inventario del jugador function agregarProductoAlInventario(producto) if inventario[producto] then inventario[producto] = inventario[producto] + 1 else inventario[producto] = 1 end actualizarPanelDeInventario() end addEvent("agregarProductoAlInventario", true) addEventHandler("agregarProductoAlInventario", resourceRoot, agregarProductoAlInventario) -- Función para mostrar mensaje de compra fallida function mostrarMensajeCompraFallida() outputChatBox("No tienes suficiente dinero para comprar este producto.", 255, 0, 0, true) end addEvent("mostrarMensajeCompraFallida", true) addEventHandler("mostrarMensajeCompraFallida", resourceRoot, mostrarMensajeCompraFallida) -- Función para mostrar mensaje de compra exitosa function mostrarMensajeCompraExitosa(producto) outputChatBox("Compra exitosa de " .. producto .. ". ¡Gracias por tu compra!", 0, 255, 0, true) end addEvent("mostrarMensajeCompraExitosa", true) addEventHandler("mostrarMensajeCompraExitosa", resourceRoot, mostrarMensajeCompraExitosa) -- Función para abrir/cerrar el panel de inventario (F2) function togglePanelDeInventario() if isElement(ventana) then destroyElement(ventana) showCursor(false) else ventana = guiCreateWindow(0.3, 0.3, 0.4, 0.5, "Inventario de Drogas", true) lista = guiCreateGridList(0.1, 0.2, 0.8, 0.5, true, ventana) local columnaProducto = guiGridListAddColumn(lista, "Producto", 0.6) local columnaCantidad = guiGridListAddColumn(lista, "Cantidad", 0.3) for producto, cantidad in pairs(inventario) do local row = guiGridListAddRow(lista) guiGridListSetItemText(lista, row, columnaProducto, producto, false, false) guiGridListSetItemText(lista, row, columnaCantidad, tostring(cantidad), false, false) if cantidad == 0 then guiGridListSetItemColor(lista, row, columnaCantidad, 255, 255, 255) -- Texto blanco else guiGridListSetItemColor(lista, row, columnaCantidad, 0, 0, 0) -- Texto negro end end usarButton = guiCreateButton(0.1, 0.75, 0.8, 0.1, "Usar Producto", true, ventana) guiSetProperty(usarButton, "NormalTextColour", "FF0000FF") -- Botón en rojo cerrarButton = guiCreateButton(0.1, 0.88, 0.8, 0.1, "Cerrar", true, ventana) guiSetProperty(cerrarButton, "NormalTextColour", "FFFFFFFF") -- Botón de cerrar addEventHandler("onClientGUIClick", usarButton, function() local selectedItem = guiGridListGetSelectedItem(lista) if selectedItem ~= -1 then local producto = guiGridListGetItemText(lista, selectedItem, columnaProducto) if inventario[producto] > 0 then usarProducto(producto) inventario[producto] = inventario[producto] - 1 actualizarPanelDeInventario() else outputChatBox("Debes ir al vendedor para comprar " .. producto, 255, 0, 0, true) end end end, false) addEventHandler("onClientGUIClick", cerrarButton, function() if isElement(ventana) then destroyElement(ventana) showCursor(false) end end, false) showCursor(true) end end bindKey("F2", "down", togglePanelDeInventario) -- Función para usar el producto seleccionado function usarProducto(producto) if producto == "THC" then outputChatBox("Usaste THC", 255, 0, 0, true) -- Aplica efectos de THC elseif producto == "LSD" then outputChatBox("Usaste LSD", 0, 255, 0, true) -- Aplica efectos de LSD elseif producto == "Cocaina" then outputChatBox("Usaste Cocaina", 255, 255, 0, true) -- Aplica efectos de Cocaina elseif producto == "Heroina" then outputChatBox("Usaste Heroina", 128, 0, 128, true) -- Aplica efectos de Heroina end end -- Función para actualizar el panel de inventario function actualizarPanelDeInventario() if isElement(ventana) then destroyElement(ventana) togglePanelDeInventario() end end Server.lua -- Crea un vendedor en una ubicación específica local vendedor = createPed(50, 2165.93, 1696.37, 10.82) -- Congela el vendedor para que no se mueva ni muera setElementFrozen(vendedor, true) setElementData(vendedor, "invincible", true) -- Crea un marker (área de interacción) cerca del vendedor local marketMarker = createMarker(2165.93, 1696.37, 10.10, "cylinder", 1.5, 255, 0, 0, 150) -- Función para mostrar el menú de compra function mostrarMenuDeCompra(player) triggerClientEvent(player, "abrirMenuDeCompra", resourceRoot) end -- Función para manejar la compra de productos function comprarProducto(player, producto) local precio = 500 if getPlayerMoney(player) >= precio then takePlayerMoney(player, precio) triggerClientEvent(player, "agregarProductoAlInventario", resourceRoot, producto) triggerClientEvent(player, "mostrarMensajeCompraExitosa", resourceRoot, producto) else triggerClientEvent(player, "mostrarMensajeCompraFallida", resourceRoot) end end -- Evento para mostrar el menú de compra cuando el jugador entra en el marker addEventHandler("onMarkerHit", marketMarker, function(player) if getElementType(player) == "player" then mostrarMenuDeCompra(player) end end) -- Evento para manejar la compra de productos addEvent("comprarProducto", true) addEventHandler("comprarProducto", resourceRoot, comprarProducto) -- Hacer al ped invulnerable addEventHandler("onPedWasted", root, function() if source == vendedor then cancelEvent() end end) addEventHandler("onClientPedDamage", root, function() if source == vendedor then cancelEvent() end end)1 point
-
Hello, I can't log into the MTA Province server, the first server, all the others are working, I wrote to the technical specialist. They couldn't help us, so they sent me to you. The error name is CD50. Tech support informed me that my serial number matches the number of another player. I have reinstalled Windows 10, 11 and their different versions from pro to enterprise several times, nothing helped. Rebooting the Internet router, reinstalling the game in different directories and on disks also did not help. serial - F413477538AD07BD3D1F52281F71F1E41 point
-
v2.2.0 released: modernization and new command for QoL Download and changelog here: https://github.com/Fernando-A-Rocha/mta-nandocrypt/releases/tag/v2.2.01 point
-
1 point
-
Hi!, my name is Laxante101, I'm a .Lua developer, And today I will try to help you understand SQlite WHAT IS SQLITE? SQLite is a relational database management system (RDBMS) that does not require a separate server to function. Unlike database systems like MySQL or PostgreSQL, which need an active server process, SQLite is "embedded" (that is, the database is stored in a local file on disk), and operations with they are made directly within the program that uses it. Luckily for us, SQLite is already built into the MTA. This means that you can use SQLite databases directly in your MTA Lua codes without having to install anything additional "external" or configure an external database server. SQLite support is native to MTA, facilitating the use of databases for persistent storage of in game information. It is normally used on servers that do not use the login panel, they use SQlite so their information that would be saved in accounts is now saved in the .db file. Or on servers that don't use the original game money, they create other types of “money” like diamonds, stars which are all saved every day, well that's usually the case IMPORTANT DETAILS • Simplicity: Doesn't require anything other than a notepad • Portabilidade: Data is stored in a single .db file, which makes backup and migration easier. SQlite Global Structure Connect to Database with dbConnect Execute Queries using dbExec to modify data and dbQuery to recover data. 3. Manipulate Results with dbPoll and process the returned data. Connection to the Database the database file can be created automatically when connecting. The database file is saved in the server's root folder. local db = dbConnect("sqlite", "storage.db") or if you want to automatically create a folder for your file, or to save your .db files, if it is not created it creates it automatically, if it is created it just puts the file in the path. local db = dbConnect("sqlite", "db/storage.db") in this case the "db" folder will be created Creating Tablese data, you first need to create tables in the database. This is done using normal SQL commands like consulta local = [[ CREATE TABLE IF NOT EXISTS players ( id INTEGER PRIMARY KEY AUTOINCREMENT , name TEXT , score INTEGER ) ]] dbExec ( db , query ) Create a player table if it doesn't already exist In this case, we are creating a players table with three columns: ID Name Score Table Structure TEXT: STRINGS INTEGER: STORAGE NUMBERS REAL:STORES FLOATING POINT NUMBERS BLOB: STORES BINARY DATA (images, files). NULL: NIL VALUE If you don't understand what a string or Boolean values are, learn about data types VIDEO HERE Entering Data To add data to the database we use the SQL command INSERT INTO function AddPlayerLX1(name, score) local query = "INSERT INTO jogadores (name, score) VALUES (?, ?)" dbExec(db, query, name, score) end AddPlayerLX1("juninho", 100) The INSERT INTO command inserts a new player with the name "juninho" and score 100 into the players table. Note: The question marks (?) are placeholders for the values that will be passed to dbExec. This helps prevent SQL injection. Deleting Data To remove data from the database, we use the SQL DELETE command DELETE function DeletePlayerLX2(name) local query = "DELETE FROM players WHERE name = ?" dbExec(db, query, name) end DeletePlayerLX2("juninho") Error Handling It is important to verify that database operations were successful. MTA doesn't automatically return detailed errors other than "/debugscript (1, 2, 3)" so let's add checks. function AddPlayerLX3(name, score) local query = "INSERT INTO jogadores (name, score) VALUES (?, ?)" local sucess = dbExec(db, query, name, score) if sucess then outputDebugString("Sucess.") else outputDebugString("Error.") end end IF SUCESS THEN the success variable stores the result of the dbExec function. If the SQL command execution was successful (i.e. the player was added to the database), success will be true. If success is true, the code inside the if block will be executed. else If the success value is false (that is, if the player's insertion fails for some reason, such as an error in the database connection or SQL query), the code inside the else block will be executed Optimizations and Best Practices Optimizations are great for your day-to-day life as a developer, this makes your code more beautiful, less likely to give you server overload errors, etc... Remember to use dbFree to flush queries after use, especially if you are not using dbPoll. local LX4 = dbQuery(db, "SELECT * FROM players") dbFree(LX4) There are several ways to create clean code, I left just one of them Let's be clear: Since the SQLite database is a flat file, you can back it up by simply copying the .db file. To restore the database, simply replace the old file, this is a big advantage of using SQlite instead of using external databases. OBS: All codes were made based on an example of player name and id points, not made in a real project. (just to make it clear That's all I remembered, if there's anything I didn't make clear here you can say it and I'll edit it or respond to you1 point
-
Did you know that the definition file counts up to a whopping 1364 unique functions? While the actual value might be higher or lower (missing, unknown, class/OOP or deprecated functions). Having this amount of functions in MTA is an incredible accomplish by this community. Some other statistics: 125 client unique events 88 server unique events1 point
-
ChatGPT ist eine weltverändernde Form von künstlicher Intelligenz. In ihrer Art die Mehrdeutigkeit der Kommunikation zu erfassen und daraus zielgerichtet Antworten zu geben stellt eine Gefahr für unsere heutige Gesellschaft dar. Die grundfesten Ideale des Kapitalismus, der Wertschätzung werden beraubt in dem man seine eigene Existenz in diese Netzwerke opfert. Mit meinem Expertenwissen versuche ich euch zu erklären worum es in Wahrheit geht:1 point
-
Moving this to ban appeals. @Sandroka please provide your serial. You can do so by launching MTA, pressing the console key (F8 by default) and typing 'serial' (without quotes). Paste the string provided there into this topic. Thanks!1 point
-
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/tIWv25u1 point
-
1 point
-
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
