Jump to content

Leaderboard

Popular Content

Showing content with the highest reputation on 22/10/18 in all areas

  1. Updates: new set of random missions from the LS Observatory camp: use a Sparrow to rescue various scavengers that got in trouble all over Los Santos (5 new missions in total) another new mission set in A69: Agent Shepherd dispatches 9 different 'helicopter extraction' missions; hot LZ's ahead! new mission for the bandits: go to the Ocean Docks Warehouse and speak with McCready - he'll send you to collect the booty from all other bandit camps in Los Santos work for Sheriff Gruber in Dillimore to bring justice upon various bandit bosses around Flint and Whetstone (6 new CDF missions) other small improvements and various bug fixes Server IP: mtasa://37.187.171.204:22008 Join our Discord @ https://discord.gg/Zs5bWSX to stay up to date with news, plans & media. Come share your feedback and ideas!
    2 points
  2. السلام عليكم ورحمة الله وبركاته IRC اود ان اخبركم بأن هناك سيرفر رسمي في الديسكورد تابع لهذا المنتدي لقد تم إنشائه قبل فتره بدلا من الـ ونتمني من اعضاء المنتدي وعشاق اللعبه زيارتنا في الديسكور لأننا جميعا هناك ماهو الديسكورد ؟ ولكن يحتوي علي معظم المميزات المفيدة من كل البرامج التي ذكرتها وكما انه سهل الإستخدام ( IRC و Instant Messenger و Voice Chat ) هو في الحقيقة مشابه لـ يمكنك إستخدامه عن طريق هاتفك يمكنك إستخدامه للتابليت لماذا قمنا بإختيار الديسكورد ؟ الديسكورد لديه ميزة جميله وهي يمكنك معرفة تواريخ الرسائل , وايضا عندما لاتكون متصل يتم تسجيل الرسائل وعند الدخول ستراها جميعأ IRC مقارنة مع يقدم هذه الخدمة ولكن يجب عليك دفع ثمن ذلك او تكون انت مالك السيرفر IRC وايضا الـ وكما ان الديسكورد يحتوي علي منظر حديث ومميزات حديثه علي سبيل المثال عند وضع رابط لصورة او فيديو يتم وضع الفيديو مباشره في الديسكورد ولايجب عليك الانتقال للموقع الخاص بالصورة وما الي ذلك , ويحتوي علي نظام اللايك للتعليقات وهناك الكثير, اكتشفه بنفسك ماذا سوف اجد عند دخولي الي الديسكورد ؟ لدينا غرف كثيره ولكن سأذكر بعضها و الاهم : #general - لكل شئ سواء كان متعلق باللعبة او لا #scripting - للمساعدات البرمجية او الاستفسارات #support - لأي مشكلة متعلقة باللعبة او بسيرفرك #announcements - Community يتم وضع اخر التحديثات التي تم عملها سواء كان في هذا المنتدي او في الديسكورد او الـ وكما اننا لم ننتهي من التطويرات القادمة في المستقبل هل يمكنني ان اقوم بدخول السيرفر في اكثر من جهاز بنفس الوقت ؟ نعم بالطبع يمكنك ذلك , وكما انه يمكنك إضافة اكثر من سيرفر وليس السيرفر الخاص بنا فقط كيف يمكنني الدخول الي السيرفر الرسمي للعبة ؟ من خلال الضغط هنا : لا إله الا انت سبحانك اني كنت من الظالمين هل لديك إقتراح ؟ حسنا , فقط قم بإخبارنا عن طريق هذا الموضوع او عن طريق المراسلة الفورية من خلال الديسكورد نتمني لكم التوفيق و كما اننا نود ان نراكم هناك
    1 point
  3. السلام عليكم ورحمة الله وبركاته HTML + CSS حبيت أعرض لكم مشروعي البسيط.. الغرض منه تطوير نفسي بـ ..الي عنده فكرة او اقتراح ياريت يرسله لي خاص او بالتعليقات هنا ملاحظة: المقطع يحتوي على اغاني فكرة الموقع, يقدم خدمات نوعاً ما مجانية.. الفكرة مكررة أدري لكن زي ما قلت
    1 point
  4. من اول شي ليه تسويه لازم تفكر كويس بالمشروع قبل تسويه وم لازم تسويه وتوقف لازم تكون حاسب كل شي ماشاء الله انت وماستر كل يوم مشروع جديد سوو شي ثابت واستفيدو منه احسن من كل يوم شي جدديد وبالتوفيق لك وله
    1 point
  5. 1 point
  6. Here's all the help you deserve based on the effort of your original post: https://wiki.multitheftauto.com/wiki/Introduction_to_Scripting_the_GUI
    1 point
  7. Probe usando las 2 funciones y setElementCollidableWith si me permite moverme pero la otra funcion no
    1 point
  8. المشروع وش هو ؟ - بوت تريدنق او تجاره او الخ. تفتح لك محل باحد المدن الي تعجبك الي عددها 13 بالبوت ومن ثمأ تجيب لك عامل مثلأ بنجيب خالد العمري بعد كذا بيخصم كل ساعه تكاليف المحل وتكاليف العمال مثلا خالد سعره رخيص 5$ بالساعه - والمحل 70$ بالساعه يصير كل ساعه 75$ اتمنى ان الفكره ماعجبتكم ومانالت اعجابكم بشكل نهائي جدأ ولا بتعجبكم ان شاءالله - الفكره هي بوت بالديسكورد وليس سيرفر كل شي عبر الاوامر ): رابط الاوبن سورس https://github.com/Faisal-Mutery/TradingBot (( هياط فقط )) رابط السيرفر الدعم الفني الي فيه كل بوتاتنا من ضمنها لايف بوت الرهيببببببببببببء ! https://discord.gg/GP3brjb رابط الانفايت https://discordapp.com/oauth2/authorize?client_id=501019277403357184&scope=bot&permissions=117760
    1 point
  9. If these car models you have downloaded don't have custom parts in the model file your only option is to add them by modelling them yourself.
    1 point
  10. ذكرتني بميماتي اه لو هنا بس اسويله موضوع لحاله ماهي غريبة حتي يسووا له قسم خاص
    1 point
  11. local function wordWrap(text, maxwidth, scale, font, colorcoded) local lines = {} local words = split(text, " ") -- this unfortunately will collapse 2+ spaces in a row into a single space local line = 1 -- begin with 1st line local word = 1 -- begin on 1st word local endlinecolor while (words[word]) do -- while there are still words to read repeat if colorcoded and (not lines[line]) and endlinecolor and (not string.find(words[word], "^#%x%x%x%x%x%x")) then -- if on a new line, and endline color is set and the upcoming word isn't beginning with a colorcode lines[line] = endlinecolor -- define this line as beginning with the color code end lines[line] = lines[line] or "" -- define the line if it doesnt exist if colorcoded then local rw = string.reverse(words[word]) -- reverse the string local x, y = string.find(rw, "%x%x%x%x%x%x#") -- and search for the first (last) occurance of a color code if x and y then endlinecolor = string.reverse(string.sub(rw, x, y)) -- stores it for the beginning of the next line end end lines[line] = lines[line]..words[word] -- append a new word to the this line lines[line] = lines[line] .. " " -- append space to the line word = word + 1 -- moves onto the next word (in preparation for checking whether to start a new line (that is, if next word won't fit) until ((not words[word]) or dxGetTextWidth(lines[line].." "..words[word], scale, font, colorcoded) > maxwidth) -- jumps back to 'repeat' as soon as the code is out of words, or with a new word, it would overflow the maxwidth lines[line] = string.sub(lines[line], 1, -2) -- removes the final space from this line if colorcoded then lines[line] = string.gsub(lines[line], "#%x%x%x%x%x%x$", "") -- removes trailing colorcodes end line = line + 1 -- moves onto the next line end -- jumps back to 'while' the a next word exists return lines end This variant will append the latestly used colorcode on every subsequent line to preserve color. However, due to a number of more intensive functions used here, like string.find, string.reverse and string.gsub, this code runs 25% slower with colorcode enabled than the previous version, and only 5-6% slower without colorcode than the previous version. Same-version comparison yields that colorcoded being enabled slows it down by 22% compared to without. Still pretty fast though, took around 0.000167465 seconds (0.167465 ms) (mean over 200 iterations) for the paragraph above to be processed by the function using own pure-lua implementations of split* and a simplified implementation of dxGetTextWidth (simply returning the length of characters excluding colorcodes), since I was using standalone Lua rather than via MTA client. * Turns out, while checking the speed of MTA's split, my pure-lua implementation is a lot faster, like 10× faster. MTA's split (on the server side) managed to take up to 2 seconds to process the “However,…” paragraph.
    1 point
  12. did you checkout IFP_demo before ? because you can get an idea about how to synchronize a custom anim from it.
    1 point
  13. Open Alpha release Github Link Requires JStreamer (OBJs) Instructions for usage are as follows - Download JStreamer, place the folder 'Objs' into your resources dictionary Download Editor2, place the folder 'Editor2' into your resources dictonary Start Objs Start Editor2 All problems can be reported here Currently it lacks some pretty important features so stuff like 'Race' and stuff cannot be 100% configured until I finish the EDF system which'll take a while. December 1st is deadline for beta which I will for sure meet; release candidate testing will begin December 10th and release (Stable, and 100% functional) will go live on new years. That is not to say this cannot be used as a replacement for the current editor at the moment. As soon as the EDF system is finished it'll be virtually a full replacement for it. Features that'll be completed within the next couple of days - Make it so you can add / remove world elements Object preview system (Top left icon) Fix it so objects can be set frozen / non - collidable (Broken at the moment) Prefabs (Will pretty much be .maps honestly) Fast warp panel (Dunno where I'll add this but it'll be there) Recently Used Commonly Used Favorites Undo Redo EDF customization EDF saving (Not setup atm) Weapon placement Ped placement Saving / loading revamp Make it so the editor completely ignores the 3 rotation rings when selecting elements Elements on map list (With 'Warp to', 'Delete',' Select all of', 'Mark on map', and visibility changer) Enabling / Disabling of radar Make bottom right display a list of selected elements (And what element type they are, their IDs and names) Optimize icons Control list editor
    1 point
  14. فرقت معك عالدولار ههههه الفيديو اللي فيه الفائز باذن الله اول مره ادري ان صوتي حلو هههههه شكلي مزه وانا ما ادري هههههه
    1 point
  15. Puedes probar usando setElementCollidableWith
    1 point
  16. Pq vc não cria o pickup de dinheiro em vez de um marker? Dai vc usa um onPickupHit.
    1 point
  17. ✦انا شايف ان السيرفر كفو .. بس ناقص الوححات تصميم حلو .. تقبل مروري✦
    1 point
  18. اطرح اكواد القيم مود..
    1 point
  19. ✦ وعليكم السلام ✦ ✦ بنسبة لي انا مافي احد براسي عشان اكرهو او لا ✦ ✦ لان هي بنهاية لعبة ✦ ✦ اذا انت شخص كفووو ✦ ✦ اتمني لك ولسيرفرك النجاح في كل الاوقات ✦
    1 point
  20. Ahogy eddig csináltad, létrehozod script elején, aztán használod a dxSetRenderTarget() És a 2. argumentumot 'true'-ra állitod, ezzel kitisztisa a rtargetot mielőtt újra rajzolsz rá, azért mert a rtarget egy papirlap(igy biztos megérted.), ezáltál ha 1x rajzolsz rá, az ott is marad. Egyébként, rosszul használod a rtargetot, igy csak zabálja a CPU-t, csak akkor frissitsd a rtargetot ha új szöveget akarsz irni, a többi szöveget meg tárolod egy táblában, igy amikor érkezik egy új szöveg akkor csak végigloopsz rajta, és kirajzolod azt amit kell.(Legyen egy sor limit, mondjuk 10.) Igy valahogy csináld meg(ne render alatt): dxSetRenderTarget(rtarget, true) dxSetBlendMode("modulate_add") local subY = dxGetFontHeight(1, "default-bold") local offsetY = 500--//Ird ide a rtarget magasságát for i = #texts, 1, -1 do dxDrawText(texts[i], ird be, offsetY-subY*(i-), ...)--// A ...-ot helyettesitsd be azzal amivel kell. end dxSetBlendMode("add") dxSetRenderTarget() Ez csak példa, eléggé fáradt vagyok, és nincs kedvem sokat babráli a cuccokkal, bocsi. A dxSetBlendMode Csak azért kell,hogy a szöveg szebb legyen. Második problémát nem értem teljesen, az valószitűleg a sajátkészitésű worldbreak miatt van, mivel a magyar betűket nem tudja kezelni a lua(nem ascii betűket), erre ott az utf8 lib MTAban. (Feltéve, ha az a baj,hogy levágja a szöveget) U.I.: onClientRender -be tedd a kép felrajzolását.
    1 point
  21. لقد تم إنشاء روم خاص للعرب في الديسكورد
    1 point
  22. @Gw8 não fique dando código assim de graça, isso desestimula o usuário a aprender. E se você tivesse lido as outras respostas, saberia que não é isso que ele queria.
    0 points
×
×
  • Create New...