Jump to content

Leaderboard

Popular Content

Showing content with the highest reputation on 22/05/19 in all areas

  1. Hello, I would like to request for Persian / فارسی section for Iranian players. Also i ask Iranian players to help out translating mta to persian. (I've already made lot of progress) -> https://translate.mtasa.com/fa/ With regards. Deihim007 با سلام, اینجانب تمایل به درخواست بخش فارسی برای پلیر های ایرانی رو دارم. همچنین از پلیر های ایرانی میخوام برای ترجمه ام تی ای به فارسی کمک کنند (که در حال حاضر پیشرفت زیادی داشته) -> https://translate.mtasa.com/fa/ با سپاس دیهیم 007
    5 points
  2. ??? Hey There Me alireza support this and i would be glad to see a Persian section on the MTA:SA forum. With my best Regards. Alireza
    5 points
  3. https://forum.multitheftauto.com/forum/184-persian-فارسی/ Your wish is granted.
    4 points
  4. Hey There Me Arman support this and i would be glad to see a Persian section on the MTA:SA forum. With my best Regards. Arman لطفا زبان فارسی رو برای ما اضافه کنید . نیاز داریم لطفا هم wiki وهم forum اضاف کنید
    4 points
  5. MTA Sa has many Persian Players and many Persian Devs that they want to help this community to grow better and better. we want to see Persian Section in Forum too @qaisjp
    4 points
  6. I also hope that the Persian language can make a great progress in this regard!
    4 points
  7. Well this would be great, I am ready for this and I can support translating or moderating.
    4 points
  8. Hello I support this and i would be glad to see a Persian section on the MTA:SA forum too.Many Persian MTA Users wanna this Thank you @qaisjp #MTASaTweets
    3 points
  9. Hey There Me MamawD support this and i would be glad to see a Persian section on the MTA:SA forum. With my best Regards. MamawD?? #MtaSaTweets
    3 points
  10. Hey There Me AdLeR support this and i would be glad to see a Persian section on the MTA:SA forum. With my best Regards AdLeR ✌? لطفا زبان فارسی را اضافه کنید??
    2 points
  11. This crash, client.dll @ 0x00281xxx, has received attention on MTA discord's #support channel yesterday, and I will make a summary of the situation for you. A handful of users are suffering this crash which we cannot understand from any recent change. In fact, even downgrading MTA to older builds from months ago won't resolve it, even though some others assumed the onset was related to yesterday's MTA updates. We believe it's related to something Microsoft recently did, with (hidden, silent) Windows updates for all their OSes. It seems it started happening (or suddenly increasing) on builds that were previously unaffected. Even though the amount of impacted MTA users is low, we understand the severity of this issue (because it totally prevents you from running MTA at all) which is why we're actively investigating it. Unfortunately, at this moment we cannot offer you a solution, although some others managed to solve it by following a few steps (of which we still don't know how many are relevant or why; just try them all): - Uninstall MTA completely, and move your GTA installation to another directory. Now re-install MTA (download: https://nightly.multitheftauto.com/?mtasa-1.5-rc-latest), into another directory than previously as well. Try running now. If this doesn't resolve it, then for now you're out of luck; we will inform you once we can offer you a solution. @SantV
    2 points
  12. TRUE, but you didn't even bother asking that question, which is very unusual disinterested behaviour. All you asked was: "Do your thing and send the end result to me". You know the criteria my support, which I did pm you yesterday. Try to fit that criteria or ask somebody else who does the whole A to Z thingy without asking the important questions. I am here for scripting learning support, nothing else. Respect that. If you want to start scripting, then at least start from the beginning, start with Lua! Not MTA scripting. Do your desk research. Google, Youtube, inspiration, documentation. Oh nice! Somebody already made a collection for you. There is so much out there for you to use! Ask questions. Ask more questions. Try out. Fail. Debug. Look up what the warnings/errors mean. Still not understanding what they mean? Ask questions. Iterate. Improve. Rewrite. Try out. Delete. Copy. Cut. Disable. Write documentation so that you will not forget what your learned! No time for that? There are no short-cuts, except when you have hacked majqq.
    2 points
  13. با سلام خدمت دوستان عزیز دیهیم هستم مودریتور بخش فارسی ام تی ای دوستانی که تمایل دارن می تونن خودشون رو اینجا معرفی کنند
    1 point
  14. سلام , فکر کنم بتونم کمکتون کنم
    1 point
  15. اول از همه باید لوا یاد بگیری، پیشنهاد می کنم آموزشی که داخل چنل فارسی دیسکورد گذاشتم مطالعه کنید
    1 point
  16. قوانین انجمن فارسی ام تی ای:اس ای .به انجمن فارسی ام تی ای خوش آمدید. لطفا قوانین زیر را جهت اطمینان مطالعه نمایید نسخه کوتاه لطفا با قضاوت صحیح از هرگونه اعمالی که باعث دردسر برای ما و شما شود خودداری نمایید. ضمنا بایکدیگر بدرستی برخورد نمایید نحوه تماس با ما سرور دیسکورد: (در صورت هرگونه سوال): مشخصات - لینک دعوت پیام در انجمن (پی ام - الالخصوص برای موضوعات خصوصی): لینک اعضاء توییتر : ام تی ای گروه استیم : لینک قوانین کلی الف) از هرگونه بی احترامی و برخورد نادرست خودداری نمایید ب) قوانین عمومی را رعایت نموده و از فحاشی، نژادپرستی، مباحث سیاسی و مذهبی خودداری نمایید پ) انتشار هرگونه لینک دعوت، تبلیغ و غیره خودداری نمایید ت) از انتشار هرگونه اطلاعات شخصی دیگر افراد خودداری نمایید ث) هرگونه انتشار و استفاده و یا درخواست کمک برای اسکریپت های لو رفته یا دزدی شده اکیدا ممنوع است ج) لطفا از استفاده حروف انگلیسی (به اصطلاح فینگلیش) خودداری نمایید
    1 point
  17. Corrigi algumas outras coisas, copie o código novamente, boa sorte aí na sua nova jornada. OBS: Sempre procure verificar as possíveis situações nunca esqueça disso, você esqueceu de verificar se o cara já estava com porte.
    1 point
  18. local porte = createMarker (1491.136, -1768.475, 17.796, "cylinder", 2, 255, 0, 0, 50) function infoporte (hitElement, matchingDimension) if hitElement and getElementType (hitElement) == "player" and matchingDimension then outputChatBox ("#000000[INFO] #bababaPorte De Arma Custa R$300.000, Deseja Comprar? #FF0000[/comprarporte]", hitElement, 255, 255, 255, true) end end addEventHandler ("onMarkerHit", porte, infoporte) function comprarPorte (thePlayer, cmd) if isElementWithinMarker (thePlayer, porte) then if not (isObjectInACLGroup ("user."..getAccountName (getPlayerAccount (thePlayer)), aclGetGroup("PorteDeArmas"))) then -- Se o jogador não estiver na acl 'PorteDeArmas', então: if getPlayerMoney(thePlayer) >= 300000 then takePlayerMoney (thePlayer, 300000) aclGroupAddObject (aclGetGroup("PorteDeArmas"), "user."..getAccountName(getPlayerAccount(thePlayer))) outputChatBox ("Agora você possúi porte de armas!", thePlayer, 0, 255, 0) else outputChatBox ("Erro! Você não tem dinheiro suficiente!", thePlayer, 255, 30, 30) end else outputChatBox ("Erro! Você já tem porte de armas!", thePlayer, 255, 30, 30) end else outputChatBox ("Erro! Você precisa estar na prefeitura para pegar o porte de armas!", thePlayer, 255, 30, 30) end end addCommandHandler ("comprarporte", comprarPorte)
    1 point
  19. Verifique se o jogador esta no marker certo, assim: local skinmarker = createMarker (1565.1999511719, -1690.1999511719, 14.800000190735, 'cylinder', 2.0, 195, 107, 35, 202) addEventHandler ("onMarkerHit", root, function (hitElement, matchingDimension) if hitElement and getElementType (hitElement) == "player" and matchingDimension then if isElementWithinMarker (hitElement, skinmarker) then -- Se o jogador estiver no marker 'skinmarker', então: if isObjectInACLGroup ("user."..getAccountName(getPlayerAccount (hitElement)), aclGetGroup ("Policia")) then setElementModel (hitElement, 286) outputChatBox ("[PMERJ] Agora voce esta uniformizado para o trabalho!", hitElement, 0, 255, 0) else outputChatBox ("Você não é um policial", hitElement, 255, 0, 0) end end end end)
    1 point
  20. "Line 1\nLine 2" With \n There are also settings within the function itself, to cut down text automatic. https://wiki.multitheftauto.com/wiki/DxDrawText But does not work in combinatie with colour codes enabled:
    1 point
  21. 1. Maybe that's problem? Wiki says: 2. https://wiki.multitheftauto.com/wiki/DxCreateFont + https://wiki.multitheftauto.com/wiki/DxDrawText font, optional argument.
    1 point
  22. اول مايشتغل السكربت وبس يضيف احد او يحذف احد من القروب المعين واذا دخل الاعب السيرفر او سجل خروج
    1 point
  23. يسوي لوب بالسيرفر سايد ويتحقق ان الاعبين معهم الرتبة المطلوبة وبعدين ترايقر للكلينت ويعدل قيمة المتغير وبالرندر يتحقق من قيمة المتغير
    1 point
  24. obrigado danilin agora vou usar % é bem mais pratico, funcionou sim mais com % é bem melhor sem erros futuros eu tinha feito quase do mesmo jeito total = math.random(5000,10000) total1 = total givePlayerMoney(source,20*total1/100) mais nao funcionou
    1 point
  25. Eu já tinha corrigido, só colocar ) no último end, ou copia o código de novo.
    1 point
  26. Pq não usa seu próprio script corrigido? local skinmarker = createMarker (1565.1999511719, -1690.1999511719, 14.800000190735, 'cylinder', 2.0, 195, 107, 35, 202) function MarkerHit(markerHit,matchingDimension) local account = getAccountName (getPlayerAccount (source)) if isObjectInACLGroup ("user."..account, aclGetGroup ("Policia")) then setElementModel (source, 286) outputChatBox ("[PMERJ] Agora você está uniformizado para o trabalho!", source, 0, 255, 0, false) else outputChatBox ("Você não é um policial", source, 255, 0, 0, false) end end addEventHandler ("onPlayerMarkerHit", getRootElement(), MarkerHit)
    1 point
  27. في اكثر من طريقة اذا تبي تضيف سطر جديد مثلا تقدر تستخدم \n وبيضيف سطر جديد عدلت على المثال شوي عشان تقدر تعدل عليه اسهل local sx, sy = guiGetScreenSize() local list = { buttons = {--{coordinates = {احداثيات الزر}, colors = {button = {لون الزر}, text = {لون ليبل الزر}}, text = "تيكست ليبل الزر", label = "تيكست الليبل"}, {coordinates = {(sx/2)-155, (sy/2), 100, 30}, colors = {button = {255, 0, 0, 255}, text = {255, 255, 255}}, text = "Button 1", label = "Label 1\n Hello World !"}, {coordinates = {(sx/2)-50, (sy/2), 100, 30}, colors = {button = {0, 255, 0, 255}, text = {255, 255, 255}}, text = "Button 2", label = "#00FF00Label 2\n\n Hello World !"}, {coordinates = {(sx/2)+55, (sy/2), 100, 30}, colors = {button = {0, 0, 255, 255}, text = {255, 255, 255}}, text = "Button 3", label = "#0000FFLabel 3\n\n\n Hello World !"}, }, label = { coordinates = {sx/2, (sy/2)+35, sx/2, (sy/2)+35}, -- احداثيات الليبل colors = {255, 0, 0, 255}, -- لون الليبل font = "default-bold", -- خط الليبل align = {x = "center", y = "top"} -- align الليبل }, selected = 1 } showCursor(true) addEventHandler("onClientRender", root, function() for key, value in ipairs(list.buttons) do local data = value.coordinates local alpha = 255-(isMouseInPosition(unpack(value.coordinates)) and (value.colors["button"][4]/2) or 0) local r, g, b = unpack(value.colors["button"]) dxDrawRectangle(data[1], data[2], data[3], data[4], tocolor(r, g, b, alpha)) r, g, b = unpack(value.colors["text"]) dxDrawText(list.buttons[key].text, data[1], data[2], data[1]+data[3], data[2]+data[4], tocolor(r, g, b, alpha), 1, "default-bold", "center", "center", true) end if list.buttons[list.selected] then local label = list.label dxDrawText(list.buttons[list.selected].label, label.coordinates[1], label.coordinates[2], label.coordinates[3], label.coordinates[4], tocolor(unpack(label.colors)), 1, label.font, label.align["x"], label.align["y"], false, false, false, true, false) end end) addEventHandler("onClientClick", root, function(button, state) if button == "left" and state == "down" then for key, value in ipairs(list.buttons) do if isMouseInPosition(unpack(value.coordinates)) then list.selected = key break end end end end) function isMouseInPosition(x, y, width, height) if not isCursorShowing() then return false end local sx, sy = guiGetScreenSize() local cx, cy = getCursorPosition() local cx, cy = cx*sx, cy*sy return (cx >= x and cx <= x+width) and (cy >= y and cy <= y+height) end تقدر تضيف وتحذف ازرار على كيفك من الجدول
    1 point
  28. السلام عليكم شبابء #~~ جايب لكم سكريبت لوحات رمضان للدايري او لساحات البدايه جميع الوحات من تصميمي + مسموح التعديل https://www.upload.ee/image/9992358/99999999999999999999999999999999999999.png Download https://www.upload.ee/files/9992171/objects.zip.html #وبالختام اي احد عنده تصميم او فكره وحاب ينفذها يتواصل معي خاص
    1 point
  29. Muito ineficiente script.. Melhorado, mas faz o mesmo Headshot: addEvent "onPlayerHeadshot" addEventHandler("onPlayerDamage", getRootElement(), function (attacker, weapon, bodypart, loss) if getElementData(source, "invincible") then return end if bodypart == 9 then local result = triggerEvent("onPlayerHeadshot", source, attacker, weapon, loss) if result == true then killPed(source, attacker, weapon, bodypart) setPedHeadless(source, true) end end end ) addEventHandler("onPlayerSpawn", getRootElement(), function() if isPedHeadless(source) then setPedHeadless(source, false) end end ) Godmode server: function toggleGodMode(p) if not isPlayerStaff(p) then return end local state = not getElementData (p, "invincible") setElementData (p, "invincible", state) outputChatBox ("God Mode is now ".. (state and "Enabled" or "Disabled") ..".", p, 0, 255, 0) end addCommandHandler("god", toggleGodMode) local staffACLs = { aclGetGroup("Admin"), aclGetGroup("Console"), } function isPlayerStaff(p) local acc = getPlayerAccount(p) if not acc then return false end if isGuestAccount(acc) then return false end local object = getAccountName(acc) for _,group in ipairs(staffACLs) do if isObjectInACLGroup("user."..object,group) then return true end end return false end Godmode client (seu próprio código) addEventHandler ("onClientPlayerDamage", root, function () if getElementData(source, "invincible") then cancelEvent() end end) addEventHandler("onClientPlayerStealthKill", localPlayer, function (targetPlayer) if getElementData(targetPlayer, "invincible") then cancelEvent() end end)
    1 point
  30. الأفضل يحط داتا على اللاعب بأسم الرتبة احسن من هذي الطريقة لأنها بتسبب مشاكل
    1 point
  31. Yes, really bad, it hacks your pc and steals all your moneyZzz... and @majqq likes getting hacked, that is why he is using my code. P.s it is his hobby after all. No, no, the main question is: will you run software on your computer that does things you do not understand?
    1 point
  32. Amazing server review! Don't know why there are people complaining about. You did a good job man.
    1 point
  33. ! WARNING ! TBH WORST SERVER EVER, I DON'T RECOMMEND IT EVEN TO MY ENEMIES. OWNER IS ABUSIVE, MOST OF THE SERVER'S ACTIVE PLAYERS ARE ADMINS, EVERYONE'S CORRUPT AND MAKES NO SENSE.
    1 point
  34. تم تحديث رابط السيرفر, الرابط القديم كان فيه مشكلة -
    1 point
  35. porte = createMarker (1491.136, -1768.475, 17.796, "cylinder", 2, 255, 0, 0, 50) function infoporte(source) outputChatBox ("#000000[INFO] #bababaPorte De Arma Custa R$300.000, Deseja Comprar? #FF0000[/comprarporte]", source, 255, 255, 255,true) end addEventHandler ("onMarkerHit", porte, infoporte) function comprarporte(player) if isElementWithinMarker(player, porte) then if getPlayerMoney(player) >= 300000 then takePlayerMoney(player, 300000) outputChatBox("#000000[INFO] #FF0000Você Comprou o Porte De Armas!", player, 255, 255, 0, true) else outputChatBox("#000000[INFO] #FF0000Você Não Possui Dinheiro, Vá Trabalhar!", player, 255, 255, 0, true) end end end addCommandHandler ("comprarporte", comprarporte) function trport ( source ) if isElementWithinMarker (source, porte ) then if isObjectInACLGroup ("user."..getAccountName (getPlayerAccount (source)), aclGetGroup("PorteDeArmas")) then ---- Acl outputChatBox ("#000000[ #ff0000Sistema #000000] #ffffff Agora Você #00ff00Possui #ffffffo #ffff00"..NomeTag,source,255,255,255,true) else outputChatBox ('#000000[ #ff0000Sistema #000000] #ffffff Voce Tem Que Estar na #ff0000Prefeitura Para Pegar o Porte',source,255,255,255,true) end end end addCommandHandler ( "comprarporte", trport )
    0 points
  36. وش ذا صار حرب كودات ولا وش
    0 points
×
×
  • Create New...