Jump to content

Leaderboard

Popular Content

Showing content with the highest reputation on 01/12/16 in all areas

  1. 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
    3 points
  2. Found the reason why no one answers.
    3 points
  3. السلام عليكم ورحمة الله وبركاته يسرني اليوم أن أقدم لكم سكربتي الجديد وهو " الإسم العربي ", فكرة السكربت كالتالي الكثير منا ما يعرف أنه يقدر يخلي إسمه عربي والناس يشوفونه عربي, طيب لو قلت لك إنك تقدر ؟ بحثت بالنت عن مود مشابه لفكرتي, لكن ما حصلت فقررت أسويه, وبديت فيه أمس والحمدلله اليوم خلصته طيب, نشوف صورهـ له وبعدها نخش ع التحميل الصور : التحميل : إضغط هنا ملاحظة: اللوحة تفتح عن طريق السيريال, لذلك يجب عليك إضافة سيريالك من ملف command.lua ولتغيير أمر فتح اللوحة أيضاً من نفس الملف في آمان الله
    2 points
  4. I'm really sorry that that's what you understood from my post. I didn't mean to mock you, or @LoPollo (I know he is in fact a very good scripter himself), I just wanted to make my point. Why I used onPlayerLogin? Because in his code he is checking getAccountData so probably he is saving something there, don't you think? Probably only specific players could regenerate their hp... don't know, it's not my code. As I said, I didn't mean to mock you, but can you please elaborate on elementData being the worst? Over triggerServerEvent every 7 secs? You are stating that changing elementData when user logs in and logs out, meaning 2 "server operations" in probably at least 30 mins is worse than your code, which makes "server operations" in every 7 second, that is 1800 / 7 = 257 in 30 mins. My main programming language is C# and JavaScript, I would be glad if you could explain it to me, I'm probably just like you, trying to learn every day, whenever I can. Thanks @Simple01.
    2 points
  5. تم تصميم واجهة لـ منتدى مجتمع العرب الرسمي صورهـ لها : رايكم ؟
    2 points
  6. 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.
    1 point
  7. tools needed to replace a texture MEd (http://www.gtagarage.com/mods/show.php?id=1053) Alci image tools TXDWORKSHOP LET'S GET STARTED STEP 1 : finding the id of the object which you want to edit/replace to find the object id open map editor and then objects their id will be written on the right side step 2 : finding the texture name to find texture name you need med tool, after downloading med tool follow the step which i do in these pics -open MED TOOL, then LOCATE YOUR gta sa location and click ok -then click on find -then type the object id and tick the id then click on find -after finding the ID DOUBLE CLICK IT - NOW COPY THE TEXTURE NAME FROM THERE STEP3- EXPORTING THE TXD FILE WHICH YOU WANT TO REPLACE -OPEN ALIC'S IMG TOOL AND THEN OPEN GTA.IMG FILE WITH IT -PASTE THE TEXTURE NAME IN THE SEARCH AND CLICK ENTER -AFTER YOU FIND YOUR TXD FILE CLICK ON ACTION THEN EXPORT IT WHERE EVER YOU WANT STEP4 - EDITING THE TEXTURE -OPEN TXD WORKSHOP AND OPEN YOUR TXD WHICH YOU EXPORTED WITH ALIC'S IMG TOOL THEN EXPORT THE TEXTURES IN PNG FORMAT AND EDIT IT WITH ANY IMG EDITOR TOOL -REPLACE THE EDITED PNG BY DRAGING IT ON THE TXD WS AND THEN SAVE IT - STEP5- CREATING LUA FILE AND EDITING META FILE -CREATE A FOLDER IN YOUR MAP FOLDER WITH TEXTURE NAME OR ANY OTHER NAME YOU WANT AND COPY THE EDITED TXD FILE INTO IT NOW CERATE A LUA FILE AND TYPE THIS INTO IT -ADD THIS IN YOUR META FILE DONE HOPE YOU like my tutorial
    1 point
  8. @[6ArH]#~Ecoo~ تصحيح addEventHandler('onPlayerWasted',root, function() setElementData(player, "Data", (getElementData(player, "Data") or 0) + 1) end )
    1 point
  9. الفكرة مش كويسة و حرام يعني م تقدر تسوي الحركات نفسها الي يسويها المصلي واي خطا في الحركات يعتبر استهزاء ...
    1 point
  10. السلام عليكم ورحمة الله وبرركاتةة تبي تلعب اررما 3 نظام داي زاي وجهازك مايسمح لكك ؟ server ip : 185.5.52.6:27029 فتحنا سيرفر عربي بنظام شبيه تماما بأرما 3 | Arabic DayZ | طبعا السيرفرات الاجنبية كثيره بالنظام هذا | وحبينا نفتح سيرفر خاص بالعرب | =================(اكتب بالبحث " Arabic DayZ ")=============== طبعا للي مايعرف وش الداي زاي ّ. || هو نظام حياة واقعية او اسلوب العيش والسرفايفل || || تحاول تبحث عن اكل واطعمة واسلحة عشان تعيش || || وتحذر من مصاحبة الاعبين الاخرين لأنهم اذا قتلوك راح ياخذون اغراضك || || تستطيع تبني خيمه وتقتل الحيوانات وتطبخ لحمهم عشان تقدر تاكله وتستخدم جسدهم كـ(لبس لك )ئـ|| || والسيارات قليلة ونادرة واذا وجدت نادرا ولازم تركب لها كفرات ومكاين وايضا بنزين و علبة زيت || || تربية الكلاب والنمور وترويضها لتصبح مدافعه عنك وتصاحبك|| || المميزات || 1- نظام الخيم 2-نظام التصنيع 3-نظام الطبخ على النار 4-نظام قتل الحيوانات واخذ لحمها 5-نظام قتل الحيوانات وستخدام جسدها ك لباس 6-نظام تركيب السيارات وتجميعها 6-نظام الفاكشنات 7-نظام البحث عن الاشياء بداخل البيوت 8-نظام الاكل والنوم والجنس 9-نظام التكاثر والتزاوج 10-نظام ترويض الحيوانات 11-نظام تكاثر الحيوانات "عليك جمع الانثى مع الذكر" 12-نظام الاستكشافات 13-نظام الانسداح او الانبطاح على الارض 14- اضافت سيارات خردة او قديمة بالمعنى الاصح 15- اضافة سيارات جبلية وصحراويه ==============(ِ Arabic DayZ )================= طبعا السيرفر جديد , حاول تدخل وتاخذ محلك "تمسك رتبه" وبسسء استمتعوء
    1 point
  11. 1 point
  12. I think the custom fadeout is a bit complicated, so it would be difficult to understand it right away. I made a simple window animation, with the same principles as the custom fadeout. And this is the working custom fadeIn and fadeOut:
    1 point
  13. Is there a list of limits that are adjustable? The gtaforums.com topic says "The only ID limits that can't be adjusted: DATLoaded listRequested list" but it says "ID limits" so is the limit adjuster just ID limits or does it also include streaming limits? As the current streamed in object limit is too low. If the amount of sponsorship's on the MTA bug tracker was a measurement of interest: "Add opportunity to add new ids for: objects, skins, vehicles, weapons." has by far the most interest ever: https://bugs.mtasa.com/view.php?id=6571
    1 point
  14. One more thing about the story You will meet max payne too *Added Location Display *Used Districts Resource* *Better Radar *Cleaner F11 Map and added San Vice aircraft carrier to it *Added new weather system - It will change the weather after some time - Custom weather names - Custom Weather order (For example i didn't use weather 0 , 1 etc , i only used the vice styled ones , mostly from San fierro and Las venturas) *Updates to Haiti and HaitiN (No prelight yet , first im working on all the models , then i will do lightning fixes , or maybe i will remake the whole map without prelight , it should look good but bad for people which like prelight) And yes , these Houses down there | don't have the textures on the roof , im using not completed vice cry version which was done on gta v engine , why? because by an accident my vice city img got corrupted V
    1 point
  15. برضو يبيلك تستخدم الداتا +_+ وحطها على الاكاونت افضل في شرح بقسم دروس البرمجه واسف ما انتبهت لذي النقطه
    1 point
  16. معلش كل تأخيره وفيها خيره يا قلب ههههههههههههههههههههه احتمال والله
    1 point
  17. تستاهل كل خير .. هذيلي يمكن فانز حقينك .. معجبين فيك ههههههههههههههههههههههه
    1 point
  18. احسن من قلك تتاخر
    1 point
  19. If the player is near enough to the point AND he has the money the code from and including line 3 to line 13 will be executed. In fact the end at line 14 closes the if at line 2. The code after the end will be executed regardeless if the above code gets executed. To make the notification appear only if the above code got executed you have to use the "else" statement, as you may know local someCondition = true if someCondition then --code gets executed if someCondition is true else --this code will be executed if someCondition is NOT a true-value (i.e. false or nil) end BUT If the player is not near enough the code block will also be skipped. So we must split the split (or, not recommended, recheck the value) function rentCarFuntion ( player ) if getDistanceBetweenPoints3D ( -1981.5, 128.5, 27.6875, getElementPosition(player) ) < 2 then --the player is near if getPlayerMoney >=25 then --he has the money rentCar[player] = createVehicle( 462, -1982.959, 122.84863, 27.6875, 0, 0, 90, "Rent" ) warpPedIntoVehicle( player, rentCar[player] ) takePlayerMoney(player, 25) outputChatBox ( "You rent car!", getRootElement(), 0, 255, 0, true ) setTimer( function () destroyElement(rentCar[player]) outputChatBox ( "Transport's rent over", getRootElement(), 255, 0, 0, true ) end, 600000, 1 ) else --he does not have the money outputChatBox( "Not enough money! Cost is: 25", root, 255, 0, 0, true ) end end end addEvent( "rentroller", true ) addEventHandler( "rentroller", getRootElement(),rentCarFuntion ) addCommandHandler("rentroller",rentCarFuntion )
    1 point
  20. @Simple01 Just my opinion, but i think that a server side timer is still better than a trigger every 7 seconds. For the rest, i agree. PS: still i hate timers
    1 point
  21. واصل يا كبتن بانتظار حصرياتك باذن الله مبدع لكن يبيلك شوية تعديلات خفيفه يعني مو معقوله كل مره الشخص يفتح اللوحه يدوس التغيير حق اللغه فافضلك تتعلم الداتا
    1 point
  22. Guess you would know all about it, considering that you are playing there every day in last several years. Oh, wait, you were banned ages ago for trying to make your own server with our resources.
    1 point
  23. Well, obviously, it would allow to add lots of new cities in SA. Not sure if FLA is working on vehicle ID limits, but would also be nice to add new vehicles instead of replacing them. As for implementation: my personal approach here: do not touch original GTA SA files. I don't want to force users go somewhere and download custom files, I want random user that discovered my server accidentally being able to join and get all he needs within MTA window. With this approach you are forced to use scripts or MTA maps to create enviroment. This means all created objects would be handled by MTA streaming logic. And here is the problem - to make limits work full strength you'll have to rewrite streaming. Cause default MTA streamer with huge amount of objects displayed at the same time just not working. For instance: on Vice City map in some areas you can't see ahead more than 100-200m. You should have at least 500-600m minimal draw distance to make the immersion feeling that it is a full scale city. When objects appear in front of your nose you definetly not feeling that. You can achieve higher draw distances by implementing custom streaming logic and loading objects dynamically in Lua, but how many scripters are skilled enough to make it work properly? I guess we are talking about the mass product here. And in the end you would not be able to significally improve draw distance anyways.
    1 point
  24. A few years ago I was able to this on the EIR branch: The limitations were pretty much the only thing that was holding us back for a long time. We had to wait for MTA 1.4, and we were told that the EIR branch would be merged with the main on a relatively short term. This never happened unfortunately as the development of EIR had stopped and we lost interest in our project as well. While we don't have plans to finish it anymore, I've still been hoping for the developers to continue working on EIR again to atleast increase the limitations in MTA. Technical note: I would use the limit adjuster through MTA's own Lua functions unless there'll be a better way. I don't like players to have to restart the game in order to see the increased limitations or anything. I'd just like to see increased object limits and the ability to add new objects without replacing existing ones. That's my dream for MTA.
    1 point
  25. Witam wszystkich Jeśli jesteś spragniony wrażeń i chcesz ścigać się na jednej z ponad 3000 map dostępnych na serwerze , lubisz dobrą atmosfere to 2paq race server jest miejscem dla Ciebie! 2paq race server powstał w 2006 roku i został założony przez gracza ACP W czerwcu 2016 roku zostaly zorganizowane obchody 10 lecia serwera O to filmik z obchodów 10 lecia Circuit Event Turniej finałowy 10 lecia Trailer serwera z roku 2007 Video z przykładowego Eventu na serwerze Co oferuje serwer 2paq? - organizacja eventów turniejów i lekcji jazdy - player muzyczny dostosowany do potrzeb gracza - klasyczne pojazdy oraz podmianki - rywalizacja na ponad 3000 map (liczba stale rośnie) - możliwość tworzenia własnych klanów - system clan war do organizacji wojen klanowych - skrypt naliczający czas przejechanego okrążenia (dotyczy map typu circuit) - 3D line , linia pokazujaca zalecana droge do przejechania w najkrotszym czasie wyscigu - dojrzałe grono adminów (żadna niekompetetna osoba nie posiada praw admina) SERWER NIE POSIADA SYSTEMU PIENIEZNEGO I MOZLIWOSCI ZAKUPU MODYFIKACJI POJAZDOW STAWIAMY NA KLASYCZNA RYWALIZACJE BEZ ZBĘDNYCH DODATKÓW Serwer posiada swój wlasny klan [2RT] 2paq Racing Team którego liderem jest [2RT]Wojak_PL Klan istnieje od 2006 roku Rekrutacja jest otwarta Zasady dołączenia http://2paq.cba.pl/forum/viewthread.php?thread_id=46 Grono Adminów [LSR]Magik - Admin , organizator eventow i turniejow [2RT]Wojak_PL - Admin , skrypter , najwazniejsza postać na serwerze [2RT]BruceAlice - moderator Podstawowe informacje Pełna nazwa serwera 2PAQ SERVER CLASSIC/RACE/MUSIC/FUN/EVENTS/TOURNAMENTS IP SERWERA 188.68.249.130:20476 ADRES FORUM http://2paq.cba.pl/news.php Każda pomoc w rozwoju serwera jest mile widziana Jesli jestes grafikiem bądź masz swieza glowe pelna pomyslow na pewno docenimy Twoje starania Polska amatorska scena race upadła w przeciągu ostatnich lat ze wzlegdu na odejscie graczy w strone DD/DM oraz RolePlay Przywrócmy Race stary blask Zapraszajcie graczy , twórzcie klany i rywalizujcie DO ZOBACZENIA NA 2PAQ RACE SERVER
    1 point
  26. تضييع فلوس , لعدة أسباب : 1- اللعبة مش مثل أول لا يوجد عليها طلب خصوصا اني اقدم الخدمة مجانا وتفعيل تلقائي ولا أرى في تفاعل مثل اول زمان كنت أبيع وأربح بحدود 300 $ شهريا فقط من الألعاب 2- كثرة الأستضافات العربية كل يوم أرى أستضافة عربية فاتحة وبعد 10 أيام تسكر وهدة أدى الى عدم ثقة المستخدم العربي بالاستضافات العربية 3- حاليا أرى توجه أغلب أصحاب سيرفرات الى شراء خادم أفتراضي للتشغيل السيرفر.
    1 point
  27. الا صحيحة احتمال انت حطيتها في الملف المشفر وخرب ههههههههه
    1 point
  28. Actually saying SA-MP was first is a mistake many people make. MTA:SA came 4-5 months before SA-MP, however it did come out only as Race but then again still before SA-MP. As for one of the big reasons why SA-MP has bigger playerbase, it's this: This is what one who is completely unfamiliar with GTA:SA's multiplayer options would google, and what they would get as their first option. I personally started with SA-MP back in 2008 and didn't know about MTA until 2010 which is when I started playing MTA as well, I was still playing SA-MP from time to time while MTA was my main focus until I got banned on SA-MP's forum for mentioning MTA a year ago, then I fully transfered to MTA:SA and also made sure to defrag my disc after uninstalling SA-MP to make sure not even a small bit of that mod is left on my PC Also, pardon the Croatian from google, I hate it as well
    1 point
×
×
  • Create New...