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
    35 points
  2. 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
  3. 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
    27 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
    23 points
  5. 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
  6. 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
  7. بسم الله الرحمن الرحيم والصلاة والسلام على سيدنا محمد وعلى آله وصحبه وسلم كما عودناكم دائماً على المواضيع الهادفة والمفيدة فإننا اليوم نطرح امامكم موضوع لفهرسة الوظائف المفيدة التي قام بصنعها كوكبة من المبرمجين المتميزين العرب وتم طرح هذا الموضوع للتسهيل على جميع زوار ومنتسبي القسم العربي ، نظراً لإختلاط الوظائف والردود في الموضوع الاساسي الذي تم إنشاءة من قبل الأخ بوو بسم الله نبدأ : 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
  8. السلام عليكم ورحمة الله وبركاته اليوم حبيت أعرض لكم أخر مشاريعي بديتها قبل كم يوم والحمدلله اليوم شبه خلصت ، باقي كم شيء بسيط عالعموم نشوف مقطع فيديو إلى الآن مادري إذا أبيعها ولا أنشرها لكم ، عالعموم عطوني أرائكم وإقتراحاتكم عليها
    14 points
  9. السلام عليكم ابغى اقتراحاتكم ونصائحكم للسكربت الي برمجته فيديو يوضح المود :
    13 points
  10. 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 -- ايند انهاء الفنكشن ) ; -- قوس اغلاق الامر طبعا هذه الامثلة ان شاء الله انها مفهومة واي شي حاب تستفسر عنه عندك الردود واخيرا ان اخطأت فهذا مني ومن الشيطان وان اصبت فهذا من الله لاتبخل علينا بالدعاء , وهذا وصل الله وسلم على نبينا محمد في امان الله وفي حفظ الرحمن
    13 points
  11. 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
  12. 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
  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)
    11 points
  14. كيف حالكم ان شاء الله بخير , اليوم رجعنا بـ نظام بسيط ويسهل عليك الامور طبعا النظام واضح من العنوان انك تعطي احد لايك او تجيب لايكاته وتقدر تستخدمه في اشياء كثيرة مثل مسابقات والى اخره طبعا النظام مانب مستعمل فيه الداتا ولا التيبلات فقط السكل الفنكشنات قبل التحديث الفنكشنات بعد التحديث الاحداث الخاصة بالنظام بعد التحديث بعض الامثلة من خارج السكربت على الفنكشنات والحدث تم اضافة ميزة الايكات في السكور بورد وهي اختياريه طبعا السكربت مشفر لحفظ الحقوق فقط وانا ماودي اشفر سكربتاتي لكن فيه اطفال تجبرني على اني اشفر : الاهدائات Just , Mr.Saad , خلف , خالد العمري , كور , برستيج , مجمتع العرب روابط تحميل الاصدارات وهذا الي كان عندي اليوم في امان الله وحفظ الرحمن
    11 points
  15. 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
  16. I just made a character customization system in MTA with 3D GUI.
    10 points
  17. بسم الله الرحمن الرحيم السلام عليكم ورحمة الله وبركاتة يسرنا اعلامكم بانة تم افتتاح منتدى ومجتمع ام تي اي العرب المنتدى يهدف الى دعم البرنامج ام تي اي واللعبه جراند سان اندرياس المنتدى رسمي ومرخص من الشركة يعني كل شيء رسمي 100 % المنتدى يدار من قبل اعضاء لخدمة الزوار والاعضاء المنتدى باذن الله سيستمر يوجد اكثر من اداري في المنتدى طلبات الاشراف متاحة حالياً بشروط معينة موجودة في قسم خدمة الاعضاء او سيتم اضافتها قريباً اذا لم تجدها نتمنى من الجميع التسجيل والانضمام الينا للدخول الى المنتدى : http://www.mtaarabs.com/ or http://www.mtaarabs.com/vb للتسجيل : http://mtaarabs.com/vb/register.php نرحب بالجميع ونتمنى من الجميع التفاعل شاكرين لكم حسن التعاون مع أطيب التحيات iPrestege شكراً لكم
    10 points
  18. السلام عليكم ورحمه الله وبركاتة كيف الحال أهل الخير , في هذا اليوم يشرفني اني ادعوكم جميعاً لحفل إفتتاح سيرفر شيوخ العرب - هوامير وهذي بطاقة الدعوة مع العلم انه سيتم إقامة فعاليات ومسابقات ، وتوزيع فلوس , ورتب وشكراً لكم
    10 points
  19. الفكرة .. حفظ مكان اللاعب عن طريق البيوت متل 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
  20. السلام عليكم ورحمة الله وبركاته جتني فكرة انهم يسون قسم اخر لبرمجة لغات اخرى منها نستفيد ونتعلم اللغات الثانية وش رايكم انتو؟ @!#NssoR_)
    9 points
  21. 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
  22. 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
  23. 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
  24. G&T Mapping & Loki present: Cinema Experience Beta 2.0.2 Description We're happy to finally release the first beta version of our Cinema Experience! Check out its features down below... Video Screenshots Download Now Beta Ver. 2.0.2 [ October 7, 2019 ] Changelog Authors: Tails - Follow his group G&T Mapping on Facebook: http://fb.com/gtmapping Check out their other resources as well: http://gtmapping.blogspot.com Loki - Check out his original Cinema script here: https://community.multitheftauto.com/in ... s&id=11993 and his profile here: https://forum.multitheftauto.com/memberlist.php? ... le&u=79989 Please note that this resource is not 100% complete yet. Some features are disabled and there may still be some bugs. To get started, scroll down the page and read "How to install". The Features - YouTube TV browser - Fully automated playlist - VIP manager - Add/remove VIPs who can manage the Cinema. - Synced playback - Vote to skip video - Real-time Ambilight - Open/close the cinema - Kick players from the cinema - And a lot more! Commands Global Cmds: - F2 - Toggle the Cinema Panel (You have to be inside) - M - Mute the playback [This is currently bugged] - /play url - Adds a video to the playlist - /playlist - Shows the playlist in the chat - /geturl - Gives you the URL to the current video - /proper - Adjusts the width of the screen making it more normal VIP/Admin Cmds: - /replay - Replays the current video - /skipvideo - Force skip the current video - /stopplay - Stops all playback and clears the playlist - /remove nr - Removes a video from the playlist. E.x.: /remove 2 How to install Step 1 (Unpack resource) First update your server to the latest version! You need atleast version 1.5.2 anything lower is not supported! Type 'ver' without quotes into the server console (F8) to see what version you're running. Unpack the zip file to your server resources folder: Multi Theft Auto\server\mods\deathmatch\resources\ in a new folder called CinemaExperience Make sure you're an admin on your server if you don't know how to do that go and read the MTA wiki. Step 2 (grant resource admin access) Press P on your keyboard to open your admin panel and add the resource to the Admin ACL group To do that go to the Resources tab and click on the 'Manage ACL' button in the top right corner then double click 'Admin' under 'Groups' and press 'Add Object'. Type in resource.CinemaExperience and click on OK. Step 3 (start resource) Now start the resource. Open the in-game console (F8) and type in refresh and press enter, then type in start CinemaExperience and hit enter again. Step 4 (add yourself as VIP) Finally, you need to add yourself as VIP in the cinema panel. In order to do that, enter the cinema and press F2 to open up the cinema panel. Now open the Settings tab, then open the Visitors tab (on the right side of the panel) and select your name. Click on 'Add/remove VIP'. That's it! You have now access to all the settings so you can enjoy our Cinema Experience to the fullest How to change binds You can change the bind for toggling the panel in the s-binds.Lua file. Known issues / FAQ Installation: - I can't connect to API? Make sure the resource has admin privileges and server is up to date (1.5.2). Also try extracting the resource. - I can't add videos? If you can't control the settings after you've added yourself as VIP, unpack the resource and delete the config files in the cfg folder. Still need help? Leave us a message below or contact me through the G&T Mapping Facebook page (link at the bottom or top) Panel: - There's ads covering the screen! Sometimes there may be ads covering the video on the screen. You can click on the Skip Ads button to refresh the video, usually this will remove any ads on the video. Sorry for the inconvenience. There is no other solution at the moment. In the future - Add option to limit how many videos can be added per user - Add option to set the max length of a video - Add option to change the screens width and height and position This list isn't finished yet Bug reports / Questions / Feedback If you encounter any bugs, glitches, have any suggestions, feature requests, or simply just like to ask a question, please don't hesitate to post them Thanks!
    8 points
  25. 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
    8 points
  26. السلام عليكم ورحمة الله وبركاته بتصميم وخاصيات جديدة IPB إلى phpBB اليوم تم تجديد المنتدى ونقله من ...نسعى لتقديم الأفضل دائماً !شاركونا بآرائكم حول التجديد ملاحظة: لم يتم اكتمال تجديد المنتدى كلياً حتى الآن فإذا تواجهكم بعض المشاكل, فسوف يتم حلها في أقرب وقت بإذن الله يا عيال نبي مشرفين جدد بعد
    8 points
  27. السلام عليكم و رحمة الله و بركاته دخلت من كم يوم سيرفر طاره و لقيت وظيفة طيران جديدة عجبتني سويت نسخة مصغرة منها ضض وهذه تعتبر BETA يعني ينشرها واصحح الاخطاء بعدين انشر النسخة النهائية وراح تكون اكبر و احلي واحتمال تكون دي اكس وللاسف احتمال يكون اخر سكربت انشره لاني بتفرغ لسيرفري الجديد ندخل ع الصور اللوحة الطائرة تيجي هنا في علامة حمراء علي الخريطة هذي المكان الي مفروض تروح له وتاخذ 5000$ كاش ض Ceated By MR.NaiF - Master_MTA - Killer Project ويوم تفوز ترجع المطار وتاخذ الفلوس المهمة في عالم وهمي 1999 الااهدائات @Master_MTA @Killer Project @MR.S3D @3NAD @#DABL @TAPL @Tete omar @!#NssoR_) @UAEpro @#Soking @Deativated @سعد الغامدي @iPrestege @[email protected] @Mr.Cor الرابط https://up.top4top.net/downloadf-455uacv41-zip.html
    8 points
  28. السلام عليكم ورحمة الله وبركاته كيف الحال شباب باذن الله كويسين اخليكم مع الشرح طيب الحين ملاحظه مهمممه هذا هو الاصدار الاول الاصدار الثاني سيكون مدفوع والخصائص الزائده هي 1-لوحة للتحكم بالقوانين 2-لوجو قبل التسجيل سيكون للاعضاء الجدد فقط واكثر باذن الله وعشان كذا ابي طلب منكم كم السعر للاصدار القادم باذن الله اقتراحاتكم التحميل اضغط هنا شكر خاص ل @Abdul KariM @N3xT @#Soking
    8 points
  29. 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
    8 points
  30. 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!
    8 points
  31. أولاً دخلت المنتدى, سألت كيف أسوي مهمة, وهذي المهمة بالتحديد كانت لسي اي تي, ردوا علي بردود غريبة أول مرة اشوفها (فنكشنات وما إلى ذلك) .. بديت ابحث عن فايدتها .. حاولت أسويها .. تبندت من سي اي تي بسبب استغلال بق فلوس .. فشلت الفكرة (يمديك تشوف أول مشاركة لي بالمنتدى) .. بعدها حاولت اسوي سكربت فضاء بنفسي وطلبت فيه مساعدات كثيرة فيه في المنتدى وخارج المنتدى .. حاولت أصلح أخطاء الدي بق .. وبعد عناء طويل السكربت نجح وكان تقريباً اول سكربت لي بس ما عطيته لأحد .. حاولت أروح سيرفرات عرب واقولهم اني ابرمج وكذا .. حاولت اسوي سكربت شات لسيرفر بس ما نجح (وطلبت فيه مساعدات أكثر بعد) .. لكن سرعان ما صاحب السيرفر قلبها معي فقررت أروح طارة (كان من أشهر السيرفرات العربية في وقتها من 2012) عناد الله يعطيه العافية رحب فيني .. وبديت احاول اسوي سكربتات معه ويساعدني واساعده .. وخلال هالفترة تعلمت كثير .. كنت نوب كبير بالأنجليزي لكن مع مرور الوقت أتقنته في قناة الام تي اي للشات لأن تقريباً كل الي فيها أجانب .. صرت اترجم كلمة كلمة ما أعرفها .. ومع الوقت والحمد لله صرت اتكلم بدون مشاكل .. مع إني إلى الحين ماني 100% فيه بعد كل هالسنوات .. ما علينا من هالقصة.. على العموم نرجع لموضوعنا الأساسي .. بعد دخولي طارة بكم شهر حولت على قراند العرب .. تعلمت الكثير في هالفترة من البرمجة .. بعدها صارت مشاكل معهم فخرجت وقررت أسوي سيرفر لحالي .. اخوي جمع لاعبين .. سوينا مجتمع منغلق صغير .. لكن للأسف مع أني بذلت أقصى مجهود ممكن في تطوير السيرفر .. انتهى بالفشل .. حاولت اسوي سيرفر ثاني (((كل هذا لحالي))) ومع ذلك فشل بعد مو لأن المودات كانت خايسة .. لكن لأنه ما كان فيني الطاقة أسوي اكثر من كذا .. وينتهي بي المطاف إلى هذا الحال .. مشرف عام على موقع الأم تي اي وفاقد الاهتمام بالبرمجة. مع ان كل الي كتبته كثير لكن هذي كانت قصتي باختصار شديد جداً شكراً
    8 points
  32. 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)
    7 points
  33. I brought you bakaGaijin and Ash Now I bring Discord integration with MTA scripts. MTA already has this for IRC Shoutout to the people who made the Sockets module, you're awesome. Features: -Scripts can echo messages to any Discord text channel of their choosing. -Any Discord channel can be set up to echo all messages to an ingame script. (Including the name of the person who said it, and his role) -One MTA server can send/receive to multiple Discord guilds. Example use: To show how this is useful, I made a small program to echo all global chat to a "global" Discord channel, and all team chats to individual "team" Discord channels. These Discord channels ofc echo messages back when someone posts. As proof of concept for commands, if a Discord user types "!ban name" then his role is checked, and if it includes Founder, the chat outputs "name was banned!" This is the client side script I used for this example: local SECRET_KEY = "15-A-53CR3T-K3Y" --The script works even if your server IP changes. You are mapped to a unique key. local function onopen(self) self:send(SECRET_KEY) --Your MTA server logs in addEventHandler("onResourceStop", resourceRoot, function() self:close() --Break off from Discord end) addEventHandler("onPlayerChat", getRootElement(), function(message, type) --Example hook to capture player chats local name = getPlayerName(source) local channel = "global" --Send to global channel if global chat if type==2 then channel = getTeamName(getPlayerTeam(source)) end --Or team channel if teamchat --Format to send messages is ("discord", channelName, message) self:send("discord", channel, name..": "..message) end) end function onmessage(self, data) local channelName, name, role, message = data[3], data[4], data[5], data[6] local orginal_message = message --The message we got from discord message = "("..role..") "..name..": "..message --Make it pretty if channelName=="global" then --Output to global chat or team chat outputChatBox("(DISCORD) "..message) else local team = getTeamFromName(channelName) local members = getPlayersInTeam(team) or {} local r, g, b = getTeamColor(team) --Color the output for lulz for _, player in ipairs(members) do outputChatBox( "(DISCORD) (TEAM) "..message, player, r, g, b) end end local commandExample = string.match(orginal_message, "^!ban (.+)") --If message started with !ban... if role=="Founders" and commandExample then -- ...and the person who said it had the right Role outputChatBox(commandExample.." was banned!", getRootElement(), 255, 0, 0) end end local function onclose() outputChatBox("The Discord link was closed") end local discord = Discord.new(onopen, onmessage, onclose) That's 41 lines of code, now let's see it in effect. I would love to hear what you think about it.
    7 points
  34. I made a 3D GUI System in MTA:SA. You can place 3D GUI Elements (Buttons, Textboxes, Labels, Lists, Checkboxes, Sliders, etc.) wherever you want. It's not public yet.
    7 points
  35. السلام عليكم ورحمة الله وبركاته كيف الحال شباب باذن الله اليوم بشرحلكم كيف تستخمون 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 ولك ايضا عزيزي المتابع لا تنسوني من دعواتكم يقلبي بالتوفيق يا رب لي ولكم
    7 points
  36. #قمة_الاخلاق السيده عائشه سألت النبي : مين أكتر واحده بتحبها في زوجاتك يارسول الله ؟؟ فقال لها : أنت ياعائشه ...فقالت : إذا أخرج عليهن وأخبرهن جميعا ، فضحك النبي وأعطاها تمرة ، وقال لها في الليل أجمعهن وأخبرهن ، ولا تخبري أحدا أني أعطيتك تمرة وإنصرف ومر علي كل واحدة من زوجاته وسألها عن أحوالها ، وأعطي كل واحدة منهن تمرة وأخبرها ألا تخبر أحدا ، وفي الليل إجتمعن وسألته عائشه : أي من زوجاتك تحب أكثر ؟! فأبتسم النبي وقال : صاحبة التمره ، فهي من أحبها أكثر فابتسمن جميعا وفرحت كل واحده بداخلها وفرحت كل واحده لحب رسول الله لها..... وانك لعلى خلق عظيم. النبى محمد اعظم خلق الله اللهم اجمعنا به فى الجنة.
    7 points
  37. Hello I would like to propose an idea. My idea is that MTA's full source code gets documented on Wiki. It might be a hard job to document everything, but there's no rush, it could go little by little until someday the whole source code is explained on wiki. Also there could be an introduction page where is explained how to compile mta by yourself, and how to do your first function, and so on (Similar how scripting introduction page explains Lua scripting) The reason why I'm proposing this idea is because contributing to MTA's codebase seems a bit too hard, and not very explained in my opinion, especially for the newer people who'd like to contribute. Simply put, even by reading source code itself, sometimes we don't know what something does even if it's commented in the code. I think that by achieving this idea we could get people into easier understanding how everything works and how to contribute since everything would be explained on Wiki. This would equal more pull requests,bigger and faster progress, and perhaps some more developers in mta team haha. P.S Writing everything on Wiki might take a long time, but throughout say a year I think it could be fully documented (It wouldn't be just 1 guy writing wiki pages, anyone who knows the functions and how they operate could help out by writing a wiki page, hell I'd even help out make the pages, a dev would just need to explain to me how a function works and I'd make the page if they don't have time do so) Thank you for reading, please tell me what you think of this
    7 points
  38. Have the MTA Team setup an official Discord server? I saw an unofficial one on a topic a few weeks back and joined it, but somebody speaks once every few days and it's full of weird bot scripts. Would be an idea to get one going, especially as it can link to IRC.
    7 points
  39. السلام عليكم , بعد غياب طويل عن البرمجة و كدا قلت ارجع لكم بسكربت جديد , ما اظن حد سواه فكرتي الجديدة Resource Manager المميزات : 1 - تقدر تختار نوع السكربتات الي تجيك في القائمة مثلا ( السكربتات الشغالة - المغلقة - الي فشل تحميلها - المحملة) و 2 - تقدر تشغل السكربت , تقدر تطفي السكربت , تقدر تسوي له رستارت , تقدر تمسحو , + الجديد تقدر تعيد تسميتو 3 - معلومات السكربت , الي مسويه , الأصدار حقو , نوعو , دسكربشن حقو 4 - المود مو مشفر للي يبون يتعلمو Note : المود مسويه مع صديق لي امريكي , نشوف المود صورة : 5 - المود هيكون تحت التطوير , هيكون في اضافات جديدة في الأصدارات الجاية ان شاء الله الأهدائات : 1 - Marshmello 2 - #CroSs 3 - Justboy 4 - Nassor - مبروك الأشراف اخيرا مشرف كويس جه منور , 5 - Me[Z]oO 6 - =x=|Bero|=x= 7- #Default 8 - برستيج 9 - تنطيل 10 - لنفسي الرابط : http://up.top4top.net/downloadf-344oc3hy1-zip.html
    7 points
  40. ولآن مع بعض الصور اذا تركت الخانات فارغة اذا اسم الحساب او كلمة السر خطأ اذا ضغط زر حفظ المعلومات وقت تضغط على زر انشاء حساب اللي فوق .. نفس الوضع في تسجيل الدخول لكن الرسالة مختلفة اذا تبي تسوي حساب كان موجود قبل مشكلة ان الموب مب منضاف لجروب ادمن اذا نجحت عملية انشاء الحساب معلومات عني وقت تفتح لوحة التسجيل وقت تضغط على زر تسجيل الدخول اللي فوق .. نفس الوضع في انشاء الحساب لكن الرسالة مختلفة والآن مع التحميل لا اله الا الله محمد رسول الله .. اضغط هنا الاهدائات @Master_MTA @#Soking @#_iMr.[E]coo @#BrosS @MR.NaiF-MTA @coNolel @iMr.WiFi..! @Abu-Solo @AchrefF @Sha67 @iRamX @SoniX^ @Mhmd.z @#bazooka @Abdul KariM << من اهم الاشخاص اللي ساعدوني اتعلم البرمجة and you اول مرة اسوي اهدائات فـ مدري اذا جبت العيد ض والسلام عليكم ورحمة الله وبركاته
    7 points
  41. A few months ago we decided to set up a project called Countryside RP (CRP). I am theoretically the founder of the whole project, but in my opinion the current staff are all founders of the project, there would not be a project without them. We have been managing the forums, discord channel and some small features since the creation date. We also started sculpting the server, I can tell you it is fun to do but might be quite boring sometimes. Besides the history and all, I will tell you a few things about the project. The server of Countyside RP is based in the area of San Andreas County; most likely Red County, Bone County and Flint County. Tierra Robada County and Whetstone County are included as well. All towns and counties are connected between town halls, all town halls are working under the San Andreas County Government. The Sheriff's Department and Fire Department take care of protection, emergency medical services and fire. There are many things to do, for example: go fishing, work for the postal delivery or go clean some streets. Hang out with your friends, marry your dear fiance(e) or create a faction which might turn out into a well-based company. You can make your own choices: live under a bridge with your homeless mates or focus on making career and enjoying the happy-family feeling. We are currently working with a free server and free forums, which will change in the future when we are nearby the grand opening. We would like to see you on our forums to help us to improve the project on the field of development or administration, suggestions and criticism is welcome. We are also looking for people to support us on the field of administration, factions, management and development. Do not hestitate to contact me on discord or the forums if you are interested! You might want to take a look on our forums or join our Discord server, you can contact us from here or just PM me. Pictures might come soon, we just wanted to tell you something about the project. The grand opening, as we call it, is far away, but we will keep you posted about the latest updates. Enjoy your time on MTA, peace out! Cronus, Community Manager Sipapi, Assistant Community Manager Emma, Head of Staff Mike, Head of Factions Blueline, Head of Administrational Affairs
    7 points
  42. السلام عليكم ورحمة الله وبركاتة Lua هذا القسم مخصص فقط للمشاكل و الشروحات المتعلقة باي لغة برمجية بإستثناء قوانين هذا القسم كالتالي : يرجي عدم إنشاء موضوع واحد لجميع المشاكل , علي سبيل المثال ( اي مشكلة لديك يمكنك الإستفسار عنها بهذا الموضوع ) وما الي ذلك و هكذا ( Java - ممكن مساعده؟ ) يجب وضع اسم اللغة التي تواجه فيها مشكلة بجانب اسم الموضوع , علي سبيل المثال في حال تمت الإفادة وبعد فترة من الوقت تريد الإستفسار عن سؤال اخر بنفس اللغة البرمجية يرجي منك إنشاء موضوع اخر وعدم التكمله بنفس الموضوع السابق * القوانين قابلة للتعديل في اي وقت ونرجو منكم الإلتزام بقوانين القسم وبالتوفيق للجميع
    7 points
  43. السلام عليكم ورحمة الله وبركاته اخباركم ان شاء الله طيبين؟ اليوم رجعت لكم بإصدار ثاني من سكربت الأوبجكت السحري المهم هالمره ضفت مميزات كثيره المميزات : تقدر تحرك الأوبجكت يمين ويسار الخ .. بأزرار الكيبورد تقدر تختار الأوبجكت بنفسك تقدر تغير ازرار الكيبورد والكثير .. الأزرار من رقم 1 الى 7 وأشكر الأخ فهد ساعدني بالمود :] لفتح اللوحة اكتب في اف 8 object المهم اخليكم مع التحميل Download والسلام خير الختام
    7 points
  44. السلام عليكم ورحمة الله وبركاتة اليوم حبيت اقولكم ان الموقع المشهور في رفع المودات Community.mtasa.com يخضع للصيانة المؤقتة لفتره معينه ولكن يمكنك الدخول للموقع في هذه الاوقات من خلال الضغط علي : سبحان الله وبحمده ملاحظة : ولاتقلق عند دخولك للموقع ويظهر لك Your connection is not secure المقصود , ان الموقع انتهت فترة حمايتة وهو غير محمي وفي حال التشكيك في كلامي يمكنك التأكد من ذلك من خلال هذا الموضوع الذي قام بطرحه احد الاعضاء وبالتوفيق للجميع..!
    7 points
  45. بسم الله الرحمن الرحيم السلام عليكم ورحمة الله وبركاتة حبيت اقدم لك وظيفة تساعدكم في التايمرات قد لا تكون مهمة للبعض وتافهة لكن تفيد كثير باذن الله الوظيفة هي كالتالي تقوم بتحويل الايام - الاسابيع - الشهور - السنين الي ميلي سيكوند المستخدم في التايمر بدال ماتحسب وتحوس تختصر عليك بوضع عدد الايام او الاسابيع او الخ aTimerSecondsToMethod سورس الكود : function aTimerSecondsToMethod ( aMethod,aCount ) assert ( type ( aMethod ) == 'string','[1]Argument method is wrong please make sure it is there and its a string with days or wtf.' ) assert ( type ( aCount ) == 'number','[2]Argument method is wrong please make sure it is there and its a number' ) if aMethod == 'Days' then aCountHours = 24; elseif aMethod == 'Weeks' then aCountHours = 168; elseif aMethod == 'Months' then aCountHours = math.ceil ( 730.484398 ); elseif aMethod == 'Years' then aCountHours = math.ceil ( 8765.8127 ); end return aCount*aCountHours*60*60*1000; end; ملاحظة هامة : الحسبة بالنسبة للشهور والسنين ليست دقيقة وسوف تزيد بضع ساعات وقد يكون أكثر مالي خبرة كبيرة في الحسابات او الماث عموماً ماتفرق واجد على المدى البعيد كم ساعه فقط وأتمنى تكون مفيدة واللي مايعرف يستخدمها يطلب بـ رد وأمثل لة عليها وبالله التوفيق
    7 points
  46. Lua - Vb.net كيف حالكم ان شاء الله بخير , اليوم رجعت بمشروع يرتبط بلغتين من البرمجة طبعا المشروع من زمان مسويه وكل يوم انتظر الوقت المناسب لـ طرحه واتكاسل عن طرحه ولاكن اليوم جاء الوقت المناسب المشروع عبارة عن اخر مدة سجل فيها الاعب دخوله db مع اسم حسابه وسرياله والوقت والتاريخ , ويحفظ بقاعدة بيانات طبعا فكرة السكربت او المشروع بالنسبة لي جديدة ولا احد سواها ولا اعلم ان كان في احد سواها قبلي ولا لا , نشوف صور للمشروع نبدأ اول شي عن السكربت ومن ثم عن البرنامج صورة للسكربت موضحه للمعلومات اعلاه طبعا راح ينشأ قاعدة بيانات بمجلد السكربت نفسه , ولايستحسن تغيير اسم قاعدة البيانات طبعا نحتاج القاعدة الي فوق عشان نربطها بالبرنامج الان نأتي لـلبرنامج طريقة فتحه وطريقه استخدامه اول ماتفتح البرنامج راح تجيك الرسالة هذي اضغط موافق , راح تجيك نافذة بهذا الشكل الان نختار قاعدة البيانات , طبعا اذا كنت حاطها على سيرفر استضافة حملها وحطها بسطح المكتب او اي مكان واربطها بالنافذة الي فوق صورة توضح Open بعد مانضغط على Open الان نضغط على بتفتح لنا لوحة فيها المعلومات الي كانت محفوظة بقاعدة البيانات صورة توضح طبعا البرنامج لايقبل الا القاعدة التي انشأها السكربت ولاراح يشتغل اذا غيرت اسم قاعدة البيانات فائدة البرنامج بعض اصحاب السيرفرات ماوده يدخل سيرفره ويراقب الي داخل والي منقطع فـ احسن مايدخل السيرفر ويفتح السكربت والى اخره فقط يحمل قاعدة البيانات ويفتحها بالبرنامج وصلى الله وسلم settings.lua بالنسبة للسكربت فيه خصائص او اعدادات له في ملف تقدر تخلي اللوحة تفتح لاكثر من قروب , وتقدر تحط قروبات لمراقبة اخر مره دخل فيها الاعب aGroups بمعنى تحط اسماء القروبات في الجدول وعند مايسجل دخوله الاعب وكان في احدى القروبات المسجلة راح يتم حفظه بقاعدة البيانات طبعا هذه النسخة من البرنامج مجانية , وراح تكون نسخة اخرى مختلفة عن هذه كثير ولاكن راح تكون نسخة مدفوعة , اي اسئلة او استفسارات ضعها في الرد : الاهدائات Boyka , Mr.Saad ,Mr.Tn6el , Mr.CoR , خلف , iPrestege طبعا السكربت والبرنامج مشفرين تماما : لـ تحميل السكربت سبحان الله : لـ تحميل البرنامج استغفر الله playerEnd_Pro طبعا لفتح البرنامج اضغط دبل كلك على اذا كان لديك ملاحظات او اضافات للاصدار القادم فضعها بالتعليق وهذا وصلى الله وسلم على نبينا محمد
    7 points
  47. السلام عليكم ورحمة الله تعالى وبركاته كيف حالكم ؟ ان شاء الله بخير اليوم رجعنا بمود جديد وهو مود المخالفات واللي الكل يعرفه ^ مميزات السكربت ; - اضافة المخالفات, تعديلها, حذفها - عند قراءة المخالفة من قبل الشخص المخالف يتحول لونها في قائمة الادارة للون الاصفر - يوجد سجل كامل للمخالفات والتغييرات التي تتم داخل اللوحة - السجل يفتح لسيريالات محددة يمكن تعديلها من ملف الاعدادات - والمزيد من المميزات عليك اكتشافها بنفسك ----------------------------------- الفيديو الخاص بالسكربت : الأعدادات : - Settings-Server.lua - اعدادات القروبات والسيريالات - Settings-Client.lua - اعدادات المخالفات وكوماند فتح اللوحة ----------------------------------- الصور : اللوحة الرئيسية لوحات الرفع والتعديل اللوحة العامة للأدارة وكما هو موضح يوجد مربع للبحث عن الحسابات واظهار المخالفات الخاصة بها ويوجد لونان اصفر وابيض يدل الأبيض على ان صاحب المخالفة لم يقرأ المخالفة الخاصة به والأصفر يدل على انه قام بقرائتها اللوحة الرئيسية عند وصول مخالفة لوحة قراءة المخالفات لوحة حذف المخالفات الإصدار الحالي : 1.0 للتحميل : https://community.multitheftauto.com/index.php?p=resources&s=details&id=13821 إنضم إلينا في مجتمع MTA العرب : https://fb.com/groups/luaprofessional للتواصل معي : Skype : kamel1234128 E-mail : [email protected] Facebook : https://fb.com/us.luapro في أمان الله تعالى, اخوكم مستر جراند
    7 points
  48. شكراً استاذ جيقا على التحذير بدون ترخيص WHMCS و اود ايضا التحذير من الأستضافات التي تستخدم نظام الفواتير الأستضافات التي تستخدم نظام الفواتير بدون ترخيص من الممكن ان تتعرض للأغلاق بسبب أستخدام سكربتات غير مرخصة بشكل غير قانوني https://www.whmcs.com/members/verifydomain.php ويمكنكم التأكد من الأستضافات التي تستخدم ترخيص بشكل قانوني عبر الرابط tapleto-host.net مثلا يمكنك التأكد من استضافة تابليتوا عن طريق وضع رابط الأستضافة و سيظهر لك بأن الأستضافة تستخدم ترخيص بشكل قانوني و كمثال على استضافات لا تستخدم ترخيص قانوني bbtservers.com يمكنك استخدام رابط الأستضافة للتحقق من الترخص Report it to us وسيظهر بوضوح شريط احمر يدل على ان الأستضافة التالية لا تستخدم ترخيص قانوني و يمكنك ايضا الأبلاغ عنها عن طريق الضغط على الزر اتمنى يا استاذ جيقا ان تزودنا بمعلومات عن النصابيين الذين تتحدث عنهم حتى نتعرف عليهم و نحذر منهم bbtservers اود ان اوضح لك بأن هناك فرق واضح فالمعالج يحتوي على 4 انوية للخادم من تابليتوا بينما 2 انوية في خادم من HDD و بالغالب تستخدم نظام التخزين البطئ bbtservers وبالأضافة إلى مساحة التخزين في تابليتوا تستخدم نظام تخزين اس اس دي السريع بينما من الغير واضح ماذا تستخدم
    7 points
  49. I'm happy to report we've now developed and installed this plugin. Here's an example: 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 (spawnPlayer, 1000, 1, source, 1161.3000488281, -1376.0999755859, 4, 0, getPedSkin (source), 0, 0, getPlayerTeam(source)) 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 (spawnPlayer, 1000, 1, source, 264.20001220703, 77.599998474121, 1001, 0, getPedSkin (source), 6, 1, getPlayerTeam(source)) 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) As a bonus feature that didn't exist before, Event names are also linked to the wiki. All previous posts have this applied automatically, and all posts going forward. Note, Wiki links and extended markup will only appear after you've posted the code. Posting code is done normally by pressing the '<>' button in the post editor. Please report any issues surrounding the syntax highlighting in this topic
    7 points
×
×
  • Create New...