Jump to content

Leaderboard

Popular Content

Showing content with the highest reputation since 03/09/16 in all areas

  1. Happy Spring Break! We have got a new release for you - Multi Theft Auto: San Andreas 1.5.4! This release includes security updates for the server that protect both you and us, so we recommend all server owners to upgrade as soon as possible - see the steps below for tips on that. Failure to do so may affect your server's visibility on the Master Server List in the ingame server browser. Aside from security fixes, there are some feature updates in this version for the client as well, so regular players are more than welcome to update. What do you need to do to upgrade your server properly Stop your server, then upgrade your server binaries like usual. You can also upgrade your server resources if you use any of the default MTA:SA ones. Start your server, and when it is running, stop your server again (This will step will ensure mtaserver.conf is upgraded) Edit your mtaserver.conf file, and find <owner_email_address> (it should be just below the <servername> parameter) and insert a valid e-mail address that we can use to contact you, should there be an issue with your server. This e-mail address IS NOT visible publicly and will only be used for means listed earlier. That is, only if those occur. Save the mtaserver.conf file, then start your server again. Release Highlights Authorized Serial Account Protection is now enabled by default. To put it simply, this feature prevents players from logging in to an account on the server if their serial differs from the serial associated with that account. Naturally, this feature is configurable so you can restrict it to specific account groups and you can authorize more than just one serial for a specific account. You can also disable this in the mtaserver.conf file if you are sure you do not need the feature. Database Credentials Protection is now enabled by default. passwordHash() & passwordVerify() can now be used to store and verify passwords securely and efficiently fetchRemote() now supports parallel downloads with the queue name parameter setWorldSpecialPropertyEnabled() now has settings for "sniper moon", "random foliage" and "extra air resistance" New scripting functions: get/setVehicleLODDistance() setElementDimension() now supports element omnipresence, which means that an element can be in all dimensions at once fixes for weapons/fists desync Corona markers should now have a correct attach offset position SQLite or MySQL no longer makes the server freeze if the connection is lost (#9520) Goggles no longer stay after player was killed (#9477) updates for CEF and other dependencies and redists fakelag command for testing sync issues fixes for some crashes and improvements for error handling for installation and startup issues removed max password length limit for server account passwords added server option to allow locally modified (gta3.img) vehicles added world special property "extraairresitance" to remove speed limiter on certain road sections (#7546) resource pack: various changes in acpanel, editor, freeroam, killmessages, playerblips, race and webbrowser ... plus more! A complete list of changes can be found here (recommended read) and here (incomplete, from r10623 upwards). List of changes to the resource pack can be found here (starting from and including Oct 29, 2016 upwards). Want to download MTA:SA 1.5.4? Click here to download the build for Win 7+. Looking for a legacy build for XP/Vista? You can download it here. Or you can click here to go to our home page. Once there, click the Download button at the top center of the page, then choose your build and you are set. Linux server packages are also available. This release is backwards compatible with the 1.5.3 (also 1.5.2, 1.5.1 and 1.5). If you use these versions, then you may as well upgrade to the newest one. Credits for this release: 4O4, Arran, Dutchman101, einheit-101, Fernando, lopezloo, Necktrox, next, Noki_, qaisjp, ZReC ^ (Have you contributed to MTA:SA 1.5.4's source code/resources pack but were not mentioned in the above list? PM @jhxp with a link to your contribution and you will be added ASAP) ^ Oh, and did you know that we have got our very own Discord server now? Click here for details on how to join our server. Take care. -- MTA Team
    38 points
  2. A while ago we had published a release candidate build for the upcoming release for you folks to test. This phase went fine, so we feel that we are now ready to present you with the new stable version of the mod - Multi Theft Auto: San Andreas 1.5.3! Just like before, this is an update for our current stable version series - MTA:SA 1.5. Contrary to this definition, it is rather a huge update which contains mostly smaller changes, but makes up for it with the amount of them. A lot of effort was put by @Jusonex and @sbx320 into cleaning the code and reorganizing the build system, both of which should make it easier for us to maintain MTA:SA's code base and simplify the compilation procedure. However, during the above mentioned RC testing phase we decided to revert some of the code clean-up changes and leave them for a future release due to problems they were causing. We feel it will be better that way as some of these changes simply need more work as they affect a lot of the code base, making it harder to pinpoint other issues that might be discovered. In the meantime, @ccw and @darkdreamingdan had worked on fixing bugs reported by the community. We also had updated several dependencies (third-party components which are used in our mod), including a bunch of utility libraries (such as sqlite, zlib, libpng or libjpeg) and the CEF (Chromium Embedded Framework) components. The latter especially is an important change which we had explained further in a separate post and also summarized briefly below. This update will be slightly troublesome for some of our players who are still using Windows XP and Windows Vista (which is, to be honest, a rather small amount). Regular 1.5.3 build will not work for such users, so we had prepared a legacy build just for them. Furthermore, such users need to be prepared that at some point we might drop support for Windows XP and Windows Vista for our future releases. Please read this post to learn more about this change and its consequences. Since the build system was reorganized, a lot of smaller changes which were originally made for 1.6 were also introduced in this version (as long as they were not breaking the compatibility), making it actually one of the biggest releases we have ever made (and also sort of a bridge between 1.5 series and the then-upcoming 1.6 release). You can check the list below for some of the most interesting changes, but we really recommend checking full lists of changes to check whether the feature or function you have always wanted is already available in this release: Added support for German Steam version of GTA:SA (thanks to Lakota, Mario and @Sh4dowReturns for feedback) Improved streaming of low LOD objects and increased limits Multiple popular crashes were fixed Code cleanups and improved internal error logging MTA:SA will now try to use the native screen resolution when first launched Fixed desktop resolution when minimizing with fullscreen borderless window mode Added client resource files path info to Advanced tab in Options window Added icon for Windows server executable and digitally signed the CEFLauncher executable New scripting functions: canBrowserNavigateBack(), canBrowserNavigateForward(), navigateBrowserBack(), navigateBrowserForward() and reloadBrowserPage() (developed by mabako); createTrayNotification() and isTrayNotificationEnabled() (developed by Necktrox); also resizeBrowser(), fileGetPath(), setVehicleWindowOpen() and more... Tweaks to dbQuery()/dbExec(), fileRead(), addDebugHook() and more... Fixed setBrowserAudio() not muting the sound correctly on some websites e.g. YouTube Fixed setCameraTarget() calculation (thanks to lex128) setVehiclePlateText() now works with any kind of vehicle, including motorbikes (thanks to lopezloo) Added blend parameter for setPedAnimation() (thanks to lex128) Added support for objects and weapons in ped damage events (thanks to lopezloo) Water elements are now limited to a specific dimension Fixed sniper scope disappearing after killing a ped (thanks to lopezloo) Fixed MTA sometimes not loading custom textures Fixed MTA slowly updating position of attached elements Security and performance tweaks for CEF Fixed CEF popups (e.g. <select> boxes) not being rendered correctly Added option to block server admins who login with an unrecognized serial Added duplicate log line filter for script debugging Fixed a connecting player being able to block resources from starting Tweaked logic of client resource file validation Added server logging for redirectPlayer Tweaks for admin, missiontimer, race, runcode and webbrowser resources (thanks to Dutchman101, Einheit-101 and PhrozenByte) Added map backups for Map Editor and changed its default fps limiter setting value from 36 to 50 (thanks to AleksCore for the latter) Removed the no longer needed VS2008 redist package from the installer ...and much more! A complete list of changes can be found here (recommended read) and here (incomplete, from r7816 upwards). List of changes to the resource pack can be found here (starting from and including Feb 18, 2016 upwards). Please be advised that UltraThing and older versions of ENB series mods are blocked in MTA:SA 1.5.3 due to their incompatibility with the MTA:SA web browser components. If you want to use ENB mod in 1.5.3, please update it to a newer version if your current one does not work. If, on the other hand, you want to use UltraThing mod in 1.5.3, you will not be able to do it anymore - sorry for that just like above - please update it to a newer version (v0.29 or above). Want to download MTA:SA 1.5.3? Click here to download the build for Win 7+. Looking for a legacy build for XP/Vista? You can download it here. Or you can click here to go to our home page. Once there, click the Download button at the top center of the page, then choose your build and you are set. Linux server packages are also available. This version is backwards compatible with our older 1.5 releases, but we still encourage everyone to update their clients and servers ASAP to ensure, that they benefit from bugfixes, security updates for CEF, performance tweaks or other improvements. We would like to thank the following community members for their contributions to the MTA:SA source code, resources or feedback for this release: Aboshanab, AleksCore, braydondavis, Dutchman101, Einheit-101, Lakota, lex128, lopezloo, mabako, Mario, Necktrox, PhrozenByte, qaisjp, rafalh, @Sh4dowReturns, zneext (Have you contributed to MTA:SA 1.5.3's or 1.6's source code/resources pack but were not mentioned in the above list? PM @jhxp with a link to your contribution and you will be added) We hope that you will enjoy this release. Also, please keep in mind that if you encounter a bug or a problem which was not present in previous versions, you can report it to our bugtracker. --MTA Team
    28 points
  3. Hey, I wonder what this button does... <presses the button> huh? delete all forum users? oh sna- Hi there, the MTA Team is happy to present you with the result of what we have been up to recently - the redesigned and refreshed MTA Forum! This is something that we have wanted to do for a long time, and for several reasons. The forum software we have used until now (phpBB) has served us well through the years, there is no doubt about that. However, as time went by, our needs were changing too. It was becoming less and less feasible for us to use and maintain the forums in their present state, so we decided it was time to try something that is more suited to our current needs. We were recently presented with an opportunity to switch the forum software on attractive terms and we took it. Lo and behold, here are the new forums! Highlights of new features that were not present on the previous forum: forum now runs on a proprietary, secure, well tested and widely used software solution - the IPS Community Suite a completely new, mobile-friendly forum theme a fully fledged rich text editor for posting or editing your content on the forums (instead of the previous plain text box with BBCode buttons) an improved user profile system for greater personalisation of your presence on our forums a new, customizable real-time notifications system also a new, simplified Private Messaging system improvements to the quotation system (quotes link to the original post, and are fully collapsible) and replying in general (the multiquote feature) an ability to 'like' and rate topics and posts, awarding reputation points to their authors topic authors can now assign tags to their topics, making it easier for users to find the content they are looking for several new enhancements and customization features to improve your browsing experience (eg. topic previews; the ability to hide forums you are not interested in) moderators now have an ability to promote your topic on the forum (similar to stickied topics, but separate to them) several new features for us administrators too, which will make forum maintenance easier and possibly allow us to implement new forum features without a hassle ... and more! List of features that were present in the previous forum but are missing or are less functional now: no topic icons Private Messaging system is less pleasant to scroll through. Getting used to it might take some time too it is no longer possible to view the source code of posts. If you really need that functionality, you can check the page's HTML source code directly, then use a third party converter to obtain the BBCode code boxes are no longer integrated with the MTA wiki URLs FAQ: Q: Are my posts still in place? What about my private messages? A: They are both fine. You can find them in the same place you left them before. Q: Will the old forum URLs still work? A bunch of places on the web link to your forum using old URLs... A: Yes, they will work. We have a on-the-fly converter in place for such URLs, so they will still link to where they should. Q: I have found an issue with the new forum. Can I report it? A: Sure. Send a PM to one of the forum administrators (darkdreamingdan, jhxp or Jusonex) and describe the problem you have found. Make sure you provide all the details or steps to reproduce your issue, where applicable. We would like to thank Audifire and the mta-sa.org team for donating the forum software license to us. And naturally, you can not forget about darkdreamingdan and Jusonex, our team members who had both put a tremendous amount of effort in preparing and performing the forum maintenance and migration. Awesome job, guys. Did you like the change? Please let us know in the comments! See you next time. --MTA Team
    28 points
  4. Hi guys @fastman92 has recently engaged with us in order to get his limit adjuster implemented into MTA. Obviously, there are a number of complexities involved in implementing this, and we need to make some important design decisions to achieve this. So, why do you want to use a Limit Adjuster tool? Some things I'm hoping to learn: Are you trying to play MTA with a modified version of GTASA? Do you want the limit adjuster to play mods like GTA:Underground? Are you trying to use Limit Adjusters with MTA's own Lua engine* functions? (e.g. engineLoadDFF) Anything else? Any feedback would be incredibly beneficial to the team going forward. Cheers Dan
    25 points
  5. Summer is over, but fear not, we have got a new release for you - Multi Theft Auto: San Andreas 1.5.5! This release is focused on bugfixes (most notably, some popular crashes were fixed with help from @Dutchman101 - eg. this one, code cleanups and under-the-hood improvements for developers (migration to a Docker-based environment and support for VS2017 and GCC-6). It may look like it is not much of an update, but the amount of such smaller changes should be a good incentive to update. In other news, we have enabled some additional forum account security features for your convenience - namely a possibility to set a security question(s) for the account and support for Authy and Google Authenticator two-factor authentication. You can enable them in your Account Security settings. Release Highlights updated CEF elements and fixed red/blue color swap issue with Intel VGAs added 'localhost' to the hardcoded CEF whitelist modified launch patcher to work with more exe variants added black outline option for chat text fixed #4166 ("Engine Sounds of other Helicopters and planes missing unless you get in a Helicopter or plane.") fixed #9681 ("Unable to hear proper engine sounds when sitting in car as passenger") fixed #3944 ("Radio titles do not always show.") fixed #8590 ("createEffect with some effects places it's sfx sounds to position 0,0,0") added guiGetCursorType(), isResourceArchived(), getDevelopmentMode(), setDevelopmentMode() (used to be client-only, now it's also server-side), debugSleep(), setVehicleModelExhaustFumesPosition(), getVehicleModelExhaustFumesPosition() improved client connections through firewalls fixed FOV setting not updating censored onClientConsole for login command potentially fixed crouchbug resource pack: various changes in admin, editor, freeroam, headshot, ipb, joinquit, killmessages, play, and realdriveby ... plus more! A complete list of changes can be found here (recommended read) and here (incomplete, from r11302 upwards). List of changes to the resource pack can be found here (starting from and including Apr 22, 2016 upwards). Want to download MTA:SA 1.5.5? Click here to download the build for Win 7+. Looking for a legacy build for XP/Vista? You can download it here. Or you can click here to go to our home page. Once there, click the Download button at the top center of the page, then choose your build and you are set. Linux server packages are also available. This release is backwards compatible with other 1.5-based builds (1.5.4, 1.5.3, 1.5.2, 1.5.1 and 1.5). However if you still use these versions, why not upgrade to the newest one? It works just as good, or even better. Community credits for this release: AboShanab, Arran, CrosRoad95, Dezash, Dutchman101, emre1702, Gothem, lopezloo, Necktrox, qaisjp, Sergeanur, ZReC ^ Have you contributed to MTA:SA 1.5.5's source code/resources pack but were not mentioned in the above list (or maybe you would like to modify your entry above eg. change your nickname or add a link to your Twitter/Github)? PM @jhxp with a link to your contribution (for missing entries only) and you will be added ASAP ^ See y'all. -- MTA Team
    23 points
  6. Hi there. Oh, what is that? The holidays are here again? Yep, it looks like they are, so that means the usual stuff. We are going to give you guys & gals a heads up on what has been happening in MTA's world this whole year. And if you are one of those well informed types who does not need a recap, you still might want to give this post a read, as there will be more than that later on! 2016 in Recap Near the end of January, we released a bugfix release for MTA:SA 1.5.x - Multi Theft Auto: San Andreas 1.5.2. Among a few other things, that version had and improved the server app compatibility for Linux server hosters and fixed some desync issues. In July, we started offering a new way of promotion for server owners who wanted to gain more players quickly. Namely, one of the top positions in the ingame server browser for a week in an exchange for a small fee. We felt it was a good way to not only ensure that our Project's financial needs are balanced, but also to allow some smaller but ambitious servers to try and get the player base they were always seeking for. In August and September, we made significant changes to our forums, including a switch to a new forum software. There were a bunch of issues found afterwards (such as keeping the users login states), but we managed to fix most of them. Following that, we were featured in an article on the Rock Paper Shotgun, which was pondering the popularity of multiplayer mods for GTASA, even long after its original release. You can find the full article on the RPS website. And finally, on 20th of October, Multi Theft Auto: San Andreas 1.5.3 was released. This was a large release that could as well have been labelled as a next major release, but was not as it was still compatible with the 1.5 series. A bunch of interesting MTA:SA-related YouTube videos from this year Current player counts and version fragmentation statistics Type Amount of players Date / Time Recent peak number of concurrent unique players 27111 players 2016.12.23 (at 17.30 GMT) Highest recorded number of concurrent unique players 27111 players 2016.12.23 (at 17.30 GMT) Recent number of daily unique players 124981 players 2016.12.23 (Friday) Highest recorded number of daily unique players 142785 players 2016.09.04 (Sunday) Recent number of monthly unique players 554757 players November, 2016 Highest recorded number of monthly unique players 626167 players August, 2016 Yes, to our surprise, there was a new concurrent unique player count record set literally on the day we were gathering these stats for you. MTA:SA Version or series Percentage of players using that version or series as of 23rd of December, 2016 1.5.3 95.20% 1.5.2 1.5.1 1.5 3.60% 0.09% 0.09% 1.4.x 0.67% 1.3.x 0.28% 1.0.x + 1.1.x + 1.2.x 0.07% It looks like more people decided to use newer versions of the mod than the last year. *** As for the future, we have been working on the next release, which will contain mostly bugfixes and compatibility tweaks. However, we did some work on new features as well, such as Custom Train Tracks, which we hope to be finished soon. We also want to look into improving streaming, raising the limits and making it possible to add new IDs for things, but this will be tricky. Nonetheless, it would be great to see those features working in MTA:SA one day as, for example, they would allow server owners to use bigger and better custom maps with new vehicles working correctly for all players. That's it for now. Happy Holidays and Best Wishes for 2017 from the MTA Team!
    20 points
  7. Thisdp's DirectX Graphical User Interface System ( MTASA 2D+3D DxLIB ) This dxlib provide dx gui functions and events to make it easier to use and alternative to change the style more flexibly. Features: 1. Update Check(DGS will notice you if there is a higher version, and you can choose to ignore it or disable it in the config file) Update Command: "updatedgs" 2. Dx GUI Types: Basic: Window Edit Box Button Grid List Image Scroll Bar Scroll Pane Text Label Tab Panel Detect Area Radio Button Combo Box Check Box Memo 3D Interface 3D Text Browser Switch Button Selector Plugin: Media Browser Color Picker Mask Remote Image QRCode Blur Box Rounded Rectangle Nine Slice Scaling Object Preview Support Canvas Scroll Pane's 3D Effect 3. Edit/Memo rewrite ( You can no longer find the problems in dgs, the problems which exist in cegui) 4. Detect Area is efficient when checking whether your cursor is in a complicated shape. 5. Debug Mode , Command: "debugdgs" 6. You can apply shader to the dxgui ( Compatible with some resources like Objec tPreview ). 7. Include CMD, Command: "dgscmd" ( For more help, please input "help" in the CMD ) 8. Memo/Edit rewritten. 9. Object Oriented Programming Class. 10. Render Target Failure Check ( Warns when there's no enough video memory to create render target ). 11. DGS resembles cegui, you can find the similar feeling when scripting with dgs. 12. 48-hour-response service, your suggestions and bug report will be dealt with in 48 hours ( or less, like 12 hours ? ) 13. Custom Style system 14. Built-in shader plugin 15. More properties 16. Built in multi-language support 17. Simple GUI To DGS (G2D) Notice:Do not close your server or stop the script when it is updating. Wiki: https://wiki.multitheftauto.com/wiki/Dgs ( Still Working In Process ) Auto Completion For N++ (Thanks To Ahmed Ly): http://www.mediafire.com/file/m6dm7815d5dihax/Lua.zip Discord Server: https://discord.gg/QEs8q6W Download DGS : https://github.com/thisdp/dgs Notice: Need acl rights to call fetchRemote/getPlayerIP. If you want to sell your script which involves DGS, please exclude DGS from your price. HurtWorld Backpack Panel(Example) DGS Network Monitor(Built-in)
    18 points
  8. Hi there! Our next release is nearly done. However, to ensure that it meets our high quality standards, we would like to ask you guys to thoroughly test it before we release it. This release brings an important change to our release distribution system. Starting today, there will be two builds available for you to download: normal build - only works on Windows 7 and above legacy build - only works on Windows XP and Windows Vista A normal build is basically what we offered with our previous releases, with an exception that it now requires Windows 7 or above to run. The new thing is an legacy build, which only works on Windows XP and Windows Vista. This build uses the last CEF components version that works on XP/Vista, which is now outdated and insecure. To ensure that we will not leave some of our players in the dark, while keeping the rest of them secure, we decided to split the release into two builds. One which uses older CEF components and works on XP/Vista (legacy build), and the other one which has up-to-date CEF but only works on Windows 7 and above (normal build). We have elaborated more on this in a separate post which you can find here. MTA:SA 1.5.3 has a lot of other smaller bug fixes, tweaks and new features included and is a result of another change to our build system, which simplified the development and building process to us. This has also allowed us to back-port many of the smaller changes originally planned for the 1.6 release to 1.5.3. These changes should be compatible with the 1.5 series, but they still need to be tested to ensure that this is indeed the case. And this is where you guys come in. To help us testing the version, simply download the Release Candidate from links below, install it and play as you normally would. If you play on XP or Vista, download the legacy build, otherwise grab the normal one. This version is meant to be fully compatible with MTA:SA 1.5.2 or below, so just join your favourite server and give it a go. If you encounter a problem or spot a bug, you can report them to our bugtracker. Please use the search feature first to see if your problem was not already reported though... Updated Windows/Linux server packages are also available, and similarly, they are also compatible with 1.5.2 clients, so please test whether your servers work fine on 1.5.3 too. Click here to download MTA:SA 1.5.3 RC Normal Build (for Windows 7 and above) Click here to download MTA:SA 1.5.3 RC Legacy Build (Windows XP and Vista only) MTA:SA 1.5.3 RC Linux Server download page You can find the current list of changes for this version here. A summary of changes and credits list will be provided with the final release announcement post. Thank you for helping us make MTA great again awesome. --MTA Team
    18 points
  9. السلام عليكم ورحمة الله وبركاتة لقد تم إضافة خاصية حماية الحساب قبل فتره بسيطة وتم إنشاء هذا الموضوع لمن لم يلاحظ وجود هذه الخاصية او لمن لايعرف طريقة إستخدامها حتي ! اولأ طريقة تفعيل هذه الحماية عن طريق إتباع الخطوات التالية : Account Settings الذهاب الي ومن ثم كما موضح في الصورة ومن ثم سيطلب منك إدخال الباسورد الحالي لحسابك ومن ثم سيفتح لك هذه النافذه والان اصبح لديك 3 خيارات وسأقوم بشرح كل واحده منهم Authy: تقوم بإرسال كود سري لهاتفك ومن ثم سيطلب المنتدي منك إدخال هذا الكود السري في المنتدي لتتمكن من فتح حسابك Google Authenticator: يجب عليك تحميله علي هاتفك ومن ثم سيعطيك كود سري وسيطلب منك المنتدي هذا الكود السري لتتمكن من فتح حسابك Security Questions: اسئلة الامان ( لاداعي لشرحها لأنها معروفة ) ملاحظة مهمة : عند تفعيل اي واحده منهم سيسألك المنتدي عن الكود السري من وقت لأخر وهذا لا يعني ان هناك شخص قد قام بإختراق حسابك , هذا فقط للتأكد من انك انت صاحب الحساب الاصلي وحتي في حال تم إختراق حسابك من اي عضو اخر لاتقلق لأن حسابك سيكون بأمان ولن يستطيع فعل اي شي الا بعد ان يقوم بإدخال الكود السري الذي يتم إرساله لك تم تثبيت الموضوع لفترة مؤقتة واتمني لكم التوفيق
    16 points
  10. السلام عليكم ورحمة الله وبركاته معليش عالجودة (النت %$#@)ء material designصممته بنمط ال البرمجة كلها بلوا 100% مافي تدخلات بلغات ثانية
    15 points
  11. Sql كيف حالكم ان شاء الله بخير , اليوم راح نشرح لكم سكربت مهم جدا للي مايعرف يستخدم قواعد البيانات او طبعا السكربت من صنع اخوان : عاشق الشرق , جزاه الله خير على السكربت سهل اشياء كثيرة للمبتدئين اولا لتحميل السكربت من هنا https://community.multitheftauto.com/index.php?p=resources&s=details&id=6313 طيب الحين بنشرح فنكشنات السكربت ووش فائدتها اول فنكشن والي هو setPlayerSerialData -- تخزين البيانات على سريال الاعب ارقمنتات الفنكشن , والفنكشن يرجل لنا بول ( صحيح , خاطئ )ء setPlayerSerialData( player thePlayer, string key, value ) -- player thePlayer = الاعب المراد تخزين عليه البيانات -- string key = المفتاح -- value = القيمة المراد تخزينها على الاعب او سريال الاعب الفنكشن الثاني والي هو getPlayerSerialData -- جلب البيانات المحفوظة على الاعب ارقمنتات الفنكشن , طبعا الفنكشن يرجع لنا بسترنق getPlayerSerialData( player thePlayer, string key ) -- player thePlayer = الاعب المرد جلب البيانات منه -- string key = المفتاح الي خزنها عليه البيانات الفنكشن الثالث والي هو removePlayerSerialData -- حذف البيانات من الاعب ارقمنتات الفنكشن , يرجع لنا بول ( صحيح , خاطئ )ء removePlayerSerialData( player thePlayer, string key ) -- player thePlayer = الاعب المراد حذف البيانات منه -- string key = المفتاح الفنكشن الرابع والاخير والي هو getAllPlayerSerialData ارقمنتات الفنكشن , يرجع لنا بتيبل فيه البيانات المخزنه على السريال getAllPlayerSerialData( player thePlayer ) -- player thePlayer = الاعب المراد جلب جميع البيانات منه طبعا ي شباب لو تلاحظون تركيب الفنكشنات شبيه بـ الالمنت داتا والاكونت داتا يعني استخدامه موب بذيك الصعوبة لو تعرف الاكونت داتا والالمنت داتا راح تعرف لهذا السكربت طبعا لاستخدم الفنكشنات تحتاج لاستدعاء او الاكسبورت راح نشوف كم مثال تسهل علينا الحفظ على سريال الاعب وبنفس الوقت ينحفظ بقاعدة بيانات : المثال الاول addEventHandler ( "onResourceStart" , resourceRoot, function ( ) if not( getResourceState ( getResourceFromName ( "sqldata" ) ) == "running" ) then cancelEvent ( true , "Please start Resource ( sqldata ) " ) outputChatBox ( getCancelReason ( ) ) end end ) ; addEventHandler ( "onPlayerQuit" , root , -- اول مايخرج الاعب function ( ) -- وظيفة local Money = getPlayerMoney ( source ) -- جلب مال الاعب if ( Money > 0 ) then exports [ "sqldata" ] : setPlayerSerialData ( source , "SaveMoney" , Money ) -- تخزين مال الاعب عليه end -- انهاء للتحقق end -- انهاء للوظيفة ) -- قوس اغلاق الحدث addEventHandler ( "onPlayerJoin" , root , -- عندما يدخل الاعب function ( ) local MoneyData = exports [ "sqldata" ] : getPlayerSerialData ( source , "SaveMoney" ) -- جلب المال المخزن على الاعب if ( MoneyData ) then -- تحقق من البيانات setPlayerMoney ( source , MoneyData ) -- اعطاء الاعب ماله end -- انهاء للتحقق end -- انهاء للوظيفة ) -- قوس اغلاق الحدث : المثال الثاني addEventHandler ( "onResourceStart" , resourceRoot, function ( ) if not( getResourceState ( getResourceFromName ( "sqldata" ) ) == "running" ) then cancelEvent ( true , "Please start Resource ( sqldata ) " ) outputChatBox ( getCancelReason ( ) ) end end ) ; addCommandHandler ( "saveMySkin" , -- امر function ( player ) -- وظيفة مع تعريف كاتب الامر if ( player ) then -- تحقق من كاتب الامر local Skin = getElementModel ( player ) -- جلب شخصية الاعب exports [ "sqldata" ] : setPlayerSerialData ( player , "SaveSkin" , Skin ) -- حفظ شخصية الاعب عليه end -- ايند التحقق من كاتب الامر end -- ايند انهاء الفنكشن ) ; -- قوس اغلاق الامر addEventHandler ( "onPlayerJoin" , root , -- عندما يدخل الاعب function ( ) -- وظيفة local SkinData = exports [ "sqldata" ] : getPlayerSerialData ( source , "SaveSkin" ) -- جلب الشخصية المخزنه على الاعب if ( SkinData ) then -- تحقق من البيانات setElementModel ( source , SkinData ) -- اعطاء الاعب شخصيته المحفوظة عليه end -- انهاء للتحقق end -- انهاء للوظيفة ) -- قوس اغلاق الحدث addCommandHandler ( "unSaveMySkin" , -- امر function ( player ) -- وظيفة مع تعريف كاتب الامر if ( player ) then -- تحقق من كاتب الامر exports [ "sqldata" ] : removePlayerSerialData ( player , "SaveSkin" ) -- حذف شخصية الاعب من الحفظ end -- ايند التحقق من كاتب الامر end -- ايند انهاء الفنكشن ) ; -- قوس اغلاق الامر طبعا هذه الامثلة ان شاء الله انها مفهومة واي شي حاب تستفسر عنه عندك الردود واخيرا ان اخطأت فهذا مني ومن الشيطان وان اصبت فهذا من الله لاتبخل علينا بالدعاء , وهذا وصل الله وسلم على نبينا محمد في امان الله وفي حفظ الرحمن
    15 points
  12. بسم الله الرحمن الرحيم والصلاة والسلام على سيدنا محمد وعلى آله وصحبه وسلم كما عودناكم دائماً على المواضيع الهادفة والمفيدة فإننا اليوم نطرح امامكم موضوع لفهرسة الوظائف المفيدة التي قام بصنعها كوكبة من المبرمجين المتميزين العرب وتم طرح هذا الموضوع للتسهيل على جميع زوار ومنتسبي القسم العربي ، نظراً لإختلاط الوظائف والردود في الموضوع الاساسي الذي تم إنشاءة من قبل الأخ بوو بسم الله نبدأ : 1 - string.byteArabic | وظيفة تحويل الحروف العربية الى ارقام بايت @Booo : من صنع الأخ •—————————• 2 - CenterTheGUI | وظيفة مفيدة في توسيط النوافذ @Booo : من صنع الأخ •—————————• 3 - Characters Codes | وظيفة تحول الحروف الى خوارزمية @Booo : من صنع الأخ •—————————• 4 - string.charArabic() | وظيفة تحويل الشارتر الى حروف @Booo : من صنع الأخ •—————————• 5 - isPlayerGroupName | وظيفة للتأكد من قروب لاعب بالكلنت @Booo : من صنع الأخ •—————————• 6 - changeGridListItemsToPlayersName | وظيفة تغير قِيَمْ القريد ليست إلى اسماء لاعبين @3NAD : من صنع •—————————• 7 - guiGridListGetSelectedItemText | وظيفة تقوم بجلب اسم العنصر المحدد @PaiN^ : من صنع الأخ •—————————• 8 - setBindKeyWindowShow | وظيفة إظهار وإخفاء النافذة @3NAD : من صنع •—————————• 9 - getPlayerFromSerial | وظيفة تجلب اللاعب من سيرياله @Tete omar : من قبل الأخ •—————————• 10 - convertTabToString | وظيفة تحول الجدول الى سلسله نصية @Booo : من قبل الأخ •—————————• 11 - isPlayerInACLGroup | وظيفة تتحقق لك إذا لاعب معين موجود في قروب اسل محدد @PaiN^ : من قبل الأخ •—————————• 12 - DosePlayerHaveTeam | وظيفة تتحقق لك من اللاعب اذا كان داخل تيم @FaHaD : من قبل الأخ •—————————• 13 - getLoginPlayers | وظيفة ترجع لك جدول باللاعبين الي مسجلين دخول @|Mr|-Talal07-| : من قبل الأخ •—————————• 14 - createTextItem | وظيفة تصنع لك نص كتابي @FaHaD : من قبل الأخ •—————————• 15 - getPlayerVehicleName | وظيفة تستخدم في التحقق من وجود اللاعب داخل السيارة @FaHaD : من قبل الأخ •—————————• 16 - GUISetTextCountDown | وظيفة تقوم بإنشاء بإنشاء عد تنازلي على احد عناصر ال جي يو آي @FaHaD : من قبل الأخ •—————————• 17 - getPlayersByData | وظيفة تقوم بإرجاع جدول به اللاعبين الذين يملكون داتا محدده @Tete omar : من قبل الأخ •—————————• 18 - getPlayersInMarker | وظيفة تجلب عدد اللاعبين داخل ماركر محدد @|Mr|-Talal07-| : من قبل الأخ •—————————• 19 - moveRightToCenter | وظيفة تقوم بتحريك نافذة محدده من اليسار الى الوسط @Booo : من قبل الأخ •—————————• 20 - guiSetLocation | وظيفة تقوم بتحديد مكان عنصر الجي يو اي @3NAD : من قبل •—————————• 21 - getPedWeapons | وظيفة تقوم بجلب اسلحه اللاعب @|Mr|-Talal07-| : من قبل الأخ •—————————• 22 - isSoundFinished | وظيفة تقوم بالتحقق من إنتهاء الصوت @WASSIm. : من قبل الأخ •—————————• 23 - getFewPlayersOnTeam | وظيفة تقوم بإرجاع التيم الذي يملك عدد لاعبين اقل @Booo : من قبل الأخ •—————————• 24 - getPlayerAllGroup | وظيفة تقوم بإرجاع جميع القروبات الي يتواجد بها اللاعب @Booo : من قبل الأخ •—————————• 25 - MoveWindow | عدة وظائف لتحريك النوافذ @Booo : من قبل الأخ •—————————• 26 - dxDrow3DText | وظيفة تقوم بصنع نص ثلاثي الأبعاد @al-Kobra : من قبل الأخ •—————————• 27 - changeGridlistToNameVehicle | وظيفة تقوم بتحويل قِيَم القريد ليست إلى اسامي سيارات ج @Booo : من قبل الأخ •—————————• 28 - getAllPlayersInInterior | وظيفة تقوم بإرجاع جميع اللاعبين المتواجدين في عالم داخلي محدد @</Mr.Tn6eL> : من قبل الأخ •—————————• 29 - convertHistoryToHijri | وظيفة تحول التاريخ من الميلادي للهجري @jafar : من قبل الأخ •—————————• 30 - countPlayersInWater | وظيفة تقوم بجلب عدد اللاعبين الي داخل الماء @Default : من قبل الأخ •—————————• 31 - countPlayersInRange | وظيفة تجلب لك عدد اللاعبين القريبين من مكان محدد @EH10 : من قبل الأخ •—————————• 32 - dxDrowTriangle | وظيفة تقوم برسم مثلث @</Mr.Tn6eL> : من قبل الأخ •—————————• 33 - guiGridListCopySelectedItemText | وظيفة تقوم بنسخ نص عنصر القريد ليست المحدد @MoDeR2014 : من قبل الأخ •—————————• 34 - getColorsByRandom | وظيفة تقوم بالحصول على اللوان عشوائية @EXTRA_) : من قبل الأخ •—————————• 35 - getRandomColor | &nbsp;وظيفة تقوم بإرجاع لون هيكس عشوائي @</Mr.Tn6eL> : من قبل الأخ •—————————• 36 - getMonthAndDayName | وظيفة تقوم بإرجاع اسم اليوم والشهر @ّ ّ ّ ّ ّ RAM : من قبل الأخ •—————————• 37 - FormatTime | وظيفة تقوم بتحويل الوقت او حسابة وترجع جدول مع سترنق @#CroSs : من قبل الأخ •—————————• 38 - doesTextContainColorCode | وظيفة تتحقق من النص اذا كان يحتوي كود اللوان @Marshmello : من قبل الأخ •—————————• 39 - getAdminsByGroup | وظيفة ترجع لك جدول بالادمنز وحالة وجودهم @MoDeR2014 : من قبل الأخ •—————————• 40 - getPlayersInZone | وظيفة تجلب اللاعبين من منطقة محددة @Default : من قبل الأخ •—————————• 41 - set/get/removeSQLData | عدة وظائف تسهل التعامل مع قواعد البيانات @</Mr.Tn6eL> : من قبل الأخ •—————————• 42 - dxDrawImageOnElement | وظيفة رسم صورة فوق عنصر @HasoN : من قبل الأخ •—————————• 43 - dxDrawTextOnElement | وظيفة رسم نص فوق عنصر @HasoN : من قبل الأخ •—————————• 44 - createAnimation | وظيفة تصنع تأثيرات حركية على العناصر @</Mr.Tn6eL> : من قبل الأخ •—————————• 45 - getRealTimeFromNumber | وظيفة إحضار الوقت الحقيقي من الرقم @#J2mes : من قبل الأخ •—————————• 46 - عدة وظائف تختص بالقريد ليست @Marshmello : من قبل الأخ •—————————• 47 - getTime() | وظيفة تقوم بإرجاع الوقت الحقيقي وتحويلة إلى 12 ساعة @</Mr.Tn6eL> : من قبل الأخ •—————————• 48 - table.sect | وظيفة تقوم بتقسيم الجدول @</Mr.Tn6eL> : من قبل الأخ •—————————• 49 - ValidateURL | URL وظيفة تتحقق من صحة روابط ال @</Mr.Tn6eL> : من قبل الأخ •—————————• 50 - dxDrawText2D | وظيفة تقوم برسم نص ثنائي الأبعاد @medo7 : من قبل الأخ •—————————• 51 - getPlayersInGroup | وظيفة تقوم بجلب اللاعبين المتواجدين بقروب معين @Abdul KariM : من قبل الأخ •—————————• 52 - dxFrame , dxButton | وظيفة رسم زر و رسم إطار @mouamle-hassan : من قبل الأخ •—————————• 53 - convertDxPositionToAllScreens | dx وظيفة حساب قياسات ال @./bF.general10 : من قبل الأخ •—————————• 54 - guiAntiFlood | وظيفة تغلق الازرار لمدة محددة @Me[Z]oO : من قبل الأخ •—————————• 55 - givePlayerVehicle | وظيفة تعطي لاعب محدد سيارة محددة @Me[Z]oO : من قبل الأخ •—————————• 56 - getRandomVehicle | وظيفة تجلب سيارة معينة من سيارات السيرفر @Abdul KariM : من قبل الأخ •—————————• 57 - BindAnimation | وظيفة تنشئ تأثير على ازرار اللوحه @iMr.WiFi..! : من قبل الأخ •—————————• 58 - getGuestPlayers | وظيفة تقوم بجلب اللاعبين الغير مسجلين للدخول @Abdul KariM : من قبل الأخ •—————————• 59 - getPlayerTime | وظيفة تجلب لك وقت اللاعب @NssoR : من قبل الأخ •—————————• وإلي هنا وتنتهي الوظائف المفيدة العربية سيتم تحديث الموضوع عندما تضاف وظائف جديدة ملاحظة : تم عمل الموضوع وتنسيقة كاملأ من الجوال ملاحظة : الموضوع محدث حتى تستكمل جميع الوظائف - الموضوع متعوب عليه لذلك نرجوا الرد على الموضوع او ضغط زر اللايك للتحفيز وسلامتكم
    14 points
  13. Hello, We, the eXo-Reallife team, would like to release a module that is also used on our server. It is a pathfinding module developed by Jusonex and StiviK. The module uses the A * algorithm. (https://en.wikipedia.org/wiki/A*_search_algorithm) We use this for our GPS: Why did we develop a module for this and did not simply write a script? This has a very simple reason. The module calculates the routes in your own threads, which has the advantage that it is much faster than a script, and secondly, you can calculate how much routes as you want side by side. This will not cause any lags etc.! What are the features of the module? The module can load several graphs / nodes side by side The module calculates the routes in its own threads Very useful API functions (such as findNodeAt or getNodeNeighbors) What are the main features? int loadPathGraph (String pathToGraphFile) This function loads the graph from the given file and returns a GraphId which you need for all other functions. If something does not work, false is returned. bool findShortestPathBetween (int graphId, float startX, float startY, float startZ, float endX, float endY, float endZ, function callback) This function finds the shortest route between the points. (Unfortunately, no vectors can be handed over!) The callback function is called when the calculation is finished. As an argument, either a table is returned that contains all nodes, or false if no route is found. bool unloadPathGraph (int graphId) You can use this function if you no longer need and want to unload the graph, it returns true if everything is fine, false if an error has occurred. You will find all the other functions that are included in our documentation. Why is the eXo team releasing all this? Well, that has the simple reason, we want to share our work with others and not just keep it for us! We hope we can enrich you with it and vlt. Even help! Where can I download the module? The whole module is open-source and can be viewed in our GitHub organization. It's released under the MIT License. GitHub organization: https://github.com/eXo-MTA Repository: https://github.com/eXo-MTA/ml_pathfind Download the module (Windows / Linux): https://github.com/eXo-MTA/ml_pathfind/releases Nodes of all roads in SA: https://github.com/eXo-MTA/ml_pathfind/blob/master/test/sa_nodes.json If you find any mistakes or suggestions, you can simply create a new issue and we will look into it. So now that's it, have fun with the module! - StiviK and the eXo-Reallife team (Original thread in German: https://www.mta-sa.org/thread/36365-release-mta-sa-pathfinding-module/?postID=407938#post407938)
    14 points
  14. Hello. Another year is coming to an end, so that means that just like the last year, we have got a new recap and status update post for you. For now, lets summarise all the interesting things that happened this year. 2017 in Recap Late April, we have released Multi Theft Auto: San Andreas 1.5.4. The release introduced an important change and extra security features for server owners, as well as some bugfixes. Around the same time, we have announced a public launch of our Discord server in order to improve communication with our player base. Since then, over 2350 users have visited it and chatted with us. We have also opened regional sections in it to cater to our international users. Then, in October, we have released Multi Theft Auto: San Andreas 1.5.5. Under the hood changes were the highlight of this release, however there was quite a lot of them. Near the release of 1.5.5, we have enabled some 2-factor authentication options for our forums. You can find them in your Forum Account's Settings page. More recently, we have been featured in Polish leading gaming network's (GRYOnline.pl) video about multiplayer mods for GTA series (the video is only in Polish unfortunately, subtitles are not available). Quite a lot of footage was dedicated to history and present of MTA and the mod was cited as one of the major possible inspirations for Rockstar's GTA:Online mode in GTA V. A bunch of interesting MTA:SA-related YouTube videos from this year MTA:SA The Fate Of The Furious - Havana Race (Recreation) [MTA:SA] Character Customization & 3D GUI MTA:SA-SAAF Dogfight Gameplay #2 by [TC]Joseph [UWS] United We Stand 15-13 [CLAY] Clay Team | MTA:SA ClanWar | With Rematch [MTA SA]: Graffiti System MTA - PUBG | BATTLEGROUNDS PRIMEIRA PARTIDA DO CANAL Current player counts and version fragmentation statistics Type Amount of players Date / Time Recent peak number of concurrent unique players 32068 players 2017.11.04 (at 17.30 GMT) Highest recorded number of concurrent unique players 32068 players 2017.11.04 (at 17.30 GMT) Recent number of daily unique players 156247 players 2017.12.26 (Tuesday) Highest recorded number of daily unique players 173585 players 2017.12.23 (Saturday) Recent number of monthly unique players 654399 players November, 2017 Highest recorded number of monthly unique players 668997 players January, 2017 Just like last year, there were new records for unique daily player count fairly recently. MTA:SA Version or series Percentage of players using that version or series as of 26th of December, 2017 1.5.5 97.60% 1.5.4 1.30% 1.5.3 0.30% 1.5.2 0.30% 1.4.x 0.33% 1.3.x 0.17% Very good. Two most recent releases from this year are used by nearly 99% of our player base. The newer the version, the better and more secure it is. *** Work continues on the next release. We have added some new scripting functions such as ones requested in #9562 (contributed by emre1702), as well as did some tweaks to already existing ones. Also did a fix for a memory leaks in the audio part of the Client and a bunch of other changes too. Think that's all for now. Best Wishes for 2018 from the MTA Team!
    14 points
  15. NeXuS™ presents dxLib Introduction You want to work with dx functions, but you don't understand them? This is a script for you. You can create panels created by dx functions just like with GUI functions. Status IN DEVELOPMENT Sorry guys, its not finished yet, so I'm not publishing it. This is just a show off, that you'll get this in weeks. Whats done already Screenshots Syntax
    14 points
  16. كيف حالكم ان شاء الله بخير وطلع فيه اخطاء والى اخره Guieditor Online قبل فترة نزل موضوع عن قبل 3 او 4 ايام تقريبا قررت اسوي واحد ببرنامج الفجوال بيسك ويكون دقيق نوعا ما من ناحية الاحداثيات او الى اخره والنتيجة طلعت كالأتي طبعا اللوحة هذي تختار فيها مقاسات شاشتك باللعبة بحيث راح تفتح لوحة ثانية تصمم فيها وتفتح لك قائمة يوم تضغط كلك يمين ( زي السكربت نفسه ) تختار منها الي تبي تسويه نافذة , زر , الخ (Window) طبعا الي بالرصاصي الي الحين بتشوفونه راح تكون النافذة النتيجة بتكون output وبعد ماتضغط كلك يمين وتظهر لك القائمة وتضغط طبعا الي مسويه حاليا فقط النوافذ والزر والباقي بيكون سهل بأذن الله فـ ابي رأيكم اكمل ولا اكنسل ع الفكرة مع السبب واذا كملت ان شاء الله راح اخليه يدعم الدي اكس ويكون شبيه لحق اللعبة بالضبط اعطونا ارائكم واقتراحاتكم تحت وبالتوفيق للجميع
    14 points
  17. السلام عليكم ورحمة الله وبركاته اليوم حبيت أعرض لكم أخر مشاريعي بديتها قبل كم يوم والحمدلله اليوم شبه خلصت ، باقي كم شيء بسيط عالعموم نشوف مقطع فيديو إلى الآن مادري إذا أبيعها ولا أنشرها لكم ، عالعموم عطوني أرائكم وإقتراحاتكم عليها
    14 points
  18. Debugging Do you know what debugging is? You might think you do, but unfortunately (in my opinion) only ~15% of the scripters in the community do know the full definition of it. Many people think that debugging code is the same as looking in to the Debug Console and waiting for warning + errors to show up. That's indeed debugging and yet it never provide all information you need to build your scripts. It only can say what goes wrong at a certain line. With other words, the Debug Console by default will only show a limited amount of mistakes you have made in your code. So what is next? You fixed all warnings and errors and yet it doesn't work. You start with making your code visible! I guess 70% would think: Making code visible? Ehhh how??? Let me write it down a little bit different: By using Debug Information making the behaviour of the code visible. I guess 50% would think: Eh what? behaviour of code????? Let me give you an example. Example: (1) outputDebugString("the script has started") -- < this is a debug line if true then outputDebugString("code works here") -- < this is a debug line else outputDebugString("code shouldn't be working here") -- < this is a debug line end Debug console "the script has started" "code works here" The debug console is NOT information for players, it is information for YOU developers! BTW this is a debug line outputDebugString("test") -- < this is a debug line In this case it is just a piece of code that shows information in the debug console. Example: (2) local playerName1 = "snake1" local playerName2 = "cow" if playerName1 == playerName2 then outputDebugString("players playerName1 and playerName2 do share the same name. Name: " .. tostring(playerName1)) -- < this is a debug line else outputDebugString("players playerName1 and playerName2 do NOT share the same name. playerName1: " .. tostring(playerName1) .. ", playerName2: " .. tostring(playerName2)) -- < this is a debug line end Debug console "players playerName1 and playerName2 do NOT share the same name. playerName1: snake1, playerName2: cow" Easy isn't? The concept behind this debug method is to see what the code does / doesn't execute. Is this method handy? It is actually the very basic of debugging, for code that doesn't contain any errors/warnings. I would say it is handy and it is a very powerful method too. It is also handy for people who do not know how to script. If you want people to help you with your code, but you do not know what is wrong with it. You can add those debug lines and point out to where the code stops working. This will make it more efficient for you and the scripter to work out the problem, because the scripter knows where to look. How much debug lines do you have to add to your script? 1? 10? 100? 1000? You could start with around 100 debug lines and as you learn how to script, you can reduce it to 10+ debug lines. Too much debug lines are not always good, because they will give you too much information and it will cost time to manually filter them. So I recommend you to remove some of them afterwards. When you are finished with the tested code, you can remove 90+% of them. Feel free to disable them instead of removing them, if you know that you are going to need them again. For complex code, I use around 25 debug lines, SO DON'T HOLD BACK! Render events It is strongly recommended to remove debug lines that are executed on onClientRender/render events when you are finished with your code. Because that can have influence on the smooth fps.(It will not drop much of the fps, but it can make it feel unsmooth) Clearing the debug console? /cleardebug Know your tools: outputDebugString -- Show a message on the Debug Console bool outputDebugString ( string text, [ int level=3, int red=255, int green=255, int blue=255 ] ) --- outputConsole -- Show a message on the F8 panel. bool outputConsole ( string text ) -- client bool outputConsole ( string text, [ element visibleTo=getRootElement() ] ) -- server --- inspect -- Convert one mixed value to a string. string inspect ( mixed var ) --- print -- Show a message on the terminal / serverwindow / Debug Console. bool print ( string var1[, string var2, string var3...] ) --- tostring() -- Convert a value in to a string. (but for objects/elements, inspect works better) --- iprint -- Show a message on the terminal / serverwindow / Debug Console (convert multiple mixed values automatic to string, no need for tostring or inspect) bool iprint ( mixed var1[, mixed var2, mixed var3...] ) --- outputChatBox -- You can also debug with outputChatBox (even though it is less efficient) bool outputChatBox ( string text [, int r=231, int g=217, int b=176, bool colorCoded=false ] ) -- client bool outputChatBox ( string text [, element visibleTo=getRootElement(), int r=231, int g=217, int b=176, bool colorCoded=false ] ) -- server Debug message levels 0: Custom message 1: Error message 2: Warning message 3: Information message (default) Addition by @Hale https://wiki.multitheftauto.com/wiki/OutputDebugString Advanced tools: local line = debug.getinfo(1).currentline -- get the line of the script where the code has been executed. 1 = current function. (can be useful if you want to get the line where this function has been called from) https://www.lua.org/pil/23.1.html WIKI MTA: WIKI MTA debugging tutorial/information. https://wiki.multitheftauto.com/wiki/Debugging
    13 points
  19. السلام عليكم ورحمة الله وبركاته أقدم لكم اليوم أخر مشاريعي وأفضلها بالنسبة لي وأصعبها, حيث استغرق مني هذا العمل الضخم 20 يوم و 1600 سطر وهو عبارة عن لوحة أدمنية خارجية تمكنك من التحكم بالسيرفر بدون تشغيل اللعبة والدخول للسيرفر, وبالنسبة لي سيكون مفيد جداً وأسرع C# - LUA : لغات البرمجة : مقطع توضيحي للبرنامج : ملاحظات أولاً : لا تغير اسم السكربت ولا ما راح يشتغل البرنامج ثانياً : السكربت يحتاج صلاحيات ادمن ثالثاً : للتعديل على القروبات أو الصلاحيات راجع ملف الميتا التحميل : اضغط هنا للتبليغ عن الأخطاء أو الاقتراحات أو المشاكل تفضل بالأسفل أو الرسائل الخاصة مع تحياتي لكم
    13 points
  20. Section Rules 1. Any fulfilled requests or discarded offers shall be reported via the report system in order to be locked and/or archived. This is mandatory, as the goal is to keep this section as clean and accurate as possible. 2.Topics must have a sufficient description of what are you offering or looking for. Eg. if you're looking for a scripter for your gamemode, you must detail what would you need the scripter for. This doesn't exactly involve giving away the whole concepts or whatever you don't want to disclose to the public, but it would be appreciated if you could include more details than just straight single line offers, such as "I need a scripter for a zombie gamemode". Whether or not the amount of detail is sufficient for the nature of your request is a subject to moderator judgement, and failing to meet criteria may result in your post being discarded. Formatting your topic In order to keep the section clean, accurate and easily viewable, it would be appreciated if you could use the following guidelines for your topic: 1. Topic titles should have the form [LF/OFFERING] Brief description [Paid/Non-Paid]. Please make the description as brief as possible here. Eg: [OFFERING] Skilled scripter [Paid] [OFFERING] Rookie modeller looking for some practice [Non-paid] [LF] Any-level scripter for a small server [Non-Paid] 2. The first post should be written in at least 2 parts: first part should contain a brief description of yourself (and/or the server or community you are from) second part should elaborate on what are you requesting/offering, once again, as detailed as you possibly can/want
    13 points
  21. السلام عليكم ابغى اقتراحاتكم ونصائحكم للسكربت الي برمجته فيديو يوضح المود :
    13 points
  22. Presented By (Previously J Series) With more than 3 years of work I decided to publicly release my map conversions, I had dropped my previous listings due to some "Issues" however, they're back. ---------------------------------------------------------------------------------------------- Download Streaming Quality - 8/10 Get's the job done, awesome all around, but some places are better than others ---------------------------------------------------------------------------------------------- Download Streaming Quality 7/10 Beats VC in other places, very poor in others; as well as a huge FPS drop in the first island (Issues are rockstars fault) ---------------------------------------------------------------------------------------------- Download Streaming Quality 9/10 Beats both VC and LC ---------------------------------------------------------------------------------------------- Vehicle testing gridmap Download Streaming Quality 10/10 Perfecto ---------------------------------------------------------------------------------------------- Download Streaming Quality 7/10 Decent all around Might be a tad laggy due to the high poly and Russian nature of this map Extremely detailed for a user created map ------------------------------------------------- Download (Coming soon) streaming quality 10/10 Very light weight ------------------------------------------------- MTA-Stream MTA-Stream a new lightweight streamer promising near instant load times and better streaming Post any bugs here Or here Questions or discussions can be either posted in this topic or here --- If you would like to support my work, please donate encourages me to make good updates. https://www.paypal.me/BlueJayL
    12 points
  23. AVH - Advanced Vehicle Handling, is a new car physics that replaces standart RenderWare physics in GTA SA. Video demonstrating general features: Development history:
    12 points
  24. مرحبا لقد قمت بإطلاق الاصدار الجديد من لوحة الادمنية العربية بعد ان لاحظت ان معظم الاعضاء يقومون بإستخدام لوحات الادمنية العربية القديمة التي مر عليها الدهر من دون اي تحديثات او حماية وكما انها غير مؤمنه كـ اي لوحة ادمنية حديثة الإنشاء,( وبالمناسبة انني هولندي ولا اتحدث اللغة العربية ) وكما انني بذلت الكثير من جهدي حتي اقوم بنقل الترجمة العربية من اللوحات العربية القديمة الي هذه اللوحة حديثة الصنع وكل ما اريده هو ان اقوم بإفادة اصحاب السيرفرات الذين يستخدمون لوحة الادمنية العربية القديمة وكما انه يمكنك ان تري اخر تحديثات لوحة الادمنية من خلال : https://github.com/multitheftauto/mtasa-resources/commits/master/[admin]/admin وإذا كان لديك صاحب سيرفر يستخدم لوحة الادمنية العربية القديمة رجاء اخبره بهذا الموضوع لكي يقوم بتحميل النسخة الحديثة من اللوحة العربية لتحميل اللوحة العربية DOWNLOAD:https://community.multitheftauto.com/?p=resources&s=details&id=14837 واذا كان هناك خطأ في ترجمة اللوحة رجاء اخبرني " لقد تمت ترجمة الموضوع من قبل نصور " ENG: I'm here releasing a new Arabic-translated admin panel from today's version (september 2017) after I noticed all community circulating AR panels were outdated as hell. As they pose serious security risks, eventhough I'm not Arabic, I felt it of such importance that I've spent a long time transferring translations from older circulating panels to this most up-to-date Admin panel. I'm helping a huge amount of server owners with this, because most will just use a Community version that is outdated because of the great time to invest in translating yourself. Ofcourse, you'll also benefit from new features and updates made to Admin recently, (look here: https://github.com/multitheftauto/mtasa-resources/commits/master/[admin]) both for this reason and security I advise you inform all server owners you know about this release and suggest they update if they're using Arab panels. If you spot any translation issues, please leave a reply. Main view example; (updated 24/09/2018)
    12 points
  25. Hello everyone Today I was thinking of a pro idea in the "meta.xml" file. <file src = "images/*" /> The "*" represents all archives. (Loop) When I do this, everything in the resource, in the folder "images" will be imported automatically, avoiding to write each file.
    12 points
  26. كيف حالكم ان شاء الله بخير , اليوم رجعنا بـ نظام بسيط ويسهل عليك الامور طبعا النظام واضح من العنوان انك تعطي احد لايك او تجيب لايكاته وتقدر تستخدمه في اشياء كثيرة مثل مسابقات والى اخره طبعا النظام مانب مستعمل فيه الداتا ولا التيبلات فقط السكل الفنكشنات قبل التحديث الفنكشنات بعد التحديث الاحداث الخاصة بالنظام بعد التحديث بعض الامثلة من خارج السكربت على الفنكشنات والحدث تم اضافة ميزة الايكات في السكور بورد وهي اختياريه طبعا السكربت مشفر لحفظ الحقوق فقط وانا ماودي اشفر سكربتاتي لكن فيه اطفال تجبرني على اني اشفر : الاهدائات Just , Mr.Saad , خلف , خالد العمري , كور , برستيج , مجمتع العرب روابط تحميل الاصدارات وهذا الي كان عندي اليوم في امان الله وحفظ الرحمن
    12 points
  27. I just made a character customization system in MTA with 3D GUI.
    11 points
  28. أولاً دخلت المنتدى, سألت كيف أسوي مهمة, وهذي المهمة بالتحديد كانت لسي اي تي, ردوا علي بردود غريبة أول مرة اشوفها (فنكشنات وما إلى ذلك) .. بديت ابحث عن فايدتها .. حاولت أسويها .. تبندت من سي اي تي بسبب استغلال بق فلوس .. فشلت الفكرة (يمديك تشوف أول مشاركة لي بالمنتدى) .. بعدها حاولت اسوي سكربت فضاء بنفسي وطلبت فيه مساعدات كثيرة فيه في المنتدى وخارج المنتدى .. حاولت أصلح أخطاء الدي بق .. وبعد عناء طويل السكربت نجح وكان تقريباً اول سكربت لي بس ما عطيته لأحد .. حاولت أروح سيرفرات عرب واقولهم اني ابرمج وكذا .. حاولت اسوي سكربت شات لسيرفر بس ما نجح (وطلبت فيه مساعدات أكثر بعد) .. لكن سرعان ما صاحب السيرفر قلبها معي فقررت أروح طارة (كان من أشهر السيرفرات العربية في وقتها من 2012) عناد الله يعطيه العافية رحب فيني .. وبديت احاول اسوي سكربتات معه ويساعدني واساعده .. وخلال هالفترة تعلمت كثير .. كنت نوب كبير بالأنجليزي لكن مع مرور الوقت أتقنته في قناة الام تي اي للشات لأن تقريباً كل الي فيها أجانب .. صرت اترجم كلمة كلمة ما أعرفها .. ومع الوقت والحمد لله صرت اتكلم بدون مشاكل .. مع إني إلى الحين ماني 100% فيه بعد كل هالسنوات .. ما علينا من هالقصة.. على العموم نرجع لموضوعنا الأساسي .. بعد دخولي طارة بكم شهر حولت على قراند العرب .. تعلمت الكثير في هالفترة من البرمجة .. بعدها صارت مشاكل معهم فخرجت وقررت أسوي سيرفر لحالي .. اخوي جمع لاعبين .. سوينا مجتمع منغلق صغير .. لكن للأسف مع أني بذلت أقصى مجهود ممكن في تطوير السيرفر .. انتهى بالفشل .. حاولت اسوي سيرفر ثاني (((كل هذا لحالي))) ومع ذلك فشل بعد مو لأن المودات كانت خايسة .. لكن لأنه ما كان فيني الطاقة أسوي اكثر من كذا .. وينتهي بي المطاف إلى هذا الحال .. مشرف عام على موقع الأم تي اي وفاقد الاهتمام بالبرمجة. مع ان كل الي كتبته كثير لكن هذي كانت قصتي باختصار شديد جداً شكراً
    11 points
  29. Hi! Following the community discussion in our forums, we have created an official Discord server quite a while ago, as an alternative (and maybe a full replacement in the future) to our current IRC channels. We kept it in under the radar while we were fine tuning things, but we believe we can now present it to you guys. All MTA players and fans are welcome to join our Discord server (though please behave while you are in there ). You can join it by using this link: https://discord.gg/mtasa What is Discord? Discord is a hybrid of IRC, an Instant Messenger and a Voice Chat software. It incorporates the most important features of these elements into a handy and multiplatform app which you can run on your desktops, smartphones or tablets. Why is it cool? Compared to IRC, it offers a built-in chat history buffer, so even if you are offline, you can still catch up with what happened in the channels then. IRC also offers that, but only through an IRC Bouncer that you either need to pay for, or have someone host it for you. It also has a modern look and features such as URL embedding (regular websites, but also pictures and videos), handy syntax colouring for pasted code snippets, emojis (also custom ones), chat messages reactions, Steam integration and more. What can I find while I am there? We currently have some channels created, including: #general - for general MTA and offtopic chats #scripting - for Lua scripting-related queries #support - for any problems related to MTA:SA client or server #announcements - for all important messages from us as well as some others. We are still thinking of how to put our Discord server into its full potential, so we may add more channels soon. Can I have Discord app installed and/or running on several of my devices concurrently? Can I use more than one server? Sure, absolutely. It will sync the messages automatically. And yes, you can add more servers than just our one. How do I join it? Hey, we have mentioned that already. Just click the link below and follow the instructions: https://discord.gg/mtasa I have a suggestion about the Discord... Okay, let us know. As usual, we are open for suggestions. Just post in this topic or hit us up directly on Discord. Hope to see you there! -- MTA Team
    10 points
  30. السلام عليكم ورحمة الله وبـركـاته بـعد التـحيـة ,, أعرض لكم قائـمة المجسمات والـأبراج لبعض الدول العربية . ابغـا أخد رأيـكم فيـهـا نبدا علا بـركـة اللـه الـسعـودية -1 دوار المياه برج الرياض برج التلفزيون برج البيت قريـبا برج Al faisaliah الكويـت برج ال Wassil وبااقي اشياء اخررئ .... لـيـبيـا برج الـفاتح فـنـدق كورنـتـيا منـارة بـنغازي قلـعة السريا الحمراء الساعة العثمانية لبـدة الاثرية مصر نحتـاج اقتراحات اخرئ .. دبـي نحتـاج اقتراحات اخرئ .. علـم ،وضع رفـرفة خفيفة لأي صورة تضعـها ----------------- سيتم تعديل المكتبة في القريب العاجل وإضـافة دول اخرئ مع إضـافة روابط التـحميل ,,
    10 points
  31. Hello there! You found Dystopia: The Incident, an original sandbox post-apocalyptic RPG. Keep reading below and you’ll find out more... Test server: mtasa://46.105.109.59:22008 Discord: https://discord.gg/Zs5bWSX Current version: alpha 0.75, check out details here DOWNLOAD (0.75 alpha) Key concepts Food and water are scarce and you need to be on the move to stay alive. Inventory size is limited, forcing you to prioritize. Vehicles require constant maintenance. Faction camps, bases, shanty towns and other encounter zones all over San Andreas. Exploration is rewarded. World is densely populated with NPCs and who you choose to kill matters. Environment is harsh and punishes the weak and the dumb. Moral decisions to be made. End goal. Roleplay friendly. Designed to be also enjoyable as a single-player experience. Setting 2000: A series of catastrophic earthquakes smashed the cities and countryside of San Andreas. In the aftermath, the whole state found itself separated from mainland. Fear and selfishness roamed free, pushing society into chaos. In the heart of San Fierro, one of the largest cities of San Andreas, government-sponsored Zombotech Corporation was researching biological weapons in its underground facility. The labs were heavily damaged by the cataclysm and a deadly infectious agent escaped in the streets. While emergency services struggled to contain the disaster and minimize collateral damage, death was spreading unnoticed. 2001: The Establishment evacuated survivors of the outbreak in the barricaded city of Las Venturas but infection spread inside the fence. They nuked the city and placed San Andreas under strict military quarantine. Nobody gets in, nobody gets out. They dubbed the disaster ‘The Incident’ to minimize its amplitude, media soon went silent and survivors were forgotten. 2007: 6 years passed and things have not become better. Regular people picked things up from where the government left them and started to organize. This is a tough new world, populated with the full spectrum of humanity: resilient survivors, vicious bandits, cannibalistic raiders, oppressive military forces and the rest of the loons. No line between good and bad was ever so ill-defined. San Andreas is ruled with an iron hand by Governor Skinner, who took office only six days after the Incident. His armed forces fight to control the territory, herding men into the new Refugee Camp. Resources are scarce and many dropped the last remnants of morality when they faced starvation. Violent clans and factions fight over the remains, establishing turfs or just trying to stay alive. Militias fight for supremacy, idealists work to maintain civilization and everybody else just struggles to survive another day in an increasingly suffocating world. As it became evident that the government has no rescue plan for them, despair started to crumble the minds of the few sane left. All attempts to flee San Andreas are met with airstrikes. But there must be ways to escape this place... What you can experience right now Explore a detailed post-apocalyptic map with many encounter zones. Plenty of NPCs, both friendlies and baddies. Dynamic faction and spawn system. More than 40 missions already in the game. Detailed inventory with more than 100 items to be found and used. Basic needs, stamina, infection, various other modifiers like pain, bleeding, exhaustion or inebriation. Innovative looting mechanic. Four zombie types, with different behavior. Scavenge the world for materials to build settlements or to use simple crafting and cooking. Upgrade and drive rugged vehicles across the wasteland and engage in vehicular combat. Trade, recruit and discover parts of the story by chatting with NPCs. Experience dark humor and some strong themes (16+). Simple interface, consistent graphic style. What still needs to be done The current gamemode version is alpha 0.75. Required for beta: skills and abilities implementation, npc traffic, karma system and map completion (now >90%). Once the project hits beta and the core is completed we’ll start focusing exclusively on the missions and story. Seeking friends for the end of the world Want to jump onboard and take part in the development? Great, join our Discord server using the link on top (the recommended approach) or PM me here. We're always looking for like-minded developers. Wanted: scripters, mappers, storytellers, 3D artists and testers. However, keep in mind that we're not looking to monetize this project in any way. We’ve used the work of many MTA community members and the gamemode will be shared alike with the community when completed. You will gain full credit for your work but no other type of compensation. Share your thoughts We do love suggestions and implement all good fitting ones, so don’t be shy and tell us what you think about this project, using the channels highlighted above. The answer is guaranteed and we'll also give full credit for any original ideas. Media 100+ development screenshots here (I suppose this is what you were looking for from the beginning, instead of reading a wall of text) Thanks for reading! Watch this space for fresh information and media.
    10 points
  32. السلام عليكم ورحمة الله وبركاته بتصميم وخاصيات جديدة IPB إلى phpBB اليوم تم تجديد المنتدى ونقله من ...نسعى لتقديم الأفضل دائماً !شاركونا بآرائكم حول التجديد ملاحظة: لم يتم اكتمال تجديد المنتدى كلياً حتى الآن فإذا تواجهكم بعض المشاكل, فسوف يتم حلها في أقرب وقت بإذن الله يا عيال نبي مشرفين جدد بعد
    10 points
  33. بسم الله الرحمن الرحيم السلام عليكم ورحمة الله وبركاتة يسرنا اعلامكم بانة تم افتتاح منتدى ومجتمع ام تي اي العرب المنتدى يهدف الى دعم البرنامج ام تي اي واللعبه جراند سان اندرياس المنتدى رسمي ومرخص من الشركة يعني كل شيء رسمي 100 % المنتدى يدار من قبل اعضاء لخدمة الزوار والاعضاء المنتدى باذن الله سيستمر يوجد اكثر من اداري في المنتدى طلبات الاشراف متاحة حالياً بشروط معينة موجودة في قسم خدمة الاعضاء او سيتم اضافتها قريباً اذا لم تجدها نتمنى من الجميع التسجيل والانضمام الينا للدخول الى المنتدى : http://www.mtaarabs.com/ or http://www.mtaarabs.com/vb للتسجيل : http://mtaarabs.com/vb/register.php نرحب بالجميع ونتمنى من الجميع التفاعل شاكرين لكم حسن التعاون مع أطيب التحيات iPrestege شكراً لكم
    10 points
  34. السلام عليكم ورحمه الله وبركاتة كيف الحال أهل الخير , في هذا اليوم يشرفني اني ادعوكم جميعاً لحفل إفتتاح سيرفر شيوخ العرب - هوامير وهذي بطاقة الدعوة مع العلم انه سيتم إقامة فعاليات ومسابقات ، وتوزيع فلوس , ورتب وشكراً لكم
    10 points
  35. Hello! I started working on a vehicle realism system project, and I would like to introduce it to you. What does the system (will) contain? Currently has: - Custom sounds for vehicles - Custom damage "handling" (scroll down a little bit to see what I mean by that) - Players can't push the vehicles with "bare hands", by just running into them, vehicles will stay in one place, but you can push a car with another car or other vehicle I just started working on this, it is in alpha state, so right now it has a lot of bugs, but not so much that I can't make a video about it, so video coming soon (I already recorded it, I just have to edit, render and upload it)! Will feature: - Panels on vehicles (mostly cars) won't break if you collide with something if you are not going so fast, kind of a bug fix, since GTA SA handles these door and etc. breakings really bad, but if you go with high speed the damage will be applied - Probably a little bit complex (at least more complex than current ones) fuel and some other engine systems - Interaction with vehicles, like opening doors from outside, etc. - More realistic handlings - Realistic ramming system, for example if you hit an other player at high speed, your car won't fly up in the air, making the other player just fall down in front of the vehicle and losing a little bit of health - another example: if you collide with a breakable fence, bollard, lamp or something at high speed, it will break more easily, depending on the object you collided with - Engine failure system - breakdowns - Some basic stuff for cars, like travel meter, indicators and etc. - Custom events and functions, like onVehicleRepair, etc. - Custom siren sounds and sirens, flashers for emergency and other vehicles with sirens - Vehicles will get dirty depending on the surface you drive it on, for example, gets dirty on: mud, grass, sand etc. surfaces, and nothing will happen if you drive on surfaces like: concrete, road, etc. Therefore you will have to get your car to a carwash. That's it for now, I can't remember anything else I wanted to do, if something comes into my mind I will just put it in the "Will feature" section. So what do I mean by custom damage handling? You will see it in the video, but for a short explanation: Right now every vehicle's health will only go down to 650 HP, not below, from there, if you collide with something and the vehicle lost more HP than 75 HP, your vehicle will start releasing smoke from the rear tyres. From now on, your vehicle has an element data, which means that your vehicle is overheating and damaged, that's why there is smoke coming out from it, but not in the regular way. You can damage your vehicle however you want, it won't blow up until it loses 150 or more HP. If your vehicle loses 150 (or more) HP, it will be set on fire at the same spot, next to the rear tyres, just like in GTA IV, however, you can still drive it. From this moment, you have 10 seconds to leave your vehicle and run away, after 10 seconds it will blow up. Of course, you will be able to fix and remove the smoke leaking from the vehicle, but you won't be able to "cancel" the blowing up process by fixing the vehicle. So this is what I mean by "custom damage handling", it is a little bit harder to blow up a vehicle, it's like it has more health, since you can damage it with hands and weapons that doesn't remove more HP than 150 at once. As I already wrote, video will be coming soon! P.S.: Sorry for the (grammar) mistakes in sentences, if I made any, I'm not perfect at English. v0.1 - Custom sounds for vehicles - Custom damage "handling" (scroll down a little bit to see what I mean by that) - Players can't push the vehicles with "bare hands", by just running into them, vehicles will stay in one place, but you can push a car with another car or other vehicle Video:
    9 points
  36. Download: https://community.multitheftauto.com/?p=resources&s=details&id=15260 The best vehicle reflection shader around, unique: takes no FPS toll. It looks close to real ENB and it has rewritten effects which uses techniques to avoid performance toll like all circulating shaders suffer from; f.e, it creates reflection based purely on GTA default surface materials. @Ren_712, the most recognized FX/shader developer around MTA, assisted with rewriting the effect not long ago, but has never released it. Until now, it was a resource private to me based on a custom order I gave to Ren_712. It took weeks of development to get it to it's current appearance and a few months to perfect it, as it's tricky to try recreate ENB with MTA FX and make the reflection appear more qualitative than existing ones, while also scrapping any performance toll. I may be claiming it's ''the best'' around, but it's for you to judge: https://imgur.com/a/U8MLN. I am convinced that it is due to several factors: it looks deeper/has a qualitative reflection (almost) simulating ENB, eliminating GPU performance toll while doing that (the appearance) even better than preceding released shaders (which did take a toll), making it the ultimate combination. Open spoiler for sample images of reflection effect: Some will like the ENB resemblance, and others will find the reflection too shiny or deep. You can modify that easily and adapt it to your wishes using the variables in client_carshader.lua. The intensity, brightness, deepness and visibility of the reflection can be tweaked in there, so you can make a ''custom'' version just like ENB's get edited and released as custom ENB. You can make it look differently (more than just less prominent effect) while retaining the optimized techniques it uses against lag. It's possible to simulate the lightest possible shader that doesn't look ''extremely reflective''.
    9 points
  37. السلام عليكم ورحمة الله تعالى وبركاته, كيف الحال؟ إن شاء الله بخير اليوم معنا الفيديو الخاص بالسيرفر فخامة :- الاهدائات@Ahmed_Negm@Master_MTA@iiKhaled@!#NssoR_)@#ibrahim@*[email protected]@[email protected]@#StrOnG_,)@Abu-Solo@#Soking@The Killer@#[K]aTakuRI-,?@Sha67@Ahmed Ly@TAPL @MrKAREEM فأمان الله
    9 points
  38. Hi everyone. I want to share some of my resources. For almost 8 years I have been working on various projects in the MTA and over the years there has been an archive of resources and scripts. Maybe for someone it will be useful and interesting. Consists: •Terrain editor(in two editions). In-game terrain editing system. Video •Dynamic grass. Video •Light baking and rendering system(with DFF or distributed) Video •Models loader(DFF/TXD/COL) that can download and stream-in only those that are within a certain radius from the player •Two version of the TEDERIs Construction Tools(with FlowGraph or Wire) Video •Particle system(natively DFF or through dxDraw* fns) Video •Blank for RP gamemode and more •And more All this can be found on GitHub Notice! Many resources have been created for a long time and likely they require some adaptation for the new version of the MTA.
    9 points
  39. FEATURES Compatible with all gamemodes. A monitor that allows the user to view the drone's camera. First person / Third person drone monitor. /drone - starts drone /droned - stops drone MEDIA https://community.multitheftauto.com/index.php?p=resources&s=details&id=13056
    9 points
  40. السلام عليكم ورحمة الله وبركاته كيف الحال شباب باذن الله اليوم بشرحلكم كيف تستخمون executeSQLQuery بطريقه مفصله بس اهم شي دعواتكم لي في الاختبار +_+ حق القدرات والله المستعان بس بسم الله نبدا طيب اولا executeSQLQuery هي وظيفه ثابته ما تتغير لكن فقط ما بين الاقواس هو اللي يتغير يعني انا شرحي ما اعرف اوصل المعلومه صح لكن حاولو تفهمو مني على قدر استطاعتكم +_+ نبدا باول وظيفه وهي انشاء قاعدة بيانات او بمعنى اصح تيبل executeSQLQuery("CREATE TABLE IF NOT EXISTS players (clothes_head_texture TEXT, clothes_head_model TEXT, name TEXT)") طيب الان ناخذ ما بين الاقواس وحده وحده في حالة انشائك لاي تيبل بتكون هذي ثابته ما فيها اي تغيير ما تعدل عليها ابد CREATE TABLE IF NOT EXISTS الان نجيي للي بنعدل عليه players هذا وشو هذا اسم التيبل اللي تبيه وليكن حطيته انا ماستر Master بكذا يكون هذا اول متغير صادفك في انشاء التيبل (clothes_head_texture TEXT, clothes_head_model TEXT, name TEXT) نجي لهنا وش هي clothes_head_texture هذا اسم الكولمن اللي داخل التيبل اللي بندخل فيه القيم وما الى ذلك طيب وش هي TEXT هذا نوع الكولمن يحتوي بالمناسبه الكلومن=عمود على تكست فقط طيب والفاصله وش وظيفتها الفاصله تستخدمها لو تبي تسوي اكثر من كولمن مثلا في هذي الحاله هو هنا مسوي 3 كولمن الاول اسمه clothes_head_texture الثاني clothes_head_model والاخير name اتمنى وصلت فكرة انشاء التيبل طيب هنا نجي للحذف انا دخلت قيمه وما ابيها ابي احذفها من الجدول او مثلا سويت تفعيل اشتراك في رنت سيستم للاعب وابيه ينحذف من التيبل اللي عندي كيف بنشوف الان executeSQLQuery("DELETE FROM players WHERE name=?", playerName) وكالعاده هي ثابته DELETE FROM اما بالنسبه لذي players فهي بتكون ماستر لاننا بدلناها لو تذكرون في انشاء التيبل فوق هذا اسم التيبل اللي انشاناه ايا كان اسمهه Master زي ما قلنا فوق مثلا WHERE name=? هنا تبي تحذف من اي كولمن؟ اي عمود تبي تحذف منه هنا سوينا حذف من عمود name , playerName) الفاصله ثابته playername تكون القيمه اللي تبي تحذفها وليكن اسم اللاعب محمد ابي احذف محمد كيف بتكون كذا ,'محمد') على سبيل المثال فقط بالنسبه لكم انتم على حسب استخدامكم مثلا getPlayerName(source) المصدر اسم لاعب المصدر اللي بالايفينت على حسبكم انتم طيب افرض انا ابي احذف ايضا من clothes_head_texture هل بطر اسوي 2 سطر ورا بعض؟ executeSQLQuery("DELETE FROM players WHERE name=?", playerName) executeSQLQuery("DELETE FROM players WHERE clothes_head_texture=?", head) طبعا هيد تكونو معرفينها انتم ما يحتاج بس هل ذي طريقه صحيحه الجواب خطا الطريقه الصحيح لو تبي تحذف القيمه صح بتسوي كذا executeSQLQuery("DELETE FROM players WHERE clothes_head_texture=? AND name=?", head,playername) زي ما تلاحظون ظفت انت وحطيت فاصله بعد وبلاير نيم بالظبط هذا اللي بتسويه ملاحظه مهمه الان لازم كابيتال ما يصلح سمول نجيي للي بعده executeSQLQuery("DROP TABLE players" ) هذي وظيفه لحذف التيبل وفي حالة شرحنا بتكون زي ما قلنا ماستر يعني كذا executeSQLQuery("DROP TABLE Master" ) executeSQLQuery("SELECT score,health FROM players WHERE name=?", playerName ) طيب هذي وشو هذي تجيبلك بينات من التيبل للاعب معين مثلا اانت لما دخلت للتيبل سويت اللاعب مع نقاطه مثلا SELECT ثابته كالعاده score,health هذي اسماء الكولمن اللي تبي تختار منها البيانات في حالة شرحنا بتكون clothes_head_texture, clothes_head_model طيب FROM players WHERE name=? بشرحها دفعه وحده FROM ثابته players اسم التيبل وفي حالتنا بتكون Master WHERE ثابته name=? هذا اللي عندك قيمته تبي تختار من عمود الاسماء بينات اللاعب اللي جمبو اللي هي clothes_head_texture, clothes_head_model فهمتو طيب بيكون التعريف كذا مثلا local ss,mm=executeSQLQuery("SELECT clothes_head_texture, clothes_head_model FROM Master WHERE name=?", playerName ) بكذا بيطلعلك القيمتين المجهولتين نجي للي بعده اوه قبل لا نجي للي بعده في شي افرض انا ابي كل التيبل بسوي كذا local table=executeSQLQuery("SELECT * FROM Master" ) كذا بيكون عندي جمميع البيانات اللي بالتيبل نجي للي بعده executeSQLQuery("INSERT INTO players(name,color,sound) VALUES(?,?,?)", playerName, colorName, soundName ) وش وظيفتها الادخال في التيبل تبي تدخل قيم جديده INSERT INTO players(name,color,sound) VALUES(?,?,?) اولا الانزرت ثابته وانتو ثابته اما ما بين الاقواس فبتكون اسماء العمود اللي تبي تدخل فيه القيم وفي حالتنا INSERT INTO players (name,clothes_head_texture, clothes_head_model) VALUES(?,?,?) VALUES(?,?,?) وش هذي هذي عدد القيم ونعبر عنها باستفهام لاننا بنكتبها باخر السطر بنشوف افرض عندي اربع عواميد راح نزيد ,? وبالتالي بتصير كذا VALUES(?,?,?,?) لكن احنا حاليا شغالين على 3 فمافي داعي VALUES(?,?,?) نكمل , playerName, colorName, soundName ) playername هذا اللي تبي تدخله في العمود الاول حسب الترتيب (name,clothes_head_texture, clothes_head_model) اللي سويته هنا وكذلك الباقي نجي للي بعده executeSQLQuery("UPDATE players SET color=?,sound=? WHERE name=?", colorName, soundName, playerName ) هذي وظيفتها تحديث البيانات افرض اللاعب زادت نقاطه كل اللي عليك انك تستخدم هذي الوظيفه لتحديث بياناته UPDATE players SET ابديت ثابته players في حالتنا بتكون Master بالنسبه ل SET ثابته color=?,sound=? WHERE name=? color=?,sound=? في حالتنا بتكون كذا clothes_head_texture=?, clothes_head_model=? بالنسبه ل WHERE name=? هذا وين تبي تحدث انت عند اي اسم تبي تحدث؟ على حسب اسم اللاعب اللي زادت نقاطه مثلا طيب colorName, soundName, playerName colorName هذا زي ما قلت بالترتيب حق العواميد اللي سويته يعني ذا راح يروح ل clothes_head_texture soundName وهذا راح يروح ل clothes_head_model والقيمه الاخيره وهي اللي نبي نحدث عندها اسم اللاعب اللي زادت نقاطه playerName اللي بتكون عند WHERE name=? وفي الختام اتمنى من كل قلبي تكونو استفدتو ولا تنسو دعواتكم بالمناسبه الشرح لارضاء الاخ ابوسولو لانه بغا شرح له من زمن @Abu-Solo ولك ايضا عزيزي المتابع لا تنسوني من دعواتكم يقلبي بالتوفيق يا رب لي ولكم
    9 points
  41. السلام عليكم و رحمه الله و بركاته اليوم اقدم لكم سكربت جديد ما اظن حد سواه قبل المود فكرتو بسيطه بس فوائدو كتيره لاصحاب السيرفرات الي تستخدم الداتا بشكل كبير --------------------- وش هي وظيفه المود ؟ المود يعرض لك كل الداتا الي مع اللاعب الي تحددو و تقدر تتحكم فيها مثلا تغير القيمه حقها -------------------- وش هي انواع القيم التي يدعمها المود ؟؟ المود يدعم 4 انواع قيم للداتا و هم كالتالي : 1 - boolean(true/false) 2 - string 3 - number 4 - tables --------------------- وش اقدر اسوي بالمود ؟ تقدر تسوي 4 اشياء و هم كالتالي : 1 - تضيف داتا جديده ( تروح لكل اللاعبين الي بالسيرفر ) ..ا 2 - تمسح داتا من اللاعبين 3 - تغير قيم داتا اللاعبين 4 - تقدر تشوف كل الداتات الي مع اللاعبين ----------------------------- صور للمود : ----------------------------------- اصدار السكربت : v1.0.0 رابط التحميل : https://up.top4top.net/downloadf-715hg2hw1-zip.html المود مو مشفر لهيك تقدرو تعدلو عليه + تقدرو تعدلو علي الكومند بتاعت الفتح و القفل و ايضا الجروبات الي تقدر تفتحو من ملف server.lua في جدول اسمه Settings AllowedGroups = الجروبات التي تستطيع فتحه AllowedCommands = الكلمات الي تكتبها بأف 8 عشان تفتحه في امان الله
    9 points
  42. بسم الله الرحمن الرحيم سلام عليكم ورحمة الله وبركاته كما هو موضح بالعنوان حاب اعرض لكم جريد ليست من تصميمي الشخصي ( احترافي ) المهم ماعلينا بالطويلة نعرض الجريد ليست : اتمنى تعرضون رأيكم عن الجريد ليست من 10 واذا في اخطاء او شيء زي كذا قولو لي وان شاء الله اصححها طبعاً شكر خاص لتنطيل ..
    9 points
  43. السلام عليكم ورحمة الله وبركاته زي ما بالعنوان مود نوت باد داخل mta طبعا اصدار الي في حال عجبكم يصير تحديثات مميزات المود 1-دي بق منفصل 2-حفظ الملفات بصيغة lua 3-تجربة الاكواد سواء سيرفر ام كلينت 4-نسخ الاكواد 5-امكانية فتح اكثر من صفحه للبرمجه 6-امكانية حذف صفحات مفتوحه طبعا كل ذا اصدار اولي عجبكم اطوره ابشر صوره للمود التحميل https://up.top4top.net/downloadf-630lq9422-zip.html وفي الختام المود غير مشفر طبعا والسلام عليكم ورحمة الله وبركاته -------------------------------------------------------------------------------------------------------------------- في بق بسيط في التراقر الاصدار القادم يتصلح باذن الله تو اكتشفه بعد رفع المود
    9 points
  44. الفكرة .. حفظ مكان اللاعب عن طريق البيوت متل GTA SA الـلي ابي اقوله ... الاصدار تجريبي لكنه كامل بس ينقصه تظبيط تصميم وكذا هذا كل الشي العرض هذي الاماكن اللي حفظ بها هذي الاماكن بدون حفظ هنا المكان اللي احفظ فيه + اللي انزل فيه وقت اختار المكان ملاحظة انزل في الاحداثيات اللي حفظت فيها .. حسب مكان هذا الشكل وفيه اكثر من مكان ... متل ماهو موضع في الرادار طبعاً وقت المسه يفتح لي نفس اللوحة لكن للحفظ وليس لفتح الحفظ والحفظ عن طريق الاكونت ......................................................................... السؤال .. انشره ؟ ابيعه ؟ اركبه في السيرفر الجديد الحياة التجارية ؟ @Abdul KariM @Master_MTA @#Soking @#_iMr.[E]coo @#BrosS @MR.NaiF-MTA @coNolel @iMr.WiFi..! @Abu-Solo @AchrefF @Sha67 @iRamX @SoniX^ @~#[N]exT @Mhmd.z @#bazooka +You ... ???
    9 points
  45. السلام عليكم ورحمة الله وبركاتة Lua هذا القسم مخصص فقط للمشاكل و الشروحات المتعلقة باي لغة برمجية بإستثناء قوانين هذا القسم كالتالي : يرجي عدم إنشاء موضوع واحد لجميع المشاكل , علي سبيل المثال ( اي مشكلة لديك يمكنك الإستفسار عنها بهذا الموضوع ) وما الي ذلك و هكذا ( Java - ممكن مساعده؟ ) يجب وضع اسم اللغة التي تواجه فيها مشكلة بجانب اسم الموضوع , علي سبيل المثال في حال تمت الإفادة وبعد فترة من الوقت تريد الإستفسار عن سؤال اخر بنفس اللغة البرمجية يرجي منك إنشاء موضوع اخر وعدم التكمله بنفس الموضوع السابق * القوانين قابلة للتعديل في اي وقت ونرجو منكم الإلتزام بقوانين القسم وبالتوفيق للجميع
    9 points
  46. السلام عليكم ورحمة الله وبركاته كيف الحال شباب باذن الله كويسين اخليكم مع الشرح طيب الحين ملاحظه مهمممه هذا هو الاصدار الاول الاصدار الثاني سيكون مدفوع والخصائص الزائده هي 1-لوحة للتحكم بالقوانين 2-لوجو قبل التسجيل سيكون للاعضاء الجدد فقط واكثر باذن الله وعشان كذا ابي طلب منكم كم السعر للاصدار القادم باذن الله اقتراحاتكم التحميل اضغط هنا شكر خاص ل @Abdul KariM @N3xT @#Soking
    9 points
  47. We really appreciate your interest in integrating FLA in MTA, but there are a few requirements that have to be met: Only one MTA version (2 versions would lead to fragmentation which is not our intention). The other main problem with a "moddable" version is also that such a version would be very prone to cheating and would lead to frustration due to cheaters on the long term It has to be integrated in a dynamic way. That means: No MTA restarts, but changing the limits on demand via a clientside function (or something similar) Since FLA would require modifications for MTA anyway, I don't see a reason to load FLA via an ASI loader. Instead, it should be merged with the Game SA/Multiplayer SA module. If you are still not deterred by these requirements and think it is affordable, we'd definitely appreciate a pull request on GitHub (and will accept it if the code quality is fine).
    9 points
  48. So I'm finally releasing the MTA Highlight extension that powers our syntax highlighting on the forums and on the wiki. This enables the blue and orange links you see that link to the Wiki for MTA functions. The highlighter is built off of Google's prettify library, so is only compatible with software that uses Google Prettify to highlight their code. Installation Usage is really simple, and it sits very well with Google's own prettify library. Note, that you'll need a version of JQuery for the functions to work. In your HTML HEAD includes, add the following: <!-- Add JQuery --> <script src="https://ajax.googleapis.com/ajax/libs/jquery/3.1.1/jquery.min.js"></script> <!-- Add Google Prettify library --> <script src="//cdn.rawgit.com/google/code-prettify/master/loader/run_prettify.js"></script> <!-- Lua not added by default, add it--> <script src="//cdn.rawgit.com/google/code-prettify/master/src/lang-lua.js"></script> <!-- Get the latest function definitions from MTA Forums --> <script type='text/javascript' src='//forum.multitheftauto.com/uploads/javascript_syntax/luafuncs.js'></script> <script type='text/javascript' src='//forum.multitheftauto.com/uploads/javascript_syntax/mtafuncs.js'></script> <!-- Add MTA-prettify library --> <link rel="stylesheet" type="text/css" href="//cdn.rawgit.com/darkdreamingdan/MTA-prettify/master/mtahighlight.min.css"> <script type='text/javascript' src="//cdn.rawgit.com/darkdreamingdan/MTA-prettify/master/mtahighlight.min.js"></script> You'll then need some JavaScript to use Google's Prettify and apply MTA's markup: $(function () { // Perform Google Prettify PR.prettyPrint(); // Add MTA markup applyMTAMarkup(); }); Usage Usage is just like Google's own Prettify, but you'll need to add lang-lua as a class to your <pre/> snippets. For example: <pre class="prettyprint lang-lua"> function onWasted() if not( isGuestAccount (getPlayerAccount(source)) ) then local jailtime = getAccountData(getPlayerAccount(source), "Jailtime" ) or 0 local theWeapon = getPedWeapon (source) local weaponAmmo = getPedTotalAmmo (source) if tonumber(jailtime) == nil or 0 then outputChatBox ("1", root) fadeCamera (source, false) setTimer (setElementHealth, 1500, 1, source, 10) setTimer (setCameraTarget, 1250, 1, source, source) setTimer (fadeCamera, 2000, 1, source, true) setTimer (giveWeapon, 2000, 1, source, theWeapon, weaponAmmo, true) elseif tonumber(jailtime) > 0 then outputChatBox ("2", root) fadeCamera (source, false) setTimer (portjail, 1500, 1) setTimer (setElementHealth, 1500, 1, source, 10) setTimer (setCameraTarget, 1250, 1, source, source) setTimer (fadeCamera, 2000, 1, source, true) setTimer (giveWeapon, 2000, 1, source, theWeapon, weaponAmmo, true) end end end addEventHandler ("onPlayerWasted", getRootElement(), onWasted) </pre> Example An example JSFiddle is available here: https://jsfiddle.net/darkdreamingdan/0uvzbL1n/. Source code available here: https://github.com/darkdreamingdan/MTA-prettify . I'd really appreciate a GitHub star if you found this useful! Note: Usage may be different if installing on different CMS software. Typically, this is easily implemented by using your CMS/forum's Theme editor.
    9 points
  49. We recently had coverage on RockPaperShotgun about San Andreas multiplayer mods. It covers both MTA and SA-MP, but is interesting nonetheless. It may be two Grand Theft Auto generations and 11 years old, but GTA: San Andreas is still very much alive. Its two most popular online multiplayer mods currently have a million or more active players between them — one, Multi Theft Auto, had 616,000 players in July (up from just 33k in February 2010), while the other, SA-MP, oscillates between about 15,000 and 50,000 concurrent players. I went to talk to members of both mod communities to find out what keeps them playing... You can read the full article here: https://www.rockpapershotgun.com/2016/09/15/why-a-million-people-still-play-multiplayer-grand-theft-auto-san-andreas-every-month/ A big thanks to Richard Moss for taking the time out to cover us. You can find more of his portfolio here. If you're a member of RockPaperShotgun's comments section, we encourage you guys to post comments on the article about your MTA experiences!
    9 points
  50. Prank online players on your server by showing them a BSOD (blue screen) and let them believe their PC has crashed while they are playing MTA. https://community.multitheftauto.com/index.php?p=resources&s=details&id=13748 use: /bsod PlayerName (exact) After 5 seconds the bluescreen and error sound disappears and everything is back normal. (hud elements and chat etc that are hidden to make the bluescreen look real will also return) 2 sound effects are incuded: buzzing sound loop (like can happen with Windows 7, 8, 10 bluescreens) and Windows XP error beep. Win7+ BSOD sound: bs1.mp3 (demonstration: https://www.youtube.com/watch?v=TDOolCOjE30) WinXP BSOD beep: bs2.mp3 (demonstration: https://www.youtube.com/watch?v=WdOuIJLHBEs) If you want to change the effect from default buzzing sound to the XP beep, change in client.lua the .mp3 filename to bs2.mp3 behind ''playSound''
    9 points
×
×
  • Create New...