Jump to content

Leaderboard

Popular Content

Showing content with the highest reputation on 02/06/22 in all areas

  1. awesome, thanks guys. that was really helpful
    2 points
  2. Hi, I've moved your thread to the Portuguese section so you can get offers from people that speak Portuguese. Make sure to always use English when creating posts outside this specific section. If you're looking to hire international talent, make sure to create a topic in this section using English: https://forum.multitheftauto.com/forum/149-looking-for-staff/ Good luck!
    1 point
  3. Change will only happen if people ask for it or someone decides to do it out of own will. I don't know if there's need to upgrade Lua version entirely. I know new functions & features can be added directly when needed. You can stay up to date with MTA Development:
    1 point
  4. MTA uses Lua 5.1 https://github.com/multitheftauto/mtasa-blue/tree/master/vendor/lua (correct me if I'm wrong). Features from more recent Lua versions won't work in your MTA Lua client/server scripts. For example, the goto statement was only added in Lua 5.2 http://lua-users.org/wiki/GotoStatement
    1 point
  5. It is updateState(value, total, radius), like updateState(50, 100, 250) should give half a circle. It could be edited to remove radius param in our case. This is the way I update the svg : local function setProgress(value) local svgXML = svgGetDocumentXML(mySvg) -- get xml local path = xmlNodeGetChildren(svgXML, 1) -- get path node (second node, following first example I gave) xmlNodeSetAttribute(path, "d", updateState(value, 100, 250)) -- editing the attribute svgSetDocumentXML(mySvg, svgXML) -- saving end You could imagine a command to test it like : local function startDemo() local value = 0 setTimer(function() value = value + 1 setProgress(value) end, 10, 100) end addCommandHandler("demo", startDemo) A little animation 0 to 100 % of the circle progress.
    1 point
  6. Hey @Sina2021a Normally we discourage appealing bans on someone else's behalf, but I've moved the appeal into Ban appeals section so that it can get checked.
    1 point
  7. السلام عليكم ورحمة الله تعالى وبركاته أخباركم جميعاً عساكم بخير ------------------------------------------- اليوم جيت أتكلم عن الأشخاص بعض الكلمات المنتشرة كـ "مزح " وهي محرمه ومنتشره للأسف -------------------------------------------- أولاً: التحريف بأسماء الله عز وجل مثل " واللهي " , " سبهان الله " , "اللههه" للأسف هذا الشي منتشر عند الناس و يجب كتابة لفظ الجلالة بالشكل الصحيح ---------------------------------------------- ثانيا: سب الدهر (والعياذ بالله) مثل يلعن الوقت الي إحنا فيه(استغفر الله) حرام ولا يجوز لأن الله هو الدهر عن أبي هريرة رضي الله عنه قال: قال رسول الله صلى الله عليه وسلم: قال الله تعالى: يؤذيني ابن آدم يسبّ الدّهر وأنا الدّهر أقلّب الليل والنهار -------------------------------------------- والسلام عليكم ورحمة الله وبركاته
    1 point
  8. Dear MTA forums administration, there appears to be a fair amount of users on our forums that auto-translate all of the content on this web-page. Support topics start with the impression that they are awkwardly-speaking-but-trying English speakers but in replies the quotes turn out to be Spanish, Polish, etc giving away that they actually auto-translate everything. There are people who do not know about this problem because they just set the auto-translator for everything English. Those people suffer from issues of understanding, essentially because the auto-translator botches-up the original writing. I suggest that users should have the ability to decide whether their forums posts should be posted using auto-translation disabled on the HTML elements. This can be done using the HTML translate attribute on div tags. I suggest that there be a new option in the user's preferences to put this attribute on all of their posts by default. Then you should be able to decide on an individual post's basis if auto-translation should be allowed. Please think about the future of our forums. ?
    1 point
×
×
  • Create New...