Leaderboard
Popular Content
Showing content with the highest reputation on 10/01/20 in all areas
-
Hi everyone! Release small, but maybe useful resource for servers with default map without any mapping. This resource allows for you use getGroundPosition (without Z axis) on server-side. How it works? All map heights wrotten to file, and resource just read it for get Z position. Not 100% accuracy, but anyway it works. What bugs you can detect with this resource? 1. Float positions will be always rounded to nearby integer. 2. If you remove world models, script dont know about that and will return position on removed object. 3. If you add new objects to map, script dont know about that and will return position on world object. How use that? exports.ground:getGroundPosition(x, y) Where it can be used? 1. Random airdrops? 2. Unbug script with random position nearby player? 3. Random forest generation on server-side? Future plans 1. Add method for check water in position. 2. Add method for get material in position. 3. Add method for get object info in position (world/custom, id) 4. Release script for capture map heights. Little demo Download link https://drive.google.com/open?id=1JCYiKPRcv7a6Cw4g2MZgbsVEk3G6H_t82 points
-
Mas qual a sua dúvida em si? Vc está com problemas em calcular a conversão ou apenas em criar um campo de input em DX? Seria útil mostrar o código do seu painel para que possamos lhe ajudar. Eita rapaz, o Tommy ta me seguindo logo abaixo. \/2 points
-
Hello. 2019 is nearing to an end, so here is our traditional "A year in Recap" post for you. Below you can find the summary of what has happened this year - along with the current status of an entry (where applicable) and other things that might be interesting to you. ? 2019 in Recap Late January, we have refreshed our Forum Rules - we gave them a new look and rephrased a bunch of paragraphs to make them more clear and easier to follow. In May, we have decided to drop support for Windows XP and Vista in our future releases. These operating systems are no longer supported by Microsoft and only a handful of our players still use them. We have advised our players to upgrade their PCs to newer Windows versions. While Windows 7 support will be soon ended by Microsoft as well, we still intend to support it in MTA:SA for a while. In July, we have opened an User Guides section on our forums, which aims to provide our users with quality guides and tutorials for various MTA-related topics. We are still looking into improving this concept. On 31st of August, we have released Multi Theft Auto: San Andreas 1.5.7. This release was focused on performance improvements, minor scripting additions and bugfixes. It is still the current release and, as mentioned above, is the last main release for Windows XP and Vista. On the same day, we have asked you guys to help us re-design our community website. The work on the new community is currently on hold however. Later in September, Rockstar Games has released GTA: San Andreas for free on their launcher app (for a limited time). We have added support for it in MTA:SA shortly after. 26th of October marked the 15th anniversary of Grand Theft Auto: San Andreas original release on PS2. While it was not the game we started with, it was the game that allowed us to make MTA the successful mod it is today. ? A bunch of interesting MTA:SA-related YouTube videos from this year MTA SA: SAPDFR Online Gameplay 171 (Flaming in the Cold) - server SAPDFR.org, video by Armor23OnPatrol [DM] NeiT ft. Gteatero ft. nX_ - Demons Skills 3 - video by GercszTV FBX replace per element feature - concept and video by CrosRoad95 [MTA SA] Let's play S.T.A.L.K.E.R. - server ex-zone.ru, video by TEDERIs MTA:SA - Legend Mercy Tactics - video by TheGam3r23 MTA:SA Hydra Stunts 2019 [SW]Supa Innovation - video by SupaHotFire ? Current player counts and version fragmentation statistics Type Amount of players Date / Time Recent peak number of concurrent unique players 31808 players 2019.12.15 (at 17.30 GMT) Highest recorded number of concurrent unique players 34653 players 2018.02.03 (at 17.30 GMT) Recent number of daily unique players 132450 players 2019.12.21 (Saturday) Highest recorded number of daily unique players 185818 players 2018.02.03 (Saturday) Recent number of monthly unique players 531728 players November, 2019 Highest recorded number of monthly unique players 805903 players January, 2018 Player counts were lower than the ones from last year, but they're still large. Again, it's great to see that so many players are still interested in GTA:SA even though it's over 15 years old now! MTA:SA Version or series Percentage of players using that version or series as of 22nd of December, 2019 1.6.0 (old-alpha) 0.1% 1.5.7 97.80% 1.5.6 1.20% 1.5.5 (and older) 0.70% 1.4.x 0.1% 1.3.x 0.1% The latest stable version is the most popular one - and that's good. ? Status updates Not much to say at the moment. Things have slowed down a bit, but we are working towards the next release. That's it for now. Happy Holidays and best wishes to all of you in 2020! ?? -- MTA Team1 point
-
I am missing some of the functions. Also there is 0 documentation... Please use the default functions: local DBConnection addEventHandler("onResourceStart", resourceRoot, function () DBConnection = dbConnect ( "mysql", "dbname=DBNAME;host=HOST;charset=utf8", "USERNAME", "PASSWORD" ) if not DBConnection then cancelEvent(true, "Can't connect to the database.") end end) function query(...) local queryHandle = dbQuery(DBConnection, ...) if (not queryHandle) then return nil end local rows = dbPoll(queryHandle, -1) return rows end addCommandHandler("elo", function(plr, cmd) local id = getElementData(plr, "gameaccountid") if id then id = tostring(id) local data = query("SELECT * FROM characters WHERE account='" .. id .. "' AND cked = 0") if data then iprint("data", data) for i=1, #data do local character = data[i] iprint("character", character) local nick = character["charactername"] if nick then outputChatBox(nick) end end else iprint("no data") end end end)1 point
-
Um exemplo simples e prático: element1 = 5 -- 5 reais element2 = 4.08 -- 1 dólar element3 = element1/element2 -- element3 vai ser igual o element1 dividido por 4.08 outputChatBox(element1.." dividido por "..element2.." = "..element3) (Não sei se era essa a sua dúvida)1 point
-
Você deveria comentar cada linha do seu código para saber o que está fazendo em cada uma. Algumas partes parecem estar com falha na lógica. Sobre o jogador voltar ao time antigo, vc precisa salvar um elementData nele quando ele usa o comando pra ir pro PVP, salvando o time antigo nessa data e depois setando o jogador de volta no time salvo na data dele. Um salve pro Tommy, que está digitando logo abaixo. \/1 point
-
1 point
-
Quais SD vc tem habilitados no seu servidor? (quando vc conecta no servidor, é a 3 ou 4 linha que aparece no F8)1 point
-
Completely finished code, as well as an example of use inside. Also, a resource is ready to download protected files (loader). Link: https://www.dropbox.com/s/0cpkkuwjdqa6nvt/protection dff %26 txd files example.rar?dl=01 point
-
Open world interiors is possible. The way you go about doing it is up to you. There are ways that you can retain or destroy performance. GTA 5 uses MILO for interiors. I barely have any knowledge on them, but I've done some reading and found that it might be done by projecting an image, from a camera placed at the window. When the player opens the door, they'll be teleported to another dimension while a chunk of the GTA 5 environment remains loaded. Most of these are speculations. I cannot tell how exactly it works. If your interior has props (so not just 1 whole model) I would suggest you only have them load within a small radius else you'll have a large excess of elements streamed in, which can cause issues with performance. There are some GTA SA interiors - mostly for cutscenes, which have a chunk of the map to be seen from its windows. You can do this yourself to imitate the GTA 5 interior system. I was working on an open world interior but never finished. https://streamable.com/9bk4v I just found this video and it might be exactly what you're looking for:1 point
-
you can load in your dff model to Max, clone it, give it a collision GTA COL material and name it `ship_col` for easier scene management. you'll want to isolate your collision model so that theres nothing else disturbing your overview. apply a multires modifier to stack and optimize your model like you'd do on high poly models to remove detail. the thing with collision models is that you don't want an excess of detail, in fact you'll want as few polygons as possible, and there's a strict limit on how many it can have before you'll run into game issues. if you're unable to get down to <5000 polygons for your collision model, you'll have to remodel it on your own. (it's worth noting that the primitives polygon rates doesn't matter as much, since they're calculated different from the actual mesh, although they will still add to the performance loss.) SA collisions can store multiple objects, for instance, a map object can have spheres, boxes and cylinders (I think cylinders work) as primitives, as well as an editable model for the collision mesh itself. only needed for more complex parts that a box or sphere can't handle. if you're looking for more help, please leave model details and eventually files below so that people are able to give you the appropriate help. please check out my collision guide through my signature for potentially better explanations. i'm sorry for any grammar mistakes. writing from a low battery phone --- We since spoke on discord and it looks like the project is terminated for now.1 point
-
Hey. Would you like to play on one of uncommon DayZ projects? If so, then Re-Zet is your best choice Features: - Multilingual - Dynamic events - mutants/cars - NPC's - Weapon quality - Crafting - Winter and summer seasons - Hidden locations And much more IP: rz.nonstopz.com Site: en.nonstopz.com Check out trailer of server:1 point
-
السلام عليكم ورحمة الله وبركاته اتهامات سرقة السكربتات بدون دليل ممنوعة, لاحظت في الفترة الأخيرة اتهامات بين أعضاء المنتدى بخصوص نشر سكربتات مسروقة وما شابه ولذلك اذا توفر لديك الدليل الكافي بأن السكربتات مسروقة وليست يملكاً للشخص الذي قام بنشرها قم بالتواصل مع المشرفين على الخاص وسيتم التعامل مع الموضوع. * ملاحظة: ليست لدينا أي صلاحيات تجاه السيرفرات التي تستعمل سكربتات مسروقة, فقط السكربتات التي تم نشرها على هذا المنتدى. تحياتي لكم1 point