Jump to content

Leaderboard

Popular Content

Showing content with the highest reputation since 03/09/16 in Status Updates

  1. Woop woop, look who has accumulated 1,000 posts.
    8 points
  2. This is a [beta] release for the turret resource. The resource is about creating turrets in your world and assigning owners to it (account-names). Followers/profile visitors will be able to download the resource before anybody else. See [BETA] download below. The resource will be available on the community once all ? are found and important features (from you guys?) are implemented. Feature list: Custom rockets (Customizable through Lua scripting) The behaviour of rockets are writing from scratch. Heat-seeking ones even support re-sync position/orientation. Turret creation and management Replace all rockets with custom ones (Feature can be enabled/disabled through the resource settings) Easter egg Can be found within area69. Once triggered something will change in the game. Resource settings in admin panel: The available settings will enable and disable the replacements of default rockets with custom rockets. On foot (recommended ping < 150) Vehicle (recommended ping < 80) If the recommendations are not met, nothing bad will happen as you can't get hit by your own rockets, but it might look a bit weird for the rocket creator ?. The rockets are created serverside, this means that the one that creates them will notice a delay[ping] between firing and seeing the rocket. For the other players the moment of creation should look OK. Open GUI? Login as admin Command: /turret Features: Add/remove turret Multi user support (limited to 1 editor for each turret) Set position/orientation Add/remove turret owners (account-names) Pros custom rockets Re sync heat-seeking rockets Multi syncers More reliable rocket speed. People with low FPS will see the same speed as players with high FPS. Customizable without GTA restrictions. Can be created serverside. Cons custom rockets More CPU will be used to compute the custom behaviour of the projectiles. (Serverside as well as clientside) More data will be transferred between client and server. Not streamable from clientside. (Creates a delay[ping] for the rocket creator) Developers: @Ayush Rathore (database) IIYAMA ? Special thanks to: @majqq @Ayush Rathore @ViRuZGamiing @Shux [BETA] Resource download: turrets.zip Enjoy. Don't forget to leave some feedback! Hint for the easter egg, if you can't find it. ?
    7 points
  3. WIKI Yesterday I added my first wiki page. Which is not necessary something you call 'news'. But it was a lot of fun figuring out how the interface actually works. It is to be honest not very beginner friendly, even though there is a lot of documentation added. documentation The page/function which I added to the useful functions list: https://wiki.multitheftauto.com/wiki/CheckPassiveTimer This useful function allows you to use passive timers in your conditions. For example you want to prevent players repeatedly using a command. I named the function 'checkPassiveTimer', not sure if that is the best name for it, since it it does SET, CHECK and UPDATE, (+ Clean up cycle), depending on the situation. Checking is what you expect it actually does, so I picked that one. addCommandHandler("candy", function (player) if checkPassiveTimer("candy timer", player, 5000) then outputChatBox("YES, EAT!", player) else outputChatBox("NO CANDY FOR YOU!", player) end end) Does anybody have any suggestions/idea's/?? Or more experience than me with the WIKI + suggestions or improvements for the format?
    4 points
  4. Hey people, how is prison? ? In 2015 I released a beta version of a resource that created driving trains. But unfortunately I never finished it. So that is why I am making a final update for it, including rewriting and cleaning the old code. The this version will be uncompiled, so you can adjust it like you want. It will take some more days to finish it, so be patient. I can send you a pre-version, if you like to try it out before the release. No requirements for a pre-version, just a little bit feedback would be nice. To receive the pre-version, send me a personal message and I will send you the version within 1-3 days. The old topic:
    4 points
  5. I have added a useful function to the wiki, for positioning dx-effects: https://wiki.multitheftauto.com/wiki/GetScreenStartPositionFromBox Enjoy! ?
    3 points
  6. Hi there, what are you looking at? Ah this, I have uploaded V1.0.2 of the draw distance resource. This resource helps with displaying objects that are normally streamed out. Your maps (even if you are not a mapper) will become a lot more beautiful! Enjoy the resource as well as your well deserved WEEKEND!!!!
    3 points
  7. Game developing here I'm coming!
    3 points
  8. Hey people, that some how get once again another super annoying pop-up... I just wanted you to know that I kept my promise, project trains V2.0.0 is out with open source. It took a little bit longer to clean up the old code, so `soon` was unfortunately not so soon. If you want to edit it, I have to apologies that I didn't clean up all the inconsistency within the code style. But never the less it has tabs and comments ?! I wish you the best of luck in these crazy times!
    2 points
  9. It took a while before I had time for explaining an enchantment which I created a while back, but I finally wrote a topic for it. Just another enchantment topic/tutorial. This time it is about communication between serverside and clientside. The context of what will be enchanted These 2 sides will have communication with each other: serverside > code that runs in the server application. Program Files (x86)\MTA San Andreas X.X\server\MTA Server(.exe) clientside > code that runs on all clients/players > game application. Program Files (x86)\MTA San Andreas X.X\Multi Theft Auto.exe In most cases there is just 1 server. And there might be more clients / players connected to that 1 server. If you already know how client/server trigger events work, then it is still worth looking at. It is an enchantment, which means it does things for you, so less code is needed to achieve something complex. There are some stupid jokes included, which are actually really bad... sorry. It is suppose reduce the cognitive load of the content by letting the reader first visualize the context before explaining it. (it is a method)
    2 points
  10. دعوةمرحباً صديقي , اتمنى انك في تمام الصحة و العافية ..أود سماع رغبتك في قبول دعوتي لدخول سيرفر فقط لنتجمع فيه , ثم سأقوم بتحويل الجميع لسيرفر [Gta-Ar] , سيرفر حرب العصابات المشهور و المعروف و هو السيرفر الأول عربياً .سيكون هذا التجمع يوم الخميس القادم , أتمنى ان ترد علي ب لا او نعم , لكي أقوم بإعطائك أي بي سيرفر التجمع في أقرب وقت .
    2 points
  11. /\ / \ / \ / \ / \ ---------- For those who have already downloaded the tool I post. I found and removed a critical bug in it, which had to do with calling back the client. While testing (alone) I didn't notice that it was sending information back to all clients instead of the one that should receive it. My apologies about this. Change in the source code: https://gitlab.com/IIYAMA12/mta-communication-enchantment/commit/c425481b5e49da3ff4aab9b5552795e2f2563e98 It is recommended to re-download the tool in that case. NOTE: I will not make feature announcements here, only critical bugs. Re-download
    2 points
  12. MTA-Communication-Enchantment It is finally far enough in development to share this with you. I made an announcement a few days ago about solving some struggles, that people have with communicating between the server and the client. Today is the day that it isn't just rumour, but for you to use. Before I am going to write a topic for it, I prefer to solve any unknown issues first. That is where you guys might come in! Just an example:(1) Passing arguments like you used to@ --CLIENT callServer("passingArguments", "arg1", "arg2", "arg3") -- SERVER function passingArguments (arg1, arg2, arg3) outputChatBox(arg1 .. " " .. arg2 .. " " .. arg3, client) end Just an example:(2) Calling back! -- CLIENT callServer( "calculation", 50, 100, function (value) outputChatBox("Value: " .. value) end ) -- SERVER function calculation (value1, value2) return value1 + value2 end Just an example:(3) Calling before a client has loaded his scripts! --SERVER addEventHandler("onPlayerJoin", root, function () callClientAwait(source, "testCallClientAwait") end) -- CLIENT function testCallClientAwait () outputChatBox("Yes this works!") end Thank you @Xwad and @JeViCo for early testing! Repository: (+ download) https://gitlab.com/IIYAMA12/mta-communication-enchantment [NOTE] The documentation on the repository is not 100% complete. Direct download link: [NOTE] On the repository there is syntax highlight https://gitlab.com/IIYAMA12/mta-communication-enchantment/-/archive/master/mta-communication-enchantment-master.zip
    2 points
  13. Using one addEventHandler on a group of elements? Answer: local group = createElement("groupMyCutePeds") -- Create a custom element and save it in to the variable <group>. -- Create 3 peds. local ped1 = createPed(120, 5540.6654, 1020.55122, 1240.545) local ped2 = createPed(120, 5541.6654, 1021.55122, 1240.545) local ped3 = createPed(120, 5542.6654, 1022.55122, 1240.545) -- Set the parent of the 3 peds. setElementParent(ped1, group) setElementParent(ped2, group) setElementParent(ped3, group) -- Add an addEventHandler and use the <group> as <attachedTo> element. addEventHandler("onPedWasted", group, -- "onPedWasted" = serverside. "onClientPedWasted" = clientside. function () outputChatBox("One of my cute peds just died. ;'( No exceptions!") end) (untested muhahaha :D)
    2 points
  14. Back from my vacation, lets go.
    2 points
  15. MTA is like a drug, it's hard to exit from it.
    2 points
  16. I just came back from a long break because of an another motorcycle accident. Feels awesome mate.
    2 points
  17. 2 points
  18. As soon as I finish developing an IDE for Pawn(SAMP), I'll start developing an IDE for the MTA.
    1 point
  19. 1 point
  20. Creating a Roleplay/RPG server? Today I have added a utility function to the wiki, which you might want to use. https://wiki.multitheftauto.com/wiki/GetPedGender --[[ The command /gender will display the gender of your player/ped element. ]] addCommandHandler("gender", function () outputChatBox("My gender: " .. tostring(getPedGender(localPlayer))) end)
    1 point
  21. حتى هنا ملاحقني سلاماات ?
    1 point
  22. 1 point
  23. 1 point
  24. An example of a nice and simple way to add 'time driven' animations to your MTA creations.
    1 point
  25. 1 point
  26. 1 point
  27. Lol, I am the old founder of fts. Anyway, I sad I don't help bcs I don't play mta, just wanted to release our MGM for other servers. If it's not allowed then I just don't release it. Have a nice day.
    1 point
  28. Thank you, that often help!
    1 point
  29. For those who haven't seen it yet. There is since yesterday a tutorial available about scaling DX components on the tutorial section. This tutorial can also be user for other types of user interfaces, like the MTA GUI or DX libraries.
    1 point
  30. Solo quería decir que eres buen scripter y están buenos los scripts que haz publicado en la comunidad
    1 point
  31. .بالتوفيق... سيرفر فخامة اكثر من رائع..والمودات اكثر من رائعة.. واصل نحن بانتظار المزيد من الابداع SAMURAI
    1 point
  32. [EU NÃO MORRI NÃO] Me mandaram print ae de nego dizendo que dei calote em cliente, ou morri. NÃO ACREDITEM NESSAS COISAS! Meu perfil foi bloqueado, e como só tinha eu de administrador na página de scripting e na do meu servidor foram bloqueados também. Clientes, fiquem tranquilos, seus pedidos estão salvos no meu banco de dados, agora mesmo eu ainda estou produzindo mods.
    1 point
  33. يعطيك العافيه رسلت لك بالخاص
    1 point
  34. لك خبره في برمجة ؟ تعرف تسوي مثلا شات لاعبين
    1 point
  35. شخبارك ي عسل من زمان عنك لك وحشه<3
    1 point
  36. 1 point
  37. 1 point
  38. Love how you talk to noobs not willing to learn man
    1 point
  39. Hey man. I have tried all posible ways to use function setInteriorFurnitureEnabled(i, false) function removeAll () for i = 0, 1, 2, 3, 4, do -- will Disable All .. setInteriorFurnitureEnabled(i, false) end end addEventHandler("onResourceStart",resourceRoot,removeAll) _____________________________________________________________ local Disable = {1,2,3,4} for _,i in ipairs (Disable) do setInteriorFurnitureEnabled(i, false) end _______________________________ Can you help me man?
    1 point
  40. مشتاقلك ي هيوان #
    1 point
  41. 1 point
  42. 1 point
×
×
  • Create New...