Leaderboard
Popular Content
Showing content with the highest reputation since 22/02/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
-
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
-
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
-
Ty so much for reply. Yes i had same thing in head about how buffer should look like. Changing only values that has changed etc. I didn't precised it well. By sending tables to database every 30s. i was thinking about mechanism that also stacks changed values to certain amount. Like old table and new table concept. Lets say im checking every 30s if cars changed their position. I compare old table with new. And values that has changed i move to some sort of stack. And stack is let say sent every 4 cycles of checking car positions. Before that stack is sent to database he's checked for latest values and reduced in size. By validating what comes from client i was thinking about putting clever anticheat trigger mechanism. Like while checking for changes. It's checking if that change was possible with my scripts for cars. Is car moving too fast or something. If it's. Then anticheat is triggered. and let me end here about anticheat mechanism. But ty also for mentioning your script. I'll take a look on it. Also by outside database i was thinking about LAMP thing in LANetwork on the other physical device. As i wanna only let one device to talk with the world. Just to reduce risk. Im sharing same network so i need to keep packs small so i have transfer reserved for server talking to trustfull world. Not exact desciption on purpouse here. Im having physical hardware so CPU and RAM are not problem. Problem is rational use of power. As i want to run my server independent. And made it most watt per player ratio effective. And keep it cheap. As im not planing earn money from server. Sorry for not mentioning details, but i didn't knew how to describe it all earlier and now too. as english is not my great side. Also ty for yours recommendations. Especialy about last one i forgot about that nice feature EDIT ADD Isn't it better for me to just make mta module that handle this stuff with multi core rather than single threaded lua? TheoreticaIy it should save me cycles on lua. And let them to be used more productive on bare bone server mechanics and scripting. And if so. what are good sources to begin with mta modules.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
-
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/PM6axzEZ1 point
-
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
-
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
-
Actually, I wasn't the one who said AI was stupid I just said that for now, especially chatgpt, it's very limited for complex scripts. I'll try cursor, thanks1 point
-
1 point
-
1 point
-
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
-
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 mehdi46641 point
-
1 point
-
There are two kinds of methods, one with setTimer and the other with the alternative onClientRender setTimer : The cursor always appears in the center for one frame after showCursor(true). function openPanel() showCursor(true) -- Save the last cursor position (values between 0 and 1) local x, y = getCursorPosition() -- Get the screen resolution local sx, sy = guiGetScreenSize() -- After 50ms, set the cursor back to its previous position setTimer(function() setCursorPosition(x * sx, y * sy) end, 50, 1) end onClientRender: Use a timer or onClientRender to set the position after showing the cursor. function panelAc() showCursor(true) local x, y = getCursorPosition() local sx, sy = guiGetScreenSize() local function imlecDuzelt() setCursorPosition(x * sx, y * sy) removeEventHandler("onClientRender", root, imlecDuzelt) end addEventHandler("onClientRender", root, imlecDuzelt) end your fixed code : local toggle = false local savedCursorX, savedCursorY local function togglePanel() toggle = not toggle if toggle then showCursor(true) if savedCursorX and savedCursorY then local screenX, screenY = guiGetScreenSize() -- Wait one frame before setting the cursor position setTimer(function() setCursorPosition(savedCursorX * screenX, savedCursorY * screenY) end, 50, 1) end else savedCursorX, savedCursorY = getCursorPosition() showCursor(false) end end bindKey("k", "down", togglePanel) I think you understand, if you have a different problem please post it here or create a new topic and tag me1 point
-
Is there any error on debug or F8? I dont understand why its not working1 point
-
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
-
LINK: https://payhip.com/TheDarkQ Specification: Low poly ✔ Full lighting Day/Night ✔ Materials ✔ Optimization ✔ Lighting effects [lamps] ✔ LOD ✔ Any question contact me on discord: TheDarkQ#17071 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
-
https://www.youtube.com/live/LtNXNauoyNk Yesterday, we concluded our series of 2x2x2x2 tournaments. I want to summarize the results from the perspective of both the organizer and a witness to all the races. The registration process was extremely difficult. Honestly, I don’t remember ever struggling this much to find players. In the past, for a similar tournament, we’d get up to 15 teams registered on the first day, with 4-6 more teams signing up as reserve. Over 50 players participated in the tournament! There could have been more, but some registered teams couldn’t play. As a result, some groups had 4 teams, while others only had 2. In each subsequent round, all groups had 4 teams—two were the winners of their groups from the previous round, and the other two were the teams that placed second. This way, we could create balanced and exciting groups. Of course, the most intense matches started from the quarterfinals. The team (Pszymek + zee) lost by just 6 points to (Puffy + Kellus). There was a tiebreaker for first place between (DuXR + Confused) and (WiLL + GB + Emery), a narrow 2-point gap between (Honz + Suzuki) and (DeiN + LENZER), and this was only the quarterfinals! If you recall, the semifinals began with Chilliad maps. Sandking offroad were easier than in the second round, but the motorcycle part was not easy. That’s why I thought this round could favor teams that weren’t the group favorites—anything could happen on these maps. In the first semifinal, (Aroszparo + Mateoryt) lost to (DeiN + LENZER) by just 8 points. In the other semifinal, (DuXR + Confused) faced another tiebreaker, this time fighting (morpp + Gandras) for a spot in the finals. I’m glad this happened in the second semifinal so many players got to watch your battle. The Final Round In the finals, many spectators predicted (DeiN + LENZER) to win, but they ended up in fourth place. Happy birthday, Wenom The fight for first place was incredible—(January + BTN) and (Honz + Suzuki) were 128 points before the final round. And here, I want to thank morpp—he finished second and prevented a draw! I really didn’t want a tiebreaker for the finals. Thanks dude! I want to thank all the participants who register and played in the tournament! Huge respect to the players who knew they couldn’t beat the strong favorites but still showed up and gave it them all. With this tournament, I didn't just want to entertain the spectators watching the fails on Chiliad maps—I also wanted to see how active the community could be. I hope many of you had fun and enjoyed yourselves. See you later, guys! Tournament Results: 1st - MOTP (Honz + sneezy + namik) – 150 pts 2nd - IHS (BTN + January + Pepsi) – 148 pts 3rd - KAUNAS (morpp + Gandras) – 120 pts 4th - Gonshiki 4estnoy Sudbi (DeiN + LENZER + hills) – 92 pts1 point
-
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
-
It's great to see you here again after years. This worked. Thanks IIYAMA!1 point
-
I wasn't paying attention to that part in the wiki, It's working now. Thank you!1 point
-
Thanks IIYAMA... I am looking it over... Also, I notice you're famous XD (You made the wiki page to the function you just described)1 point
-
Olá. Verifique na seção de Tutoriais em Geral deste fórum. Você encontrará esse tópico que pode ser útil:1 point
-
1 point
-
I have this problem too, is there any way to get a good answer?1 point
-
Hi! Following the community discussion in our forums, we have created an official Discord server quite a while ago, as an alternative (and maybe a full replacement in the future) to our current IRC channels. We kept it in under the radar while we were fine tuning things, but we believe we can now present it to you guys. All MTA players and fans are welcome to join our Discord server (though please behave while you are in there ). You can join it by using this link: https://discord.gg/mtasa What is Discord? Discord is a hybrid of IRC, an Instant Messenger and a Voice Chat software. It incorporates the most important features of these elements into a handy and multiplatform app which you can run on your desktops, smartphones or tablets. Why is it cool? Compared to IRC, it offers a built-in chat history buffer, so even if you are offline, you can still catch up with what happened in the channels then. IRC also offers that, but only through an IRC Bouncer that you either need to pay for, or have someone host it for you. It also has a modern look and features such as URL embedding (regular websites, but also pictures and videos), handy syntax colouring for pasted code snippets, emojis (also custom ones), chat messages reactions, Steam integration and more. What can I find while I am there? We currently have some channels created, including: #general - for general MTA and offtopic chats #scripting - for Lua scripting-related queries #support - for any problems related to MTA:SA client or server #announcements - for all important messages from us as well as some others. We are still thinking of how to put our Discord server into its full potential, so we may add more channels soon. Can I have Discord app installed and/or running on several of my devices concurrently? Can I use more than one server? Sure, absolutely. It will sync the messages automatically. And yes, you can add more servers than just our one. How do I join it? Hey, we have mentioned that already. Just click the link below and follow the instructions: https://discord.gg/mtasa I have a suggestion about the Discord... Okay, let us know. As usual, we are open for suggestions. Just post in this topic or hit us up directly on Discord. Hope to see you there! -- MTA Team1 point
-
Important note: before using this patch, first re-download the latest version of MTA from https://multitheftauto.com/ and re-install it, as the installer contains a procedure to automatically make your GTA installation compatible (without modifying original game files) that for technical reasons isn't included in the MTA auto-updater, on which many users may rely for years without installing MTA, therefore creating a problem if their GTA installation changes at some point. So, if you currently have no compatibility or have an unsupported version of GTA (prompting you to come here) or any other similar problem, please first re-install MTA. If this doesn't help, then proceed with the below instructions. This topic offers a patcher which will patch the following unsupported versions of Grand Theft Auto: San Andreas: USA 1.01 USA 2.00 European 1.01 European 2.00 German 1.00 German 1.01 German 2.00 This patch does NOT turn your gta_sa.exe into a crack/No-CD, but converts your gta_sa.exe to a 1.00 EU version. Please make necessary backups in case something goes wrong; we are not responsible for damaged or lost files. I have tested this personally, though please post if you have any problems while using the patcher. Although you will be reverting back to a fully moddable version of the game, you will also lose improvements contained within 1.01+, so downgrade at your own risk. Remember, you can always upgrade back to 1.01 from this patched version. Should you experience any problems you can always reinstall GTA:SA. Pick one of the following mirrors to download: DOWNLOAD MIRROR 1 (files.mtasa.com) DOWNLOAD MIRROR 2 (MediaFire) Thanks to Mike for testing and mista.maja for helping me get a German gta_sa.exe, and to nippy401 for letting me get ahold of GTA:SA 2.00 I have added 2.0 support for DE, untested. Regarding users of the Steam version of GTA: San Andreas This patch is not compatible with the Steam version of San Andreas, primarily because the .exe is completely different. You don't need to use this patcher for the Steam version, as the procedure to make MTA compatible with it is now included in the installer of recent MTA versions. So if you have the Steam version, follow these steps: 1) install the Steam version of GTA. If you already have it installed, make sure the game, more specifically the EXE is unmodded, or else MTA may be unable to perform the operation. 2) download the latest version of MTA (make sure of this) from https://multitheftauto.com/ > "Download" and install it. If MTA was already installed, make sure to re-install it (your files and saved settings won't be lost, MTA will be overwritten only) to ensure the Steam compatibility operation is performed by the installer. * Make sure to repeat this process every time you re-install your Steam version of GTA, or "verify files" (repair install it) in Steam, or whenever a problem occurs with launching GTA. Last resort This topic and the patcher was created to help a group of users that happen to have either modded, or upgraded versions of GTA:SA. MTA San Andreas is designed for, and thus best supported on, the original versions of GTA:SA (US 1.0 and EU 1.0 EXE's) without later GTA updates (1.01 and later) applied to it.. these updates only change the EXE and not other game files, and break MTA compabibility. So that also means if nothing in this topic works for you, the last resort (actually the method of preference in any case) would be to re-install GTA from DVD so that you will get the original EXE (US or EU 1.0) which MTA supports entirely. As far we know, no DVD version contains an updated EXE (1.01 or later) and they are all 1.0. If you find a retail version with an updated EXE, this patcher is still likely to work for it, unlike any modded GTA versions (based on 1.01 or later) from shady sources which the patcher may not recognize. So because of the higher success rate for original game in any shape, we recommend you to only get the original game from retail (DVD or digital download) and we tend to only offer support if this is the case. MTA will not provide support for attempts to downgrade/make compatible cracked, or heavily modded installations of GTA. Besides the ethical aspect, MTA is also designed to best support unmodded versions and stability or functioning isn't even guaranteed in other scenario's. For more information on places where you can buy legitimate and supported versions of GTA, we advise you to visit this wiki page: https://wiki.multitheftauto.com/index.php?title=Where_to_buy_GTASA NOTE: There have been numerous cases of people externally linking directly to the file. If you wish to link to the downgrader, I request that you link to this TOPIC, not directly to the file. This is to ensure that users having trouble post in this thread rather than creating new topics. If you would like to mirror it please contact an administrator. * Topic update date: 29th March 2020 Changelog: updated Steam compatibility information added more information1 point
-
В первую очередь тема будет полезна всем, кто только что вошел в скриптинг. ВНИМАНИЕ! Изучение языка Lua должно быть первым шагом в MTASA скриптинге, а не вторым или третьим, поэтому в этой теме я буду в первую очередь делать упор на русские доки по Lua, и во вторую - на доки по MTASA скриптингу. Желающие могут делиться ссылками, которые потом будут добавлены в этот пост. У новичков, обычно, возникают вопросы по языку Lua и по его применению в MTASA скриптинге. Но литературы на русском языке на этот предмет не так уж и много. Все, что касается скриптинга, можно узнать из вики - https://wiki.multitheftauto.com/. Там есть и русские документы, но их все равно мало по сравнению с английской версией, поэтому непонятные моменты можно уточнить здесь на форуме. Ну а что касается самого языка LUA - читаем дальше. Итак начнем просматривать нашу онлайн библиотеку.. Ссылки от юзера MX_Master, т.е. мои рекомендации : --- http://lua.ru/ http://lua.ru/doc/ Вторая ссылка - перевод официального справочника по языку Lua на русский язык. Очень мало пояснительной инфы и перевод местами сильно косноязычный. Дешево и сердито. Помогает уловить общий смысл, но тестировать все придется самому, т.к. примеров немного. http://ilovelua.narod.ru/ http://ilovelua.narod.ru/about_lua.html http://ilovelua.wordpress.com/ Ресурсы одного и того же автора. Все объясняется в самой что ни на есть доступной форме. Даже первоклассник программирования сможет это понять (: Вторая ссылка дает практически 70% того, что должен знать MTASA скриптер по языку Lua. Рекомендую. http://w3d.wiki-site.com/index.php/%D0%9E%D1%81%D0%BD%D0%BE%D0%B2%D1%8B_Lua Основы Lua. Простые и понятные примеры. Рекомендую. http://ru.wikipedia.org/wiki/Lua Куда же мы денемся без инфы в википедии. http://ltwood.wikidot.com/scripting:lua-lang Весьма понятный мануал. Примеров также много как и в официальном справочнике. http://steps3d.narod.ru/tutorials/lua-tutorial.html Мануальчик с небольшим игровым уклоном, в котором даже больше (вроде) инфы чем в официальном справочнике. Описания функций и примеры к особо непонятным функциям и конструкциям. http://netsago.org/ru/docs/1/4/ Введение в Lua. Небольшое. http://www.script-coding.com/Lua.html Введение. Общее инфо. Много простых примеров. http://xgm.ru/page/400 Немножко про LUA. http://luagml.ucoz.ru/doc/lua/lua.html Своеобразная копия http://lua.ru/doc/. Возможно, кому-то такой вид больше нравится. Cсылки от юзера Kenix : --- http://www.rldp.ru/mysql/mysqldev/glava04.htm - Нормальный перевод официального справочника на русский язык. Рекомендую. Примечание: в этом доке версия Lua 4.0, а не 5.1 как в МТА. Поэтому многие вещи могут отличаться. http://cortexcommandru.3dn.ru/forum/9-801-1 - В середине вся суть. http://progopedia.ru/language/lua/ http://big.vip-zone.su/doc/devel/lua.xml Cсылки от юзера CrazyDude : --- http://gta-rating.ru/forum/showthread.php?t=1370 Cсылки от юзера Kernell : --- Регулярные выражения в Lua http://www.lua.ru/forum/posts/list/57.page#408 Объектно-Ориентированное Программирование (ООП) в Lua http://mydc.ru/topic1429.html Основы декларативного программирования на Lua http://habrahabr.ru/blogs/development/77413/ Cсылки от юзера Elengar : --- Lua за 60 минут. http://zserge.wordpress.com/2012/02/23/lua Cсылки от юзера nikitafloy : --- http://www.cronos.ru/kb-cronospro-lua.html А еще у нас в подфоруме есть целый раздел с туторами по Lua/MTASA: viewforum.php?f=1531 point
-
In addition to the existing "Report community resources here" topic, this thread will list up the community guidelines outlining how the community should be used. Whilst these regulations cover a few popular situations, it is not to a strict rulebook—that is to say, the overarching rule is for you to be a good standing community member. Here are some criteria you should follow when sharing resources: Do not upload simple resources. These are: Vehicle/skin/weapon mods that primarily consist of DFF/TXD replacements. There are other places to share San Andreas mods. There are some exceptions, rare type of mods that, as a resource, do not work off the bat with MTA from GTA sources are allowed, such as tyre/wheel/weapon mods (aslong it's a pack), map and building, interior mods (Example: a map that consists of custom GTA objects or world parts) Resources solely based on code examples from the wiki "Useless resources": extremely simple scripts, especially one-liners Compiled resources based on a too small codebase (not worth to compile). Do not upload resources that do not do as advertised (this includes resources that are horribly broken) You are not allowed to upload resources that act solely as a publicity mirror (such as uploads with links to external websites to download the actual resource) You should not try to monetize your resources by using pay links (such as adf.ly). This can get you banned. Do not upload resources containing code you do not have the rights to (i.e, stolen code). Read the notes below for more information. The comments section is not a place to argue about resource stealing. Instead you should report said resources. Improving or fixing existing resources Although uploaded resources are made, by their author, for public download; the general rule is that you do not copy existing resources that you do not have the rights to. Then again, it may benefit the entire community if an old and abandoned resource is given new updates, which for that reason we, staff/moderators, may regularly do for some popular resources (as a form of Q&A, often for the reason of containing game-breaking bugs or being of low quality). If you want to help out like this yourself, see the question ''What do I do if I find a resource that has been abandoned?'' What do I do if I have a fix for a resource with a bug? Making small adjustments to resources and reuploading them as your own is not allowed. You need to contact the resource author so they can apply the fix and update the resource, or eventually grant you permission to do so. In some circumstances we the moderating team can patch resources if the author does not seem receptive to messages, where problems potentially affect large amounts of players/servers, or a (much downloaded) resource is of a quality detrimental to community. What do I do if I find a resource that has been abandoned? Please visit this thread if you would like to adopt a resource. If you find "fixed" resources that were not uploaded by the original author and to which the below exceptions details do not apply, then please report them (in this case, please only report newly uploaded resources after this policy's introduction date, so that old resources by inactive members are not removed). Exceptions: Re-uploading resources customized to target another gamemode/main purpose and/or using the original resource to base your edition off It can sometimes be allowed to upload modified resources if they change targetting overwhelmingly. If your re-upload is of a version (rather ''edition'') that cannot be unified with the original resource, because it has a different purpose or the changes made are converting it to a different target gamemode (for example, you use an existing adminpanel and change the buttons/functionality into a DayZ-gamemode panel). While you are not strictly required (by us) to see if the original author is inactive or will reply to you/permit it (unless included licenses say so), you will have to remove the material incase they explicitly request you to do so later on, as your resource will still be partially based off their work. Also if any original license forbids it or sets terms, you'll have to respect it and/or not do so. This exception is only valid for reasons such as the last mentioned, if due to that being the case both resources must have a different community listing. You are however required to mention and link to the original resource, and credit its authors in order to fall under this exception. Translated resources are also eligible if the same circumstances have been met. Other questions? What happens if I break the rules? (by discretion of the moderator) Depending on the situation, your content may be removed, or suspended. In addition, you may receive (temporary, in many cases) a community and/or forum ban. The regular rules about ban evading apply. All of this seems very obvious, yes, but extremely abusive behaviour on the community may result in a global ban from MTA. We are actively monitoring the community, and we apply common sense to all cases. As mentioned earlier, the absence of a rule does not mean the behaviour is allowed. How can I help? Make sure your email address on the forum and community are up to date, and if possible, establish a relationship between both your community profile and your forum profile. We will usually explain the reason for your resource being suspended in the resource log or comment section, and/or possibly over forum PM if your username is clear or we manage to link you. This helps make it easier to get in touch, and will prevent the situation where you simply re-upload the resource because you notice your resource has disappeared. We also encourage anyone who notices a resource in violation of these guidelines to click the newly added "Report" button below the description of all resources. The button will direct you to the below topic; If you want your own resource(s) deleted, or have something changed or corrected to it, you can make a post ("report" your own uploads) in the same fashion as written above, link your upload and describe your request on what needs to be done. Please note that all removal requests are subject to staff discretion, for example it's unlikely that we will delete popular resources (high download count, thus valuable to the broader community) even if the original author asks us to. Unless your license (if any, on the version you request removed) specifically states you got this power, you made a conscious decision to add your materials to the public domain by sharing it initially, and it would be near egoistic to take it away from others who are clearly finding it useful to this day. Note: Most of these regulations do also apply to Resources section release topics that may use alternate download mirrors other than community.multitheftauto.com (but will only be applied at moderator/staff discretion as not all of them can apply for those). As we do not control external hosting mirrors, the only thing we can do to enforce our regulations and demands is taking actions against the Resources section release topic and forbid placement of it, or subject it to additional requirements or changes. Additional regulations for the "Resources" subforum: - Topic title should be prefixed with either [REL], [DEMO] / [SHOW] or [SELL]. If you use the release prefix, the resource(s) that you're posting about should be publicly downloadable. If you use the demonstration prefix, then it's allowed to show off your private scripts or WIP's without any intention to publish it (or with the intention to publish it later). - If you upload resources posted in the 'Resources' section to external mirrors rather than the community page, then they must be uncompiled. We won't allow such content (compiled .luac) to be self-hosted out of security considerations. The community provides us with tools to deter malicious resources, if you come across a compiled DL on the forums then please be aware that we cannot protect your server from harm if you did use it, we kindly request you to report the topic in question instead. - Selling resources and gamemodes is only allowed in the "Resources" subforum and not in any other forum section, or on Discord, specifically in the #showroom channel (single post allowed). You're encouraged to sell only particular resources or a limited list of resources, bundled in a single topic. Bumping such topics (for the sole reason of bumping, like 'bump') is not allowed, nor is having alot of sale topics simultaneously: Moderators may judge on a case by case basis that you have too much selling activity or too much sale topics at the same time; we'd like to prevent commercial activities in this section from drowning out releases or show-offs. Anyone engaging in selling activities is doing so at their own risk, always take caution in dealing with a seller or buyer, and remember that if it seems too good to be true, it usually is. We recommend to review a member's forum reputation, activity & standing before making decisions. False deals can be either a scam or a person selling something not egilible for sale (not their work, stolen, leaked or public resources and code, etc) or unreasonable deals (qualitatively low value work for a too high price, misrepresentation of features or quality, etc), because of this we advise that if you doubt or aren't an experienced scripter, you call for the help of someone you know can tell if it's a reasonable deal and the product being sold looks good or not. We advise that you always press the seller for full source code and not compiled or otherwise protected, because you should ideally be buying the full rights to a work when you purchase it. While we cannot guarantee the safety of trading (for which reason we advise you to use common sense and precautions), we will do our best to intervene if a situation related to a scammer looking to make victims, having made victims, or of someone selling unreasonable products is brought forward to us. We kindly request you to submit a topic, post, or PM report in such situations or if you're concerned about anything. By reporting situations you allow us to prevent (scamming) incidents, eventually assist to resolve trading conflicts, or take action against scammers after the fact. Setting out to scam others is rewarded with a permanent ban, eventually a ban from all MTA services. By engaging in sale or trading activity on the MTA forums or Discord, you inherently agree to all of these terms and the fact that our decisions, arbitration, instructions and demands are final, to be judged on a case-by-case basis if we get involved. Legal disclaimer: (open spoiler by clicking ''Reveal hidden contents'')1 point
-
Tak, ale plugin ten jest na tyle biedny, że podpowiada tylko funkcje. Niezależnie od tego czy plik jest ze strony serwera czy klienta. Właśnie to na celu ma mój program - ułatwić tworzenie zasobów. Przykładowo jeżeli będziemy mieli takie widzimisię stworzyć nowy zasób to zrobimy to stosunkowo łatwo wybierając odpowiednią opcję z menu. Proste, szybkie i skuteczne. Co do podpowiadania funkcji to również dołożę starań, by dołączyć do danych funkcji parametry wymagane i opcjonalne. Tak, by zminimalizować ilość wejść na wiki, a tym samym zmniejszyć czas tworzenia kodu. Wczoraj na swoim FP zamieściłem poglądowy wygląd tego IDE. Wygląda on tak: https://scontent-fra3-1.xx.fbcdn.net/hp ... 0515_o.png Aktualnie: - program samodzielnie znajduje ścieżkę dostępu do folderu MTA. - pobiera wszystkie dostępne w katalogu "resources" zasoby. - koloruje składnie. - parę drobnych rzeczy. Mam nadzieję, że się podoba i że skorzystacie z tego programu. Będzie on dostępny dla wszystkich za darmo. Będzie aktualizowany i mam nadzieję, że deweloperzy MTA zaimplementują go do MTA jako dodatkowy program przy instalacji(tak jak w przypadku PAWNO w SA-MP).1 point
