Jump to content

Leaderboard

Popular Content

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

  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. #قمة_الاخلاق السيده عائشه سألت النبي : مين أكتر واحده بتحبها في زوجاتك يارسول الله ؟؟ فقال لها : أنت ياعائشه ...فقالت : إذا أخرج عليهن وأخبرهن جميعا ، فضحك النبي وأعطاها تمرة ، وقال لها في الليل أجمعهن وأخبرهن ، ولا تخبري أحدا أني أعطيتك تمرة وإنصرف ومر علي كل واحدة من زوجاته وسألها عن أحوالها ، وأعطي كل واحدة منهن تمرة وأخبرها ألا تخبر أحدا ، وفي الليل إجتمعن وسألته عائشه : أي من زوجاتك تحب أكثر ؟! فأبتسم النبي وقال : صاحبة التمره ، فهي من أحبها أكثر فابتسمن جميعا وفرحت كل واحده بداخلها وفرحت كل واحده لحب رسول الله لها..... وانك لعلى خلق عظيم. النبى محمد اعظم خلق الله اللهم اجمعنا به فى الجنة.
    1 point
  9. Back in the past there was a website that could convert maps created with the official in game map editor to a corresponding Lua script. Unfortunately tho that website appears to be down by now, so I've created my own converter using some regular expressions to find properties in a map file and generate a corresponding Lua script. Here's how it looks: So why would you convert your maps to Lua then? well there are many reasons, for instance: Reduce file size, converted Lua files is around 20% the size of it's corresponding map file. Ability to use the local cache, obviously a good thing since players won't have to download your maps every time they connect. Easy to customize, only one line needs to be changed to make all objects double sided, breakable etc.. (optional) Attach a discrete blip to each map object so that players can see where custom mappings exist. Since it uses regular expressions it will try to convert any input, no matter if the syntax is right or wrong. All properties from your map files are supported including, position (x,y,z), rotation (x,y,z), interior, dimension, breakable objects, double sided objects, blips and removal of world objects. The site is encrypted with SSL/TLS and nothing is logged or saved to prevent anyone from stealing your valuable maps. Here's the link to the site: https://lua.wuss.pw/
    1 point
  10. 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
  11. وعليكم السلام ورحمة الله وبركاته
    1 point
  12. onClientPlayerWasted
    1 point
  13. @3laa33 حياك , وحاول تحسن من اسلوب كلامك المره الجايه
    1 point
  14. اجابتك مفيده عكس اللي طلبه الرجال اهنيك هههههههههه ذذ حبيب قلبي
    1 point
  15. 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
  16. 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
  17. 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
  18. 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
  19. @CodyJ(L) You keep repeating the same thing. Can you tell us some info for instance? Like how much objects were you testing, how does it generally work? I can create 30,000 objects in an instant and edit their properties if needed or move them while they're being created without any stuttering. Maximum ever lag i had recorded for it was merely one second, but in 95% cases it's barely even noticeable that it did anything.
    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. 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
  26. 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
  27. ^ هي اساسا سترنق بالجدول!؟ كيف يحولها لسترنق صاحب الموضوع تأكد من اسماء القروبات اولا، او سوي تحقق اذا كان القروب موجود عن طريق aclGroupList -- loop aclGroupGetName
    1 point
  28. وش هو؟ Id تمام، طيب ال وكم الرقم اللي فيه؟ Id يعني انت كل مره تبغى تنقص ال طيب كم تبغى تنقصه 1 ولا 2 ولا؟ المهم اتوقع اللي تبيه كذا id = ( tonumber ( id ) ) - 1; setPlayerDiamond ( getPlayerFromName ( player ), id ) غير السطر الاول، رقم واحد غيره للعدد اللي تبي تنقصه حتى لو كان عدد من عشره.
    1 point
  29. انت تبغاه كل شوي ينقص واحد؟ ما ادري وش الساينتكس حق الوظيفه ذي لكن جرب كذا : setPlayerDiamond ( getPlayerFromName ( player ), ( tonumber ( id ) ) - 1 ) للمعلوميه كذا التنقيص ماراح يغير الرقم اللي داخل المتغير الأساسي* بمعنى اذا تبغاه يتغير مره استخدم الطريقه الثانيه فوق *
    1 point
  30. or كيف تبغاه ينقص وانت حط ناقص صفر و id = ( tonumber ( id ) ) - 1; او ( tonumber ( id ) ) - 1 تفرق بالوظيفه.
    1 point
  31. شكرا يا قلبي علي مرورك وتشجيعك شكرا يا غالي علي مرورك
    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. ان لله من اللي يقلدون
    1 point
  36. 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
  37. يرجي عدم إنشاء اكثر من موضوع بنفس المحتوي , ولذلك يرجي التكمله في نفس موضوعك السابق يغلق..#
    1 point
  38. 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
  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. Я до сих пор не понимаю причины хэйта со стороны сумп коммьюнити о Multi Theft Auto. Ведь MTA предоставляет широкий спектр постоянно обновляемого функционала для разработчиков серверов, с Lua намного приятнее работать, о читерах можно забыть, конкуренции очень мало. Те же RolePlay. Ведь люди делают действительно интересные фишки на своих серверах, а новые игроки, узнавая о таких проектах, не задумываясь переходят в MTA. Тем более, в скором времени будут открыты несколько очень крупных проектов (конечно же - жанра RolePlay), которые привлекут огромную массу игроков.
    1 point
  44. I think Multi Theft Auto it's community of people rather than organization, so don't matter official channel or not.
    1 point
  45. 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
  46. Over the past year a lot of people have been migrating from TeamSpeak, Skype and IRC to Discord, myself included. Some great features are that you don't need to host it yourself, setup is very quick, easy and painless and there is support for both voice and text transmission.
    1 point
  47. Ни на сколько. По крайней мере на уровне скриптинга. Педы в МТА не регистрируются как игроки и в сокете их не видно, это всего лишь такой же элемент (entity) как и автомобили.
    1 point
  48. Вспоминаю цитату одного очень известного скриптера. Когда он говорил, что "стрельба по пингу - это золотой стандарт, да и в мта внешний вид не оч". Я думаю, не долго еще протянет смп, от однобразия серверов и отсутствия интересных возможностей уже тошнит. Все больше людей отказываются от него в пользу мта. И начнется создание интересных проектов. Только тут суть в том, что возможности MTA в плане разработки сервера не ограниченны, и грамотный скриптер сможет предоставить игрокам любые возможности
    1 point
×
×
  • Create New...