Jump to content

Leaderboard

Popular Content

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

  1. Happy Spring Break! We have got a new release for you - Multi Theft Auto: San Andreas 1.5.4! This release includes security updates for the server that protect both you and us, so we recommend all server owners to upgrade as soon as possible - see the steps below for tips on that. Failure to do so may affect your server's visibility on the Master Server List in the ingame server browser. Aside from security fixes, there are some feature updates in this version for the client as well, so regular players are more than welcome to update. What do you need to do to upgrade your server properly Stop your server, then upgrade your server binaries like usual. You can also upgrade your server resources if you use any of the default MTA:SA ones. Start your server, and when it is running, stop your server again (This will step will ensure mtaserver.conf is upgraded) Edit your mtaserver.conf file, and find <owner_email_address> (it should be just below the <servername> parameter) and insert a valid e-mail address that we can use to contact you, should there be an issue with your server. This e-mail address IS NOT visible publicly and will only be used for means listed earlier. That is, only if those occur. Save the mtaserver.conf file, then start your server again. Release Highlights Authorized Serial Account Protection is now enabled by default. To put it simply, this feature prevents players from logging in to an account on the server if their serial differs from the serial associated with that account. Naturally, this feature is configurable so you can restrict it to specific account groups and you can authorize more than just one serial for a specific account. You can also disable this in the mtaserver.conf file if you are sure you do not need the feature. Database Credentials Protection is now enabled by default. passwordHash() & passwordVerify() can now be used to store and verify passwords securely and efficiently fetchRemote() now supports parallel downloads with the queue name parameter setWorldSpecialPropertyEnabled() now has settings for "sniper moon", "random foliage" and "extra air resistance" New scripting functions: get/setVehicleLODDistance() setElementDimension() now supports element omnipresence, which means that an element can be in all dimensions at once fixes for weapons/fists desync Corona markers should now have a correct attach offset position SQLite or MySQL no longer makes the server freeze if the connection is lost (#9520) Goggles no longer stay after player was killed (#9477) updates for CEF and other dependencies and redists fakelag command for testing sync issues fixes for some crashes and improvements for error handling for installation and startup issues removed max password length limit for server account passwords added server option to allow locally modified (gta3.img) vehicles added world special property "extraairresitance" to remove speed limiter on certain road sections (#7546) resource pack: various changes in acpanel, editor, freeroam, killmessages, playerblips, race and webbrowser ... plus more! A complete list of changes can be found here (recommended read) and here (incomplete, from r10623 upwards). List of changes to the resource pack can be found here (starting from and including Oct 29, 2016 upwards). Want to download MTA:SA 1.5.4? Click here to download the build for Win 7+. Looking for a legacy build for XP/Vista? You can download it here. Or you can click here to go to our home page. Once there, click the Download button at the top center of the page, then choose your build and you are set. Linux server packages are also available. This release is backwards compatible with the 1.5.3 (also 1.5.2, 1.5.1 and 1.5). If you use these versions, then you may as well upgrade to the newest one. Credits for this release: 4O4, Arran, Dutchman101, einheit-101, Fernando, lopezloo, Necktrox, next, Noki_, qaisjp, ZReC ^ (Have you contributed to MTA:SA 1.5.4's source code/resources pack but were not mentioned in the above list? PM @jhxp with a link to your contribution and you will be added ASAP) ^ Oh, and did you know that we have got our very own Discord server now? Click here for details on how to join our server. Take care. -- MTA Team
    1 point
  2. بسم الله الرحمن الرحيم السلام عليكم ورحمة الله تعالى وبركاته لأن أظن أغلب الناس ماتعرفه وتحسبه معقد interpolateBetween جاي أشرح لكم فنكشن تابعو معي يمكن الشرح يكون طويل لكن اتمنى تستفيدو تعني الإقتحام مابين أو التأثير بين بكل بساطة كل ماعليك معرفته هو مثل من - الى الفنكشن يسمح لك تسوي أنيمايشن (حركة) بين 6 نقاط حيث تتمثل الثلاث الأولى من إحداثيات البداية والثلاث الثانية النهاية سواءا كان : لوحة - صورة - تصاميم دي إكس - ماركر - كاميرا .. أي شي له إحداثيات # الجملة التركيبية للوظيفة float float float interpolateBetween ( float x1, float y1, float z1, float x2, float y2, float z2, float fProgress, string strEasingType) : العناصر المطلوبة x1, y2, z2 : (..إحداثيات بداية التأثير ( الحركة x2, y2, z2 : إحداثيات نهاية التأثير fProgress : مدة الإحراز أو التقدم التي يأخذها التأثير ( الوقت ) ويكون نوعا ما ب ميلي ثانية strEasingType : نوع الحركة أو التأثير اللذي تريده الأمثلة رح توضح أكثر أعرف انكم مافهمتو بعد حتى نجيب قيمة ب ميلي سكند أو ميلي ثانية نستخدم getTickCount fProgress الوظيفة تقوم بجلب مدة الوقت اللي جهازك كان شغال فيه بالميلي سكند وببعض حسابات نكون اللي نحطه بالنهاية moveObject أنواع الحركة ... تماما مثل من الويكي https://wiki.multitheftauto.com/wiki/Easing الموقع فيه جدول يوضح لك كل أنواع الحركة وكيف تأثيرها مثال لهذا "Linear" : كيفية تأثيرها يعني بشكل مستقيم دون تأثيرات ثانية بالمثال يتضح المقال # الأمثلة # مثال 1 المثال يوريني كيف نخلي لوحة تجي من فوق الى الوسط sx, sy = guiGetScreenSize() test = guiCreateWindow((sx - 454) / 2, (sy - 502) / 2, 454, 502, "test", false) -- لوحة function pop() local rh = interpolateBetween( (sy - 2) / 2,0,0, (sy - 502) / 2,0,0, (getTickCount()-start)/1800, "OutElastic") -- نعرف قيمة واحدة لأننا نريد الإرتفاع فقط guiSetPosition(test,(sx - 454) / 2,rh, false) -- نخلي موضع اللوحة على حسب اللي نبيه end bindKey("F2", "down", function () guiSetVisible(test,true) addEventHandler("onClientRender",root,pop) -- الفنشكن يستخدم مع الرندر start = getTickCount() -- نعيد تعريف وقتنا حتى يتعرف عليه عند الضغط على الزر end) getTickCount()-start/1800 نعيد نجيب الوقت ننقصه من وقت البداية اللي هو عند الضغط على الزر نقسمه على وقت النهاية اللوحة رح تجي لمدة ثانية و 800 ميلي سكند وليس بعد على الأرجح رح يطلعنا start a nil value لذا نقترح نعرفه مرتين "OutElastic" بهذا الشكل ض2 نقدر نستعمل واحدة او اثنين او ثلاث شرط مايكونو فوق ثلاث لأننا مانحتاجهم نحطهم صفر مثال 2 cam نوضح كيف نسوي كاميرا تتحرك من موضع لاخر عند كتابة الكومند start = getTickCount() addCommandHandler("cam", function() start = getTickCount() addEventHandler("onClientRender",root,moveCam) end) function moveCam() x1, y1, z1 = interpolateBetween(500,600,452,800,454,411,(getTickCount()-start)/4000, "Linear") x2, y2, z2 = interpolateBetween(510,620,512,850,464,471,(getTickCount()-start)/4000, "Linear") setCameraMatrix(x1, y1, z1, x2, y2, z2) end الإحداثيات غير مجربة قاعد أخبص فقط لتوضيع المعنى مثال 3 نوري كيف نلون ليبل (كتابة) عند دخول تأشيرة الماوس إليه start = getTickCount() test = guiCreateWindow(454,503, 454, 502, "test", false) label = guiCreateLabel(100, 0, 252, 20, "testing", false, test) guiLabelSetColor(label, 255, 0, 0,255) -- نحط مثلا لون أحمر function colorTheLabel() color1, color2, color3 = interpolateBetween(255,0,0,0,255,0, (getTickCount()-start)/2000, "Linear") -- نحوله من أحمر الى أخضر لمدة ثانيتين end function RestColor() color4, color5, color6 = interpolateBetween(0,255,0,255,0,0, (getTickCount()-start)/2000, "Linear") -- نحوله من أحمر الى أخضر لمدة ثانيتين end addEventHandler("onClientMouseEnter",label, function() start = getTickCount() removeEventHandler("onClientRender",root,RestColor) addEventHandler("onClientRender",root,colorTheLabel) guiLabelSetColor(label, color1, color2, color3,255) end ) addEventHandler("onClientMouseLeave",label, function() start = getTickCount() removeEventHandler("onClientRender",root,colorTheLabel) addEventHandler("onClientRender",root,RestColor) guiLabelSetColor(label, color4, color5, color6,255) end ) الكتابة رح تتلون من احمر الى أخضر عند دخول الماوس اليه و يتحول من اخضر الى أحمر عند الخروج صفحة الويكي https://wiki.multitheftauto.com/wiki/InterpolateBetween هذا كل شي لقد تعبت أتمنى الشرح يكون واضح أي شي غير مفهوم أو غلط يرجى التعليق لأن بعض الأكواد غير مجربة اللعبة ماسحها الموضوع سيتم إعادة تنسيقه حين رجوع جهازي إلي السلام خير الختام
    1 point
  3. Olá a todos. Desenvolvi este longo formulário com perguntas relacionadas a Multi Theft Auto e gostaria da participação de vocês. Comentem abaixo se houver alguma dúvida (não pergunte as respostas), alguma pergunta que considere errada ou sugestões de novas perguntas. Formulário:
    1 point
  4. السلام عليكم ورحمة الله وبركاته شرح اليوم هو وظيفة اذا كان اللاعب زائر تركيب الوظيفة , :- isGuestAccount ( account theAccount ) account theAccount :- إسم الحساب , طبعا نجلب إسم الحساب عن طريق الوظيفة الآتية getPlayerAccount ناخذ مثآل : في هذا المثال ، يتحقق اذا كان بحساب زائر او غير مسجل ,ف يخرج له نص بالشات بانه زائر addCommandHandler ( "CheckAccount" , -- كوماند function ( aPlayer ) -- وظيفة if ( isGuestAccount ( getPlayerAccount ( aPlayer ) ) then -- التحقق من أن اللاعب غير مسجل او زائر outputChatBox ( " انت زائر " , aPlayer ) -- اخراج نص بالشات end end ) مثال 2 :- ( إرجاع ) return في هذا المثال ، نتحقق اذا كان اللاعب زائر ، نقوم بعمل شيء يسمى function isGuest ( aPlayer ) -- وظيفة ( useful function ) return isGuestAccount ( getPlayerAccount ( aPlayer ) ) -- اذا كان اللاعب زائر نقوم بالرجوع end -- انهاء الوظيفة addCommandHandler ( "Check" , function ( plr ) if ( isGuest ( plr ) ) then return end end ) والسلام عليكم ورحمة الله وبركاته
    1 point
  5. puedes poner en el meta algo tal que asi <script src="nombre.lua" type="client" cache="false"/> Pónselo a los archivos client-side.
    1 point
  6. استخدم الفنكشنات اللي معطيك اياها فوق , ما في جاهزز
    1 point
  7. طيب ... الحين انت "كما طلب صاحب الموضوع" تجيب لوب السيارات ابي افهم وش الـ players في السطر 4 طيب وش هو السورس اللي رح تجيب ما اذا كان في السيارة او لا ؟ طيب وش الشي اللي رح تسويله اخفاء ؟ v ماهي معرفة في الوقت الحالي ... هل تعلم ! هل تعلم ان زر تسجيل الخروج في اعلى الشاشة ؟
    1 point
  8. الله الله ، مبدع من يوم يومك
    1 point
  9. شرح مفيد من شخص رأئع وجميل تقبل مروري البسيط ..#
    1 point
  10. @Abdul KariM @Master_MTA @#Soking @#_iMr.[E]coo @#BrosS @MR.NaiF-MTA @coNolel @iMr.WiFi..! @Abu-Solo @AchrefF @Mhmd.z @L3yr رأيكم نايف . بروس . ابو سولو ادري تصميم ماهو حلو مرة ... لكن جديد قريب ان شاء الله
    1 point
  11. 1 point
  12. عليكم السلام شرح مفيد وممتاز بس في خطا بسيط if ( isGuest ( aPlayer ) ) then return end --aPlayer x --plr
    1 point
  13. ولله استفدت منكم انا كمبرمج مبتدئ وش اتعلم في البداية ؟؟؟
    1 point
  14. 1- لا تسرق أكواد , ولا تأخذ من أي شخص غير موثوق كود 2- متابعة قسم دروس في البرمجة , ومشاهدة المواضيع التي تطرح في قسم البرمجة 3- الدخول ل صفحة الويكي , ووضع اللغة العربية , والبحث بين الفنكشنات ومعرفة فائدتهن 4- إن واجهتك صعوبات في أكواد , بمكتك طرح الكود في قسم البرمجة ومساعدتك فيه 5- اعتمد على نفسك في صناعة الأكواد ولا تعتمد على غيرك 6- لا تجعل أحد يحبطك , اهم 6 نصايح مني لك
    1 point
  15. for _ , aPlayers_ in ipairs ( getElementsByType ( "player" ) ) do if ( getElementsWithinColShape ( aArea , aPlayers_ ) ) then local CGroup = getElementData(source,"Group") if getElementData(aPlayers_,"Group") == CGroup then givePlayerMoney(aPlayers,1620) end end end --@%#+95#;(%#' اذا الأكواد اجت ملخبطة اعذرني انا جوال
    1 point
  16. مالها علاقة بمصداقية المواقع SSL شهادة الشهادة تباع بفلوس و ايضا متوفره مجانا ولا علاقة لها بمصداقية المواقع او نشاط المواقع او اي شئ معروض بالمواقع SSL عموما حاليا تم تركيب شهاده
    1 point
  17. MUSIC SEARCH ENGINE (Provided by Youtube, Soundcloud and vmuzice.com) Hey everyone! I have decided to release this script that I made it some time ago. There's no much to say, it's a simple tool to search music. I don't have an updated video of this resource but I can say it is an improved version of this https://www.youtube.com/watch?v=q35h7dtYRrE (Which it is mine). 1. First thing first: In the v2, you have three sources from where you get songs, but two of them you need to have an api key: Youtube and Soundcloud. Tutorial I have made for Youtube API: https://youtu.be/2AeCaihFGuU Soundcloud: Ask for it http://soundcloud.com/you/apps/new (See more https://developers.soundcloud.com/) For vmuzice.com, there is no requirements (but see if it is avaiable in the server's area) 2. Second thing: ADD THE RESOURCE TO THE ACL RPC (Needed for fetchRemote to get results from youtube, soundcloud, etc)3. Third thing: You can open the GUI in game using /youtube and '/youtube stop' to stop listening. Download link: https://community.multitheftauto.com/index.php?p=resources&s=details&id=14330 Any question will be answered as soon as I can.
    1 point
  18. تم استبعاد جميع من في التيم ما عدا @Master_MTA @Soking @#iMr.wiFi
    1 point
  19. العفو بالتوفيق تم استبعادك من b.l team
    1 point
  20. getDistanceBetweenPoints3D use this to check if the marker is <, for example, 1m or 0.5m away from where the mouse was clicked in the world. Markers have no collisions so you cannot click them.
    1 point
  21. local value = 10 function returnValue ( ) return ( value == 10 and "Yes" or "No" ) end outputChatBox ( tostring(returnValue()) ) -- result Yes لو تجرب المثال تفهمه او تركز بالمثال تفهمه بسرعة
    1 point
  22. @F_F أصبر اصبر .. انت Xiti ?? لا لالالالالالالالالالالا انت بيل غيتس ؟؟ كيف ماكتشفتك للحين ؟؟ أهنيك عالموهبة التخبيصية ,! علعموم ماسويت شيء جديد كالعادة تخبيص .. انصحك ماتساعد لين ماتتعلم اللغة زين بعد كذا تساعد لاتساعد في اشياء ماتعرفلها , خل غيرك يسويها مو ضروري انت الي تسويها + انا مو قصدي احطمك بس شايفك بشكل مستمر ترد بوست تخبيص ومامنه فايدة مع كل احترامي + لا تساعد أبد الا وأنت مجرب الاكواد بنفسك , مو تساعد بكود تخبيصي
    1 point
  23. عفواً يالرهيب
    1 point
  24. وااو عليك يا بطل هههههههههه منور مدري وش اقول على هذي الامشونات ههههههههههه
    1 point
  25. actually they changed it to May 19th very recently... it's disappointing but I'm sure they had a reason to do that
    1 point
  26. I'm a seruis gui, hope my seruisity is enough for you. :V
    1 point
  27. It uses several threads, but most of the logic runs in a single thread so it's very close to being single-threaded in reality.
    1 point
  28. I guess you're looking for processLineOfSight. However, it does not return the rotation directly so you have to calculate it from the returned normal vector.
    1 point
  29. Sorry, but if you open executables from random people, it's your own fault. There's nothing we can do about it.
    1 point
×
×
  • Create New...