Jump to content

Leaderboard

Popular Content

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

  1. Welcome everyone. I want to join the MTA team and make some changes to the MTA source code. Who to contact? How can I start?
    4 points
  2. oh yea about the server and client functions ,i do mix between them a lot ,thank you for noticing i will edit it and contact you with news. now i have added these functions to the server side and triggered it ,now every one can use F1 also it created a bug and now i can't spawn anything -- server part addEvent("onPlayerJoin",true) addEventHandler("onPlayerJoin",g_root, function () if not player then player = source end local accName = getAccountName ( getPlayerAccount ( thePlayer ) ) -- get his account name if isObjectInACLGroup ("user."..accName, aclGetGroup (
    2 points
  3. This could be the #1 request of all time and it would be amazing to see this someday. Draw distance is the mayor drawback in MTA. Especially when you have placed so many objects, that it gets decreased below the 300 meter limit.
    2 points
  4. 2 points
  5. max = 5 function setTeamPolice(player) local police = getTeamFromName("police") if #getPlayersInTeam(police) < max+1 then setPlayerTeam(player,police) end end addCommandHandler("police",setTeamPolice)
    2 points
  6. The MTA codebase is entirely written in C++ with some parts written in inline assembly. The modelinfo array is referenced all across the game_sa and multiplayer_sa code, but Lua does not have direct access to any memory locations. All you can do from Lua is to call C++ functions, which then do something.
    2 points
  7. Tell me what is MTA codebase made of. Is it C++ code or something else as well? I'm thinking about the LUA. Suppose it gets rellocated: .data:00A9B0C8 ; CModelPeds *CModelInfo::ms_modelInfoPtrs[20000] .data:00A9B0C8 _ZN10CModelInfo16ms_modelInfoPtrsE dd 4E20h dup(?) Where would 0xA9B0C8 get referenced? Only in the MTA C++ code, where the value could be found or in the LUA as well? I'm using the Github for Windows and cloning the MTA at the moment.
    2 points
  8. Hello. This resource adds to your server Message Box (Personal Messages). Here's realized new style of sending and getting messages - like in new popular mobile messengers (telegram, for ex). In functionality - replacing theme of menu, and disabling notifications. If you want custom notifications, heres maintenance this resource. Scrolling carried with middle mouse button and by swiping left mouse button (simulation of touch screen). Here some screenes Video (low quality, sorry) Unread messages is colored in dialog list, selected user too. For open settings
    1 point
  9. السلام عليكم ورحمة الله و بركاته .. اخباركم ان شاء الله بخير يا الاعضاء مجتمع العرب الرسمي .. حبيت اقدم لكم واجهة خفيفه و بسيطة لعيون اصحاب استضافات و مواقع .. طبعا الواجهة مصممه لـ اوبن قيم لاكن تستطيع تركيبها اي مكان .. صورهـ : يوم تضغظ علي زر يتغير + كلام تحت حقوق يكبر و يصغر حركة جميلة جميع الحقوق محفوظة : سعد الغامدي .. مجتمع العرب .. ارجاء عدم نقل الى اي منتدى اخر و شكرآ .. رابط التحميل بمنتدى رسمي : http://www.mtaarabs.com/vb/showthread.php?p=1634#post1634 بتوفيق للجميع ~ ---------------------------------------- - يسرنآ تسجيلك معنآ . http://www.mta
    1 point
  10. MTASA.com Hosting section needs to be updated. (https://mtasa.com/hosters/) My friend made a mistake trying to buy a €10 MTA Host from delux-host.com. He was charged, but did not receive any mails from host company, neither he can log into his account on the website. I think it would be best for MTA Devs to remove this hosting provider from the list as it is non-functional right now.
    1 point
  11. السلام عليكم ورحمة الله وبركاته موضوعي هذا بيكون عن شي - ( فكرة جديدة يعني ) - سويته وحبيت اشوف رأيكم فيه طبعاً هو شي منوب وسهل بس هدفي منه هو التجربة والتجديد المهم هاذي صور من اللعبة ..................................................................... ..................................................................... ................................................................................................................. فكرة اللعبة انك تتحرك بالأسهم وتاخذ الاشياء اللي تظهر لك وتكسب فلوس - رقم عشوائي وبس ههههههه اتمنى اعرف رأيكم في هذا الشي وهاذي البداية المنوب
    1 point
  12. Well as more time passes more scripts get leaked / released therefore people have a lot more to start with. Take roleplay for example, few years ago it was Valhalla Gaming and ShoDown or whatever it's name was which used vG's older script. Now since vG's script was leaked there are :~load of RP servers, both non English and English server and ofcourse quite an amount of those are with inexperienced people as you said it yourself that are mainly in it for the administrator position. And I'm pretty sure that the same goes with the other scripts, more released on community, more tutorials arou
    1 point
  13. كفوو.. انشاله نشوفك من مصممين الالعاب الكبار
    1 point
  14. Atom (https://atom.io) UI Theme: Atom Material Theme: Apathy Packages: linter, linter-lua, language-lua
    1 point
  15. Oh sorry I thought you were speaking of the shaders; for the parts yes custom variants may be the case.
    1 point
  16. It works, but it strange. Look, i switch createObject and colCircle and it's true, but it is strange.. I need to create in colshape objects and later check them counts..
    1 point
  17. hello,today i had to learn how make the freeroam (F1) only for ACL admin , but it output a debug notice Error: freeroam\fr_client.lua:1596: attempt to call global 'getPlayerAccount' (a nil value) addEventHandler('onClientResourceStart', g_ResRoot, function() local accName = getAccountName ( getPlayerAccount ( thePlayer ) ) -- get his account name if isObjectInACLGroup ("user."..accName, aclGetGroup ( "Admin" ) ) then -- Does he have access to Admin functions? fadeCamera(true) setTimer(getPlayers, 1000, 1) bindKey('f1', 'down', toggleFRWindow)
    1 point
  18. Oh sorry, I made a typo, there was an "and" before the "then". function customMeCommand(message, messageType) local playerName = getPlayerName(source) local message = string.gsub(message, "#%x%x%x%x%x%x", "") if not isPedDead(source) then if messageType == 1 then cancelEvent() outputChatBox("** " .. playerName .. " " .. message .. "", getRootElement(), 192, 162, 216, true) end end end addEventHandler("onPlayerChat", getRootElement(), customMeCommand) Try now please.
    1 point
  19. You are mixing up client side and server side functions so much. #1: onClientResourceStart is obviously a client sided event but --> #2: getAccountName is a server sided function. So, you must do the whole script server side I guess, I'm not sure what do you want to do, but if you want to get the account name of the player you must do it server side. #3: Who is thePlayer? You must define it somewhere and somehow on server side, on client side you can simply just use localPlayer in some scenarios. #4: On server side you must specify the player whose camera you want to be f
    1 point
  20. normal report /report in the panel i wan't when a player takes a screenshot and type /report in he report panel it has screenshot the player can click on screenshot and veiw it and send report
    1 point
  21. Loading something in render means that the load happens about 36 times (default fps cap), in one minute there will be 2.160 elements loaded. Loading them when switching means that probably the shaders will get loaded 0-4 times per GAME... but if you get crazy and spam the switch, how many objects will be loaded? While in a case like the render one it's critical, in you case is more like a "right" thing to do After spamming a bit, how many elements are owned by your resource (in performanceBrowser)? EDIT: i also noticed that you are destroying in unloadTile the vars tile.shader
    1 point
  22. Yes, check your previous comments on what fastman is now trying to achieve, to see where this is about; (also check https://bugs.multitheftauto.com/view.php?id=9368)
    1 point
  23. نتشرف فيك وفي الجميع وحياك الله معنا بالنسبة لمشكلتك تم اضافة ستايل / واضافة لتفعيل استايل الجوال عند دخول المنتدى من الجوال تلقائياً نتمنى تبلغنا اذا فية مشاكل هنا او هناك شكراً لك نتمنى لكم اطيب الاوقات معنا
    1 point
  24. Don't mind my C# behaviour lol I was wrong here. Didn't ever look this up for LUA so now I know. We learn everyday I guess
    1 point
  25. From the wiki: Note: This function can not set more than <maxplayers> as defined in mtaserver.conf. Using https://wiki.multitheftauto.com/wiki/SetServerConfigSetting might work.
    1 point
  26. 1 point
  27. Good. It shouldn't be that hard then. I'll continue tommorow.
    1 point
  28. _outputChatBox = outputChatBox function outputChatBox( text, visibleTo, r, g, b, colorCoded ) _outputChatBox("Robot: "..text, visibleTo, r, g, b, colorCoded) end outputChatBox( "test" ) I always thought it would have thrown an error, thank you!
    1 point
  29. I'd advise against TortoiseSVN, there's no need for it. Probably something like GitHub for Windows is much easier to get up and running. This guide has more or less everything you need to know: https://wiki.multitheftauto.com/wiki/Compiling_MTASA There's really more much to developing on a large project than simply applying patches. MTA's codebase is very large in nature, and there are likely to be some integration challenges involved as well as harmonizing with our own coding standards. Good luck.
    1 point
  30. Thanks for replies. At the moment I only want to make the MTA compatible with the FLA. Some addresses are reallocated and the C++/ASM code will have to be altered. I need to learn how to use a Github and make changes to the MTA project, submit changes to it. I'm using Visual Studio 2015. fastman92 limit adjuster
    1 point
  31. That's right because the definition of an MTA contributor/developer (someone who actively develops our codebase) is different from MTA team, which is a title you get by broad recognition that only the devs who play(ed) a key role in making MTA what it is /those who lay MTA's foundation have (not of added value while developing for MTA). As a contributor, which you're looking for to become, you can create pull requests with your patches/feature implementations. Your chances to ever get any official status such as on forums depend on your own performance, if you become well known for your g
    1 point
  32. Hi! Thank you for taking an interest in contributing to our project. Multi Theft Auto: San Andreas is an Open Source software, so anyone who feels confident in C++ (and/or possibly other utility languages we use) can contribute to the code base. A good start would be to check out our project page at GitHub, or more specifically - our README: https://github.com/multitheftauto/mtasa-blue/blob/master/README.md. After giving that a read, you might want to read our Coding Guidelines as well (which are also mentioned in the README): https://wiki.multitheftauto.com/wiki/Coding_guidelines. T
    1 point
  33. B4: After: Redone More trees:
    1 point
  34. Finished OceanView Hotel *New Vegetation *New Model *New Textures *Original Interior (Will change asap when i will find a good texture)
    1 point
  35. احس البعض لو عليه بيحذف الامثله من الويكي ويجلس يتفلسف ويقول تعلم من نفسك ترا كود ماركر بسيط يقراه ويفهمه جاهز ويفهم كيف اكواد اللعبه كيف تشتغل والمشكلة نص الي متعلمين هنا كذا بدايتهم يفتح مودات مو مشفره ويقرا ويعدل لين فهم , ويوم احترف قام يتفلسف ويقول لا تعطوا جاهز Lua لغة الجافا سكربت الي تعتبر اصعب من lua فهمت الاساسيات وبديت اتعلم عليها وافهمها اسهل من بسبب المدرسين والمبرمجين الي يعطوا امثله توصل لبناء موقع كامل ويقلك كيف لو تبي تسوي الشي الفلاني و يعلمك طريقة تفكيره وانت تبدا تبحر وتتعمق الفكره باللي يبي يتعلم والي ما يبي يتع
    1 point
  36. We could trial a "Question / Answer" system which is designed for this. The idea here is that you pick the best answer and the forum automatically marks it as resolved.
    1 point
  37. MTA'nın 1.5 versiyonu, bizlere yeni olasılıklar getirmeye devam ediyor, genellikle 'browser' üzerine yapılan değişiklerin tüm listesi aşağıdadır. ana değişiklikler; MTA'ya gömülü bir internet tarayıcısı anayüzü eklendi. yeni 'browser' fonksiyonlarıyla kontrol edilip değiştirilebilir. Işıklandırma fonksiyonları eklendi. client yenilikleri ve değişiklikleri; -Enabled low fragmentation heap for XP to reduce memory allocation problems. -32 bit işletim sistemi kullanan kullanıcıların yaşadığı kopuklukları ve çökmeleri gidermek için otomatik TXD boyutlandırma eklendi. -dxCreateFont fonksiyonu
    1 point
  38. Cezanın kalkması için beklemen gerekiyor. Ayrıca yöneticiye mail ve mesaj attığın için daha da kızdırmışsın adamı. Biraz sabredip beklemek en iyisi şu anda senin için
    1 point
×
×
  • Create New...