Jump to content

Leaderboard

Popular Content

Showing content with the highest reputation on 14/11/16 in all areas

  1. سطر 6 60000 الرقم 1000 اعتقد المفترض تحطه إلا إذا تبي تسوي تايمر مده شهور و ما اعتقد سيرفرك راح يبقى شغال لحتى يجي وقت التايمر
    3 points
  2. عليكم السلام ماشوف انه مشروع ناجح لان المنتدى هذا يكفي ويوفي وتخسر فلوسك على شي مايستاهل بالتوفيق ان شاء الله وهذا مجرد رأي
    2 points
  3. Unofficial MTA Script Editor Current release: 0.3 (4851) DOWNLOAD 0.3 (4851) Very anticipated application is now released! I'm asking every user to report bugs in this topic. Before you report though, please make sure it hasn't been reported already. You can now view our bugs on the mantis (bug tracker), HERE. If you can see MTA bugs but not ours, just change the "Project" (top right) to "Multi Theft Auto: Script Editor". I think this page was getting way too long so I moved it to the wiki. There is no change in the way I keep you updated though. I'll keep updating the changelog here and the download links. If you're new here and wanted to find out what this tool is about you can visit the wiki page here: https://wiki.multitheftauto.com/index.php?title=MTASE Changelog:
    1 point
  4. 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
    1 point
  5. 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!
    1 point
  6. Introducción Este recurso es una ayuda a los programadores que busquen tener un control más amplio del tiempo! Funciones: getWeekDay getMonthDays getMonthName getYearDays getRemaningDaysInYear getSpentsDaysInYear dateToUnix unixToDate getDateInAdd Ejemplos string getWeekDay(day, month, year) Permite obtener qué día de la semana es la fecha específicada (Su funcionamiento es puramente matemático, para conocer más sobre su funcionamiento https://en.wikipedia.org/wiki/Zeller's_congruence) outputchatBox(getWeekDay(13, 11, 2016)); -- output: Domingo int getMonthDays(month, year) Obtiene la cantidad de días de cierto mes tomando en cuenta los años biciestos (razón por la cual es obligatorio el argumento) local days = getMonthDays(2, 2016) -- Año biciesto -- days contains: 29, local days = getMonthDays(2, 2017) -- Año normal -- days contains: 28, string getMonthName(month) Obtiene el nombre del mes especificado local n = getMonthName(11) -- n contains: Noviembre int getYearDays(year) Obtiene la cantidad de días del año especificado incluyendo los días al ser año biciesto local n = getYearDays(2016) -- n contains: 366 local n = getYearDays(2015) -- n contains: 365 int getRemaningDaysInYear(day, month, year) Obtiene la cantidad de días que faltan en el año según los datos especificados local n = getRemaningDaysInYear(13, 11, 2016) -- n contains: 48 int getSpentsDaysInYear(day, month, year) Obtiene la cantidad de días que han pasado en el año según los datos especificados local n = getSpentsDaysInYear(13, 11, 2016) -- n contains: 318 int dateToUnix(day, month, year) Convierte el día, año y mes al tiempo unix para tener un mayor control de éste mediante el unixtime (https://es.wikipedia.org/wiki/Tiempo_Unix) local time = dateToUnix(13, 11, 2016) -- time contains: 1512864000 int, int, int unixToDate(unixtime) Convierte el unixtime a datos leibles local day, month, year = unixToDate(1512864000); --- days, mounth, year contains: 13, 11, 2016 int, int, int getDateInAdd(_day, _month, _year, days, months, years) Añade días a una fecha especificada y obtiene la fecha con los días, meses y años añadidos siguendo el formato del calendario (añades 20 días siendo 12 de diciembre de 2016 te dará) 1, enero 2017 sin alterar el orden local d, m, y = getDateInAdd(13, 11, 2016, 2, 0, 0); outputServerLog(getWeekDay(d, m, y)) -- output: Martes (15) ya que Domingo (13) meta.xml Todas las funciones pueden ser exportadas, para poner el resource en español configurar en el meta.xml <setting name="*Lang" value="[1]"/> -- Cambiar a <setting name="*Lang" value="[2]"/> Link de del recurso -> https://github.com/iZume/time-functions-LUA/archive/master.zip
    1 point
  7. او انك تحفظ في ملف xml او sql راح تستخدم قواعد بيانات سواء كانت طبعا الامن يقل من اليمين لليسار والسهولة تزيد من اليسار لليمين
    1 point
  8. The elements in MTA are listed here, and they are: So excluding elements like gui, browser, fonts etc the following remain: And since the visibility has a meaning only in serverside we have but i can't see why the function should logically work with some... like server console the wiki states This is because these objects are required for accurate sync so we do not have players, vehicles, peds (not sure but you stated the above so i assume is true), objects. So the elements that work with this function may be these: Still, i'm to lazy to test
    1 point
  9. +9999. What MTA needs for future builds or next versions is to allow the use of IFPs again. Since they added that kind of "blocker" to block our modifications for no damn reason. ------------- Not here to complain or to act like a kid but, Everytime we search for answers about IFPs -> · No Results Everytime we ask basically everyone again about IFPs (even MTA Team) -> · No Answers / Ignored Forever
    1 point
  10. الأول متغير محلي يعني ما يكون الا على البلوك خارج البلوك يجي قيمة فارغة او السكربت كامل end و end البلوك يكون بين العبارة التي تحتاج الثاني متغير عام يجي اي مكان زي النمل
    1 point
  11. شباب لو سمحتو عندي جريد لست وابي اسوي ايديت يبحث فيها طبعا الجريد لست مزبطها وحاطط فيها اسماء اللاعبين كلهم ابي لما يكتب بالايديت يبحث بالجريد لست كيف
    1 point
  12. السلام عليكم ورحمه الله وبركاته اول فيديو في قناتي الجديده ادعموني بليييززز سلاموزز
    1 point
  13. اممم افهم من كلامكـ انة كودي غير صحيح؟ كودي بيشتغل تمام انا متحقق انة مع الداتا مهماً كانت قيمتها ماحددت يقدر يحدد هو او يقدر يرجع يشيلها وخلاص بيشتغل زي العسل
    1 point
  14. Could be achieved with shaders. Check this out: https://community.multitheftauto.com/index.php?p=resources&s=details&id=7615
    1 point
  15. Btw, you can also store your pos and colors like this: pos = {x,y,z}. In example: teams = { {name = "Medic",pos = {2024.141,2045.144,22.240}}, {name = "Vagos",pos = {2024.141,2045.144,22.240}}, } for _,v in pairs(teams) do local x,y,z = unpack(v.pos) outputChatBox("Team "..v.name.."'s spawn coords are: "..x..", "..y..", "..z) end -- or for _,v in pairs(teams) do outputChatBox("Team "..v.name.."'s spawn coords are: "..table.concat(v.pos,", ")) end It's easier to work with
    1 point
  16. settings['adminTag']['ACL'] is a table of tables starting with the string of an acl group these are the groups defined in the script { 'serverowner', '#FFFF00Server Owner ' }, { 'HQStaff', '#FFFF00HQ STAFF ' }, { 'Administrator', '#FFFF00Administrator ' }, { 'SeniorMod', '#FFFF00Senior Mod ' }, { 'Modgroup', '#FFFF00Moderator ' }, { 'Probationary', '#FFFF00Probationary ' }, { 'Scripter', '#FFFF00Scripter ' }, { 'Mapper', '#FFFF00Mapper ' }, { 'Premium', '#FF0000[Premium] '}, { 'VIP', '#9900FF[VIP] '}, { 'dp', '#00FFFFVeteran '}, { 'Everyone', ' ' } They are supposed to be valid: so the only reason for aclGetGroup to return false is that, even if the "syntax" is valid, the group does not exists. By default MTA has these groups: (source) Everyone Moderator SuperModerator Admin Console RPC so when the script tries to find the group that are not specified in the acl.xml file the aclGetGroup returns false and the problem starts. So if until now i did not forgot anything and didn't make any error, there are these solutions: Add a check to the script: if the group does not exists then for sure there are no players in it Edit the part of the script where the groups are defined (the part i posted above) Edit the acl (when server is off) adding these groups A mix of these is also possible. Notes: with the first solution players in groups that are not defined within the script will cause problems, so i recommend the second solution
    1 point
  17. @Gravestone i'm more interested about the content of settings['adminTag']['ACL'] It should be a table containing tables starting with the string of the acl group: if this is defined somewhere, it would be helpful seeing it. Otherwise are required all the functions that access this variable, with all the functions that calls these function, and all these functions that call these... basically all the script
    1 point
  18. The with-regex way: function isStringValid ( str ) return not pregFind ( str, "[^a-zA-Z0-9_]" ); end
    1 point
  19. عليكم السلام اخوي اكبر غلط تسويه انك تقول لواحد علمني برمجة واعطيك فلوس لان البرمجة راح تعتمد على فهمك ومحاولتك للفهم عندك قسم البرمججة مايقصر معك من ناحية واجهتك اخطاء وعندك قسم شروحات البرمجة تقدر تتعلم منه اغلب الوظائف وتركيب الاكواد وعندك في نفس القسم في موضوع خاص عن الاستفسارات بالبرمجة مثلا تبي تعرف وش وظيفة الفنكشن هذا وطريقته كيف تحط ردك بالموضوع وراح تحصل الاجابة بأذن الله وبالتوفيق ان شاء الله
    1 point
  20. I don't think he's having a problem, he thinks this is like an update topic or something. He thinks there is something that changed with the mtaserver.conf.
    1 point
  21. addEvent ( 'onClientMapStarting', true ) addEventHandler ( 'onClientMapStarting', root, function ( mapInfo ) outputChatBox ( 'Map: ' .. mapInfo.name ) outputChatBox ( 'Played: ' .. mapInfo.playedCount .. ' times' ) outputChatBox ( 'Author: ' .. mapInfo.author ) outputChatBox ( 'Last Time Played: ' .. mapInfo.lastTimePlayed ) outputChatBox ( 'Mode: ' .. mapInfo.modename ) end ) Is that hard?
    1 point
×
×
  • Create New...