Jump to content

Leaderboard

Popular Content

Showing content with the highest reputation on 01/04/17 in all areas

  1. بسم الله الرحمن الرحيم سلام عليكم ورحمة الله وبركاتة انا سويت دورة عن كيف تسوي موقع دردشة .. وممكن يفيد بعضكم وسلام خير الختام
    4 points
  2. ذ ذي صورة سويتها ابو كم ثانية
    4 points
  3. Your posts did make me wonder, was this really the case, so I run a little test of my own to prove or disprove the theory. I have no idea how it's done in MTA's source code, nor did I bother to look, but I took it upon myself to find out through real example. Testing environment setup as follows: Latest editor definitions from nightly.mtasa, no edits or tweaks whatsoever Client&Server build: v1.5.3-release-11225 Running resource during the time of testing: none, apart the resource being tested A map with random 12k objects No world movement, no camera movement, MTA minimized Lua map converted with OP's website, without blips attribute (I also highly suggest removing the said feature as it may cause significant changes in performance & loading times) & ran client side Server FPS Limit: 60 Results: .map: .lua Conclusion: .map is just fine as it is, but .lua allows better manipulation, the very important one being able to load a .lua map with async based on priority, and minimizing client side creation lag or prioritizing other server objects over other less important things Hope this clears up some of the confusion. Keep in mind this was a very basic test without much fiddling around, if someone could confirm it by doing their own please do.
    3 points
  4. No, you are a homeless ubki
    2 points
  5. قلت لك مرتين تأكد من القروبات موجوده او لا كان انحلت من بدري المهم حصل خير وبالتوفيق يارب.
    2 points
  6. ما راح تفرق الي ضعيف بالبرمجة نعلمه و المحترف يعلمنا احنا فريق متحد كلنا واحد
    2 points
  7. Welcome to Dynasty Network, Yeah we had a topic before the cleanup but this time we cameback bigger and better. Our topic will be managed way better then it was before and i'll put all my time into keeping this up to date also backups will be made daily. I hope you like this @HAZJ. But that's it about the topic. Now let's head into the server and show what we are currently Developing. We are currently in Alpha state and are testing / optimising everything so you guys won't encounter bugs. This is due the fact we got a strict punishment if it goes about bug abusing and such. Getting caught using bugs etc in your advantage will result in a permanent ban. Feel free to leave a like and reaction, I would really love it since it's showing interest and that you are supporting the development of it. You can find us on our forums which are currently under development.Go to Forum to make sure you have an account when you try to join our server. Also make sure you join our discord channel on the following link : Coming soon , We aren't going to give our server IP yet due the fact we are still developing the server. But as soon as it is done i'll release the ip so you guys can join and checkout our brand new community. Previews will be showcased when I do think it's ready to get spread
    1 point
  8. NeXuS™ presents dxLib Introduction You want to work with dx functions, but you don't understand them? This is a script for you. You can create panels created by dx functions just like with GUI functions. Status IN DEVELOPMENT Sorry guys, its not finished yet, so I'm not publishing it. This is just a show off, that you'll get this in weeks. Whats done already Screenshots Syntax
    1 point
  9. Have the MTA Team setup an official Discord server? I saw an unofficial one on a topic a few weeks back and joined it, but somebody speaks once every few days and it's full of weird bot scripts. Would be an idea to get one going, especially as it can link to IRC.
    1 point
  10. Всем привет. Совсем недавно скончался наш хороший друг, он участвовал во многих проектах в таких как: IV:MP и многих других. Также он был создателем AMX для MTA, который позволял запускать Pawn скрипты в MTA. О самой смерти передала его девушка: Давайте все вместе почтем память. Таких людей как он единицы. Он был хорошим, добрым, жизнерадостным человеком. Светлая память!
    1 point
  11. You need to render it on screen for every frame with this event: addEventHandler("onClientRender", root, function() dxDrawImage (x/2, y/2, 500, 500, "assets/death.png") end)
    1 point
  12. وعليكم السلام ورحمة الله وبركاته
    1 point
  13. onClientPlayerWasted
    1 point
  14. @3laa33 حياك , وحاول تحسن من اسلوب كلامك المره الجايه
    1 point
  15. اجابتك مفيده عكس اللي طلبه الرجال اهنيك هههههههههه ذذ حبيب قلبي
    1 point
  16. Buddy, you gotta start checking the scripts, because these errors are easy to fix. local cX, cY, cZ = interpolateBetween( 0, 0, 0, deathZ, 0, 0, deathZ+50, progressC, "InOutQuad") setCameraMatrix(deathX, deathY, cZ)
    1 point
  17. function ujraeledes() local varjalMar = setTimer( function() spawnPlayer (source, 0, 0, 0) setCameraTarget (source, source) fadeCamera (source, true) triggerClientEvent ("stopHalalMusic", source) end, 120000, 1) end
    1 point
  18. I don't know what your server is or how it looks like, if it has 3rd party mods on objects, no wonder it takes longer to load. I've just tested creating objects and it wasn't even noticeable at all. Please note if you create huge amounts of objects at once near localPlayer (inside his stream; 300m radius) it will lag no matter which map loader type is being used due to GTA/MTA creating the objects and loading them in stream. It's kinda insane to do that around a player, it's better to warp him somewhere safe until objects are created because here are results: The process depends on client's CPU but even on slower systems it makes 100k objects outside stream under a second or two
    1 point
  19. I have been using maps in lua format for years and never experienced problems. 4089 objects, 600 streamed in. (all loaded client side) When i took the screenshot above, only three resources were running (admin, runcode and a small spawn script) Absolutly no lag, very low cpu and memory usage. My CPU.
    1 point
  20. triggerClientEvent(source, "openLevelW", source, openLevelW)
    1 point
  21. ابو الخيال .... كفو لكن يا ريت توضح الكتابة .... واذا ما فيها تعب ماستر يبي صورتين ميشان لوحة التسجيل ابيك تفهم منه اكثر وتسويهم اذا معك وقت
    1 point
  22. Can you send your server sided script where you call the openLevelW event?
    1 point
  23. function ujraeledes() local varjalMar = setTimer( function() spawnPlayer (source, 0, 0, 0) setCameraTarget (source, source) fadeCamera (source, true) triggerClientEvent ("stopHalalMusic", source) end, 120000, 1) end)
    1 point
  24. ايه كلير انا طلبت منه الكود في السكايب وهوا عطاه لي وهو عطاني م قصر جزاه الله خير
    1 point
  25. تسسسسسلم و مشكور الازرار الي تسأل عنها Special skin هذا اضغط عليه ويخلي اللسكن او الشخصيه طبعا لازم اجهز شخصيه لكل لوحة و Color هذا تغغير لون السياره ومشكووووور @
    1 point
  26. Found it. local fontTab = {} function mtrxButton(a, b, c, d, text, fontSize, r, g, bc, parent) local button local label if (parent) then outputChatBox(b) button = guiCreateButton(a, b, c, d, text, false, parent) --button = guiCreateStaticImage(a, b, c, d, ":test_font/button_green.png", false, parent) outputChatBox("Created w/ parent") outputChatBox(a .. " " .. b .. " " .. c .. " " .. d) else --button = guiCreateStaticImage(a, b, c, d, ":test_font/button_green.png", false) button = guiCreateButton(a, b, c, d, text, false) outputChatBox("Created wo/ parent") end label = guiCreateLabel(0, 0, c, d, text, false, button) setMtrxFont(label, fontSize) guiLabelSetColor(label, r, g, bc) guiLabelSetHorizontalAlign(label, "center", true) guiLabelSetVerticalAlign(label, "center") addEventHandler("onClientMouseEnter", label, function() guiStaticImageLoadImage(button, ":test_font/button_red.png") end, false) addEventHandler("onClientMouseLeave", label, function() guiStaticImageLoadImage(button, ":test_font/button_green.png") end, false) return button, label end function setMtrxFont(gui, fontSize) for i = 1, #fontTab do if (fontTab[i][1] == fontSize) then guiSetFont(gui, fontTab[i][2]) return end end table.insert(fontTab, {}) fontTab[#fontTab][1] = fontSize fontTab[#fontTab][2] = "default-bold" --fontTab[#fontTab][2] = guiCreateFont("default", fontSize) end GUIEditor = { img = {}, window = {}, mtrxButt = {} } GUIEditor.window[1] = guiCreateWindow(194, 111, 391, 237, "", false) guiWindowSetSizable(GUIEditor.window[1], false) GUIEditor.img[1], GUIEditor.mtrxButt[1] = mtrxButton(48, 45, 104, 51, "I'm the button #1", 10, 0, 0, 0, GUIEditor.window[1]) GUIEditor.img[2], GUIEditor.mtrxButt[2] = mtrxButton(200, 107, 144, 60, "I'm the button #2", 11, 0, 0, 0, GUIEditor.window[1]) guiSetVisible(GUIEditor.window[1], false) local x, y = guiGetPosition(GUIEditor.img[1], false) outputChatBox(x .. " " .. y) addCommandHandler("buttest", function() guiSetVisible(GUIEditor.window[1], not guiGetVisible(GUIEditor.window[1])) showCursor(not isCursorShowing()) end) You had the "b" for the y and "b" for the blue color. Btw, sorry for all that :~ in there, just change your main code by renaming one of the "b"s in your function.
    1 point
  27. function handlerFunction(thePlayer) local oX, oY, oZ = getElementPosition(ggate) if oZ ~= defz then gateclose(thePlayer) else gateopen(thePlayer) end end addEventHandler("onResourceStart," getResourceRootElement(), function() for i, k ipairs(getElementsByType("player")) do bindKey(k, "down", handlerFunction) end end) addEventHandler("onPlayerJoin", getRootElement(), function() bindKey(source, "down", handlerFunction) end) I think this one should work.
    1 point
  28. ^ هي اساسا سترنق بالجدول!؟ كيف يحولها لسترنق صاحب الموضوع تأكد من اسماء القروبات اولا، او سوي تحقق اذا كان القروب موجود عن طريق aclGroupList -- loop aclGroupGetName
    1 point
  29. وش هو؟ Id تمام، طيب ال وكم الرقم اللي فيه؟ Id يعني انت كل مره تبغى تنقص ال طيب كم تبغى تنقصه 1 ولا 2 ولا؟ المهم اتوقع اللي تبيه كذا id = ( tonumber ( id ) ) - 1; setPlayerDiamond ( getPlayerFromName ( player ), id ) غير السطر الاول، رقم واحد غيره للعدد اللي تبي تنقصه حتى لو كان عدد من عشره.
    1 point
  30. انت تبغاه كل شوي ينقص واحد؟ ما ادري وش الساينتكس حق الوظيفه ذي لكن جرب كذا : setPlayerDiamond ( getPlayerFromName ( player ), ( tonumber ( id ) ) - 1 ) للمعلوميه كذا التنقيص ماراح يغير الرقم اللي داخل المتغير الأساسي* بمعنى اذا تبغاه يتغير مره استخدم الطريقه الثانيه فوق *
    1 point
  31. or كيف تبغاه ينقص وانت حط ناقص صفر و id = ( tonumber ( id ) ) - 1; او ( tonumber ( id ) ) - 1 تفرق بالوظيفه.
    1 point
  32. شكرا يا قلبي علي مرورك وتشجيعك شكرا يا غالي علي مرورك
    1 point
  33. Please take a moment and salute the passing CodePlex SCM host. It will die by the end of 2017. I remember the days when I used to check out the MTA:BLUE codebase from google code using TortoiseSVN. Good old days. Soon, no one will be able to use SVN for free anymore.
    1 point
  34. There is no error. Wait for the ban to expire.
    1 point
  35. Hi Community! I Present Today a New Map! Hope You Like It! ►Searching for a recorder? Contact us in skype: ◘ Chipy's skype; juan.videla314 ◘ ShuX's skype: 2profgamers
    1 point
  36. يرجي عدم إنشاء اكثر من موضوع بنفس المحتوي , ولذلك يرجي التكمله في نفس موضوعك السابق يغلق..#
    1 point
  37. One issue with this general logic, although it may be smaller; it is actually a lot more laggy to using .lua mapping vs .map mapping.
    1 point
  38. Yeah, that's all you'll have to do. If you need further help with that one too, feel free to ask.
    1 point
  39. السلام عليكم ورحمة الله وبركاتة Lua هذا القسم مخصص فقط للمشاكل و الشروحات المتعلقة باي لغة برمجية بإستثناء قوانين هذا القسم كالتالي : يرجي عدم إنشاء موضوع واحد لجميع المشاكل , علي سبيل المثال ( اي مشكلة لديك يمكنك الإستفسار عنها بهذا الموضوع ) وما الي ذلك و هكذا ( Java - ممكن مساعده؟ ) يجب وضع اسم اللغة التي تواجه فيها مشكلة بجانب اسم الموضوع , علي سبيل المثال في حال تمت الإفادة وبعد فترة من الوقت تريد الإستفسار عن سؤال اخر بنفس اللغة البرمجية يرجي منك إنشاء موضوع اخر وعدم التكمله بنفس الموضوع السابق * القوانين قابلة للتعديل في اي وقت ونرجو منكم الإلتزام بقوانين القسم وبالتوفيق للجميع
    1 point
  40. Сторонние модификации не поддерживаются вообще, никакие. МТА требует всегда чистую копию игры. Более того данная модификация является ASI библиотекой, которая инжектится в процесс аналогично обычной DLL, что вообще МТА не любит и приравнивает к читам. Используйте на свой страх и риск.
    1 point
  41. NeXuS™ presents dxScrollText Introduction Do you want to make a scrollable text? It's easy with just a helper. Status IN DEVELOPMENT It's still IN DEVELOPMENT but it's published. Screenshot Usage Go ingame, put the file inside resources, start it, and press F7. After it, create your panel, by left clicking and dragging, and press enter. If you are done with that, start typing, and press enter. Voala, it's done. Download MTA:SA Community Link (At the moment, the download link is unavaible, because the resource got suspended by sbx320. I'm talking with him in PMs, to sort this out. If you need the ready resource, hit me up here with a PM, and I'll send it to you.) Syntax - Source code
    1 point
  42. NeXuS™ presents dxDrawScrollingText Introduction Do you want to make a scrolling text? It's easy with just a function. Status IN DEVELOPMENT It's still IN DEVELOPMENT but it's published. Screenshot Usage example exports.dxDrawScrollingText:dxCreateScrollingText(500, 400, 100, "Test scrolling text", 60) (This is shown on the screenshot.) Download MTA:SA Community Link Syntax nil dxCreateScrollingText ( float x, float y, float width, string text, int pixelPer60 ) Source code
    1 point
  43. I think Multi Theft Auto it's community of people rather than organization, so don't matter official channel or not.
    1 point
  44. So do I, without hesitate, I started my server with it, even thought, the MTA bot is not ready (linking game and discord). The UI is amazing, it's also beautiful that you can see it's platform in all operating systems. It's too safe, never get affected if anything bad happened. I highly recommend it!
    1 point
  45. Ни на сколько. По крайней мере на уровне скриптинга. Педы в МТА не регистрируются как игроки и в сокете их не видно, это всего лишь такой же элемент (entity) как и автомобили.
    1 point
  46. Вообще это сработает и в мта. И кстати попадалась некая админка переделанная, с особой фишкой, накруткой игроков, незнаю насколько реально. Но дополнительные 5-10-15 игроков, могут значить не мало для dayz. Причем если реальных игроков больше половины, да хотя-бы треть(если не продолжительно и не часто), и один-два человека отвечающих в чате за всех накрученных, возможно никто и не уличит во лжи. Конечно все относительно, не в любом случае сработает, не для любого сервера, не с любыми игроками. Я точно не знаю, но наверно ключевым является поиск + сортировка по кол-ву игроков. А у вас пичаль-беда в мониторинге никак не отсортировать... Вот кстати говоря о накрутке: Вроде бы выходит кривая статистика, но данный пример показывает что не так уж много накручивают, раз он один такой, меня лично и накрученные их цифры, за исключением казусов выше, не впечатляют. Другой пример CCD, сляпали гибрид обычных crmp и samp серверов, и всё онлайн как на анаболиках. Почему так? Да банально раскручивались нормально. Взять ту же раскрутку dayz серверов на ютубе, сделает смотр или просто серию известно кто, и всё, даже при жутких багах, основанных как правило не только на кривости, но и несовместимости собранных в кучу ресурсов, при том он в своих видео ни толком как игрок себя не показывает, ни толком сам сервер, но весело же, и все думают что они зайдут, и всем будет также весело. Другой ютубер постоянно снимает на своем сервере, и вроде бы и далеко не самый худший из тех кто серверы делает, но и сервер не слишком выдающийся, и неудачное создание новых серверов, да и то что мало снимает на других серверах много значит. Ещё к примеру, один на форуме не любимом здесь, раскручивают с переменным успехом, но профит вроде как неплохой. Но все это воду в ступе толочь, никто не привлекает людей извне мта. И привлекать из самп уже поздно, он помирает, поколения выросшие на нем, взрослеют. А других никто так и не стал привлекать. Вот и живем за счет тех у кого не тянут всякие новые выживалки, обновят компы и всё жо.. Единственное курсы валют в странах СНГ, позволяют надеятся что немногие обновят конфигурацию в ближайшее время.
    1 point
  47. Всё дело в сложности. Вы аудиторию SA-MP видели? Так вот, каждый пятый (а может и второй) - это очередной "разработчик" игрового режима который по их мнению уникален. Написать игровой режим, даже жанра РП никому не составляет сложности (даже пускай он будет лагать - это всех устроит). Теперь посмотрите на MTA. Чтобы написать даже самый простой игровой режим, нужно уже иметь хоть какие-то знания о программировании (хотя бы основы). Архитектура на много сложнее. Какие-то "ресурсы", "дерево элементов" или "клиент/сервер" - для них это не понятно. Если в SA-MP вы можете написать РП режим в одном файле размером в 100к строк, где любой вызов функции работы с клиентом - синхронен (или же возвращает закэшированные данные), то в MTA всё по другому. Здесь нужно писать всё самому вникая в тонкости. Даже такие банальные вещи как GUI: в SA-MP - просто диалоги, в MTA - полноценный GUI. В SA-MP есть некие TextDraw (или как их там) в котором всё уже реализовано за вас, в MTA есть доступ к Direct3D, естественно на клиенте. Они не ненавидят, они просто боятся признать, что для них это слишком сложно, и таким образом маскируют это ненавистью. AddServerBot - это что? Нативная функция SA-MP?
    1 point
  48. Вспоминаю цитату одного очень известного скриптера. Когда он говорил, что "стрельба по пингу - это золотой стандарт, да и в мта внешний вид не оч". Я думаю, не долго еще протянет смп, от однобразия серверов и отсутствия интересных возможностей уже тошнит. Все больше людей отказываются от него в пользу мта. И начнется создание интересных проектов. Только тут суть в том, что возможности MTA в плане разработки сервера не ограниченны, и грамотный скриптер сможет предоставить игрокам любые возможности
    1 point
×
×
  • Create New...