Leaderboard
Popular Content
Showing content with the highest reputation since 21/05/25 in all areas
-
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
-
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!3 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 there, Can someone tell me, why MTA is getting worse and worse when new updates comes? I never had these problems: CSRW gamemode (that is old enough) used to run just fine year ago (last time I checked one off time was January 2026). When I launch it and try to skip the MOTD (Message of the Day) info box, it shows this: Keep in mind I don't have any AV's (I'm on a Windows Defender I don't use antivirus software) and this is bothering me. Also I do not have ANY external programs running, basic windows services and Chrome browser mostly. I even removed ASI mods from my GTA:SA main folder but it didn't help either. But that's not all. Whenever I join a map editor server, or a private server ran from MTA Server.exe, some anti-cheat :~ty error pops up saying that it kicked me because I didn't move or something. Keep in mind, this pops up randomly, or doesn't pop up at all, or pops up everytime I launch MTA and join the server. This is literally pathetic as I normally move and interact with the game. Moreover, it doesn't happen on a public server, only on local server The first problem with integrity violation happens everywhere when I launch the CSRW gamemode. And I get some people hating on MTA devs nowadays. It was never happening to me year ago or at the beginning of the year when I was using MTA, but they keep breaking the game even more... Like what the f*ck An request for someone who knows scripting Do you know what causes this integrity violation issue in CSRW gamemode? I suspect it might be those csrw-models but I have no clue, since they always worked without no issue at all. I'd love to know, because I wanted to convert a certain map and port it to the gamemode, but I can't obviously test it out because gamemode is unplayable, because of that integrity violation. I uploaded the gamemode on GitHub so if someone can evaluate the problem and maybe help me out running this on a public server, would mean a lot. I want to re-make the gamemode in the future too (or make a brand new one based on it) or just change it slightly. Sorry for the foul language and overall agressive tone, but this is just sad. Hoping that it will be fixed, but seeing how MTA devs do the updates I'm not hoping for any miracles.2 points
-
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.2 points
-
Hi, There is an upcoming build being prepared by Dutchman101 and releasing later today that should solve this issue. Make sure to update your game once the build is out and check whether the issue persists or not.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
-
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
-
1 point
-
I'm experiencing a similar problem. I updated to build 24068, but the problem persists. Are there any other possible solutions? Why can't you switch the update branch to stable build 23952 for now? Everything works fine on it, and there are no errors.1 point
-
mtasa://179.61.132.105:22003 Welcome to San Andreas Apocalypse Step into the immersive post-apocalyptic world of San Andreas Apocalypse, where survival, exploration, and adventure go hand in hand. You start in Zone 11 – Dillimore’s Hope, a safe colony that took you in after the outbreak. A short tutorial guides you through the basics of the game, and from there, the world is yours to explore. Daily login rewards keep the adventure exciting, giving you unique items each day, while the referral system allows you to invite friends and earn rewards as they progress. Character settings let you customize spawn points, skip the intro, change language, and enter bonus codes for extra advantages. Explore the World San Andreas is divided into 24 zones, some requiring the Survivor Pass to enter. Each zone features radio towers that, once unlocked, reveal map blips, the minimap, and zombie proximity. Wildlife roams freely, allowing hunting for meat, fur, and other resources. NPCs populate the world, offering quests, tips, and valuable items, while interactive characters can increase friendship levels through gifts and help. Shelters and safe zones provide security, and shops scattered across the map sell weapons, vehicles, seeds, clothing, and more. Survive the Apocalypse Beyond safe zones, zombies rule the streets. Every defeated zombie rewards you with experience points, money, and rare brain mass, which are essential to acquire weapons, vehicles, shelters, and other resources. Strategic gameplay and teamwork are key to reclaiming San Andreas from the undead. Special creatures like Bigfoot and Spinosaurus offer unique challenges and rewards, including powerful weapons, rare items, and massive experience points. Quests, Jobs & Activities The game features a variety of quests, including main story quests that advance the narrative and multi-stage quest series that require item submissions. Standard repeatable quests provide daily and weekly challenges, such as hunting zombies, collecting resources, or rescuing survivors. Jobs include Treasure Hunter, Cave Explorer, Street Cleaner, Lumberjack, Mechanic Helper, and Ocean Cleaner, each offering unique ways to earn rewards. Fishing allows you to catch fish and shells, which can be sold or used for quests. Vehicle missions involve rescuing survivors or transporting valuable items, and looting mechanics let you explore houses, buildings, garages, and vehicles for rare items. Dynamic airdrops, boss fights, and zombie nests keep the world unpredictable and exciting. Vehicles & Customization Vehicles can be purchased, obtained through quests, or found in the world. Players can store vehicles in server garages, upgrade engines, repaint vehicles, and dismantle old vehicles for parts used in crafting. Private garages and lootable garages provide safe storage and strategic advantages. Random vehicle dealers offer unique models, encouraging exploration and collection. Player Interaction & Economy Players must manage hunger and thirst, eat and drink regularly, and can form temporary parties to defeat zombies together for bonus experience. The chat system features extended range options, leaderboards track top players, and paydays, along with the wheel of fortune, provide money, experience, and SAA Coins. Skills improve through activities, including medic, mechanic, weapon expert, and vehicle expert levels. Farming, crafting, and placeable objects allow creative interaction with the world, while the player market lets you sell items to others directly. Colonies & Teamplay Form or join a colony to cooperate with other players. Kill zombies to gain colony experience, level up, and unlock additional player and vehicle slots, warehouses, and laboratories. Participate in daily and weekly tasks, lab battles, supply deliveries, and money transport for extra rewards. Shelters can be converted into colony bases, granting all members access to secure facilities. Personal Overview & Collectibles The personal overview menu (F2) tracks photos, documents, achievements, crafting recipes, known characters, and discovered locations. Collectibles include horseshoes, logos, Tiki statues, hidden packages, batons, badges, sharks, and photos, all of which can be used in the Bonus Shop for additional advantages. Are You Ready to Survive? In San Andreas Apocalypse, every choice matters. Explore a vast, dynamic world, face challenging quests, team up with allies, craft powerful items, and rise above the apocalypse. Your journey begins now — will you survive and reclaim San Andreas, or become part of the horde? DISCORD: https://discord.com/invite/Gfs84Ma8en BEMYDRE4M DEVELOPMENT ON YOUTUBE: https://www.youtube.com/@BEMYDRE4MDevelopment1 point
-
I have no experience with C++ myself nor with modules. But I do know that Lua is fast enough for a basic gamemode. The moment C++ might become important is when you want to implement something like pathfinding. There are other things that can save you more resources. For example using less timers. Most of the time getTickCount / getRealTime is more than enough. Or use as less as possible element data. Sort of : https://wiki.multitheftauto.com/wiki/Modules_Introduction1 point
-
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
-
Heya all, Are you looking for a freeroam server that has tons of custom mods and features, but don't want too many rules and restrictions? Then JohnFlower's Freeroam boredom just might be the right server for you! We have options like mapping and attaching for creative players, command line based so you actually can learn from it. We also have a lot of car mods and drifting opportunities to race yourself towards the finish! Not knowing what to do and got some spare time left? We got you covered with our in-game cinema and skins to start off an RPG. JohnFlower started the server in 2010, in collaboration with Cave Johnson. Since then the player base grew rapidly and the community became larger and larger. We basically have one rule when you are online and that's not to be a cu*t. We assume you know yourself what's okay and what not. Our staff members will act tho when things start to escalate. So, that's only a part of what our server can offer you, and if you are interested to check it out please copy the following link in your MTA: Server IP: mtasa://37.187.79.138:22003 Links: Join our Discord server: https://discord.gg/sC2DNRV Join our Steam group: https://steamcommunity.com/groups/JohnFlowers_Freeroam_boredom# Join our forum site: https://ilypetals.net/forum/ Join our IRC channel: https://www.irccloud.com/invite?channel=%23Flower.mta&hostname=irc6.rizon.net&port=6697&ssl=1 (If you use a different nickname than you use ingame, or if you are not affiliated with JohnFlower's server at all, ping @n0rt0x on IRC) Join our Facebook community: https://www.facebook.com/groups/318236555248301/ Regards, n0rt0x1 point
-
UPDATE: I figured that it was an acl issue, that I had to enable HTTP for everyone, so the created API can be available for everyone, even the ones who don't have any auth But I will be needing help on ACL, since I am creating a new form scratch gamemode, I will need to write my own and custom acl as well. Or perhaps use the current account system of MTA as well since I can't edit to create my own And I appreciate a lot for the helps IIYAMA gave me during this issue with the stuff I had with CEF and how they should communicate.1 point
-
1 point
-
1 point
-
Yeah, I worked on something similar some time ago, but I ran into many challenges when converting Figma designs into MTA Lua scripting. While the editor does offer a way to create layouts based on Figma templates, that approach is still very limited and quite basic. Because of that, I decided to build this app. It allows you to design the entire interface directly within the application and export a complete, ready-to-test MTA resource with ease. Thanks for your comment!1 point
-
Vehicle handling doesn't affect aircraft top speed because MTA has a separate velocity cap specifically for flying vehicles. This is controlled by setAircraftMaxVelocity. The default value is 1.5, which roughly translates to that 270 km/h limit you're hitting. To increase it: setAircraftMaxVelocity(3.0) The parameter is a multiplier, not an actual speed value. Some reference points: - 1.5 = default (~270 km/h) - 2.0 = ~360 km/h - 3.0 = ~540 km/h - 5.0 = ~900 km/h There's no documented maximum limit for this value, but extremely high values may cause physics instability or unexpected behavior. Keep in mind this applies to all aircraft globally, not per-vehicle. If you need to check the current value, use getAircraftMaxVelocity. local currentMax = getAircraftMaxVelocity() outputChatBox("Current aircraft speed cap: " .. tostring(currentMax)) So yeah, handling is for ground vehicle physics. Aircraft speed limits are a separate system entirely.1 point
-
Really cool project! It's nice to see someone putting effort into tooling for MTA. The community really lacks this kind of stuff and it's a shame these posts don't get more attention. I'm actually working on something similar myself, a direct converter for developers that goes from Figma to MTA. You design your UI in Figma, tag your layers with suffixes like _checkbox, _image, _button, etc., and it exports the whole thing ready to use. Different approach but same goal: making UI development less painful. Good luck with the project, hope it gets the traction it deserves.1 point
-
1 point
-
i'm planning to purchase a snapdragon X powered laptop which is ARM based, will i face problem playing mta or gta sa?1 point
-
1 point
-
1 point
-
The arms dealer script is something I made recently, this script can be used in different game modes. Dealers can be found in various locations around Los Santos. Here's a preview video For more information, feel free to join my discord server: https://discord.gg/Nex7e6JUhe Discord account is mehdi46641 point
-
1 point
-
Welcome to the forums @O-Dog. Your thread has been moved to the Resources section. The Scripting section is for scripting inquiries.1 point
-
1 point
-
When I first started creating the script, I worked with a single ped which was mexican and indeed there was a sound being played whenever the event is triggered, I used ``playPedVoiceLine`` but then I added more different peds so the voice wouldn't match their skin tone which made me remove this function at the end.1 point
-
1 point
-
I've run out of suggestions unfortunately, if i have smth i will come back1 point
-
Is there any error on debug or F8? I dont understand why its not working1 point
-
local toggle = false local savedCursorX, savedCursorY local function restoreCursorPos() if savedCursorX and savedCursorY then local screenX, screenY = guiGetScreenSize() setCursorPosition(savedCursorX * screenX, savedCursorY * screenY) end end local function togglePanel() toggle = not toggle if toggle then showCursor(true) for i = 1, 5 do setTimer(restoreCursorPos, i * 50, 1) end else savedCursorX, savedCursorY = getCursorPosition() showCursor(false) end end bindKey("k", "down", togglePanel) Can you just try this? ı added a timer for it.1 point
-
cursorX, cursorY = getCursorPosition() -- showCursor(false) <-- Use Before Then ... -- showCursor(true) <-- Use After Then screenX, screenY = guiGetScreenSize() setCursorPosition(cursorX*screenX, cursorY*screenY)1 point
-
Hi, It looks like cit2 took security measures against some form of leak they had in April 2025. Since this is a server-based incident, please consider reaching out towards their administration team for guidance (through their Discord or other platforms they have a presence on). We can't help you out on this because your issue is related to a platform we do not own nor moderate.1 point
-
My new SpongeBob SquarePants RPG server is now live. No need to make an account as nothing saves yet, but if youd like to check it out and leave feedback please post below. I will be working on the save system soon but for now its kind of a beta build. mtasa://144.217.174.212:39504 UPDATE 6/20/2025 11:10PM CST added stats and saving1 point
-
¡Hola a todos! Hoy les presento un proyecto único, un servidor de roleplay diferente a todo lo que han visto. Hemos creado un gamemode completamente desde cero, diseñado para ofrecer una experiencia de juego más rica, inmersiva y dinámica. ¿Qué lo hace especial? Cada sistema y mecánica ha sido pensado para brindarte un rol auténtico, donde tu historia, tus decisiones y tu interacción con el mundo tienen un impacto real. Desde un sistema económico estable hasta facciones equilibradas, todo está hecho para que vivas una experiencia de roleplay profunda y auténtica. Seleccion de personajes: Creacion de Personajes: Este es solo el comienzo. Estamos trabajando (yo solo) para ofrecer un mundo único, en constante evolución, y queremos que tú seas parte de él. ¡Únete a nosotros (a mi) y construyamos juntos algo increíble! Esta es mi idea de servidor y ya la llevamos por delante. ÚNETE. **Se necesitan**: -Scripters -Mappers -Administradores -Moderadores -Gente con amplio conocimiento en Roleplay Contactame en discord https://discord.gg/9b8BmYDgZ51 point
-
You obtained your copy of Grand Theft Auto from an unofficial source, and we do not support such copies. You should always obtain the game from an authorized source, for your own safety and a smooth gaming experience, and I also recommend installing the game in the original installation folder.1 point
-
Correct me if I'm wrong but I'm assuming all you're wanting here is that when the player hits the hunter then he gets the hunter bonus ? If this is the case then the only issue with your code is that in your getHunter function, you need to change addWinnerBonus to addHunterBonus1 point
-
1 point
-
You can install a web interface to cron too. https://github.com/alseambusher/crontab-ui1 point
-
Most (if not all) technical issues and crashes experienced on stable releases of MTA are somehow related to the user's PC, such as underlying OS or driver issues, bad mainentance state of the OS, viruses interfering with MTA, etcetera. In this subforum (client support) we have a range of users who are willing to offer you support, of which some have an advanced technical IT background and thus are able to dive deep into said problems, given that they have sufficient information to help you troubleshoot the underlying causal problem. MTADiag makes their job easier, by collecting a set of information that helps them get started in advising you what to do next. Client support information: (open spoiler) - also read this if you're not getting a response to your problem in a timely manner MTADiag is a small open-source console application which will: Read MTA's and GTA's install paths, and MTA's current version - if multiple versions of MTA are installed, it will ask the user to pick one to diagnose Automatically remove compatibility mode settings for GTA and MTA (except for Administrator privileges) Automatically download and launch MTA's latest patch installer Automatically generate a dxdiag log Automatically install necessary certificates for MTA Create a log file with the aforementioned paths, MTA's previous and updated version strings, the generated dxdiag log, a list of currently running processes, the contents of CEGUI.log, core.log, and logfile.txt, directory listings of the MTA, GTA, and GTA\models folders, and some other miscellaneous information which is automatically uploaded to MTA's Pastebin. Current version: 2.9.0 (January 2024) It's a little unfriendly due to the fact that it's a console app, but it will streamline client support topics by aggregating all potentially useful information for our QA and staff to help troubleshoot your issues into the first post, or potentially eliminating the need to create a new topic altogether if removing compatibility mode entries, automatically applied repairs & installing the latest nightly and the DirectX runtimes fixes the user's issue. I've added a download link to MTADiag in the MTA CRASHING? Read here first! sticky thread. Download MTADiag MTADiag is opensource, check out the repository at https://github.com/multitheftauto/mtadiag Instructions to use the tool and request support accordingly: Please download and run MTADiag and follow the instructions. Post any Pastebin URL MTADiag gives you in a new topic you'll create at https://forum.multitheftauto.com/forum/83-client/, after which support can be offered. MTADiag supports Windows XP and newer, but must be run with Administrator privileges on Windows Vista and newer. If MTADiag will not run for you, install Visual C++ 2017 runtimes and try again.1 point
-
Don't be sick please, remember that you've bought the scripts not the author rights. He can do everything he wants with his script because he has the author rights and you don't. Next time be sure that you buy that rights please.1 point
-
Some crashes in 32 bit Windows are caused by MTA running out of address space. The best solution is to use 64 bit Windows. For 32 bit Windows, these MTA settings may help a little: 1) Settings->Advanced->Fast CJ clothes loading->Off 2) Settings->Advanced->Streaming memory->Min 3) Remove all GTA:SA graphic mods (GTA:SA reinstall is ideal) Or, you could try enabling the 3GB switch in 32 bit Windows Details at this link In summary, for 32 bit Windows 7,8,10: 1) Find C:\Windows\system32\cmd.exe in Windows Explrorer 2) Right click on cmd.exe and select 'Run as Administrator' 3) In the black box enter this command: bcdedit /set IncreaseUserVa 3072 4) Press return 5) Restart computer 6) Pray1 point
-
1 point
