Leaderboard


Popular Content

Showing content with the highest reputation since 21/01/19 in all areas

  1. 9 points
  2. 8 points
    سلام عليكم ورحمة الله آخخبااركم ان شاء الله طيبين ------------------------------------- في هذا الموضوع عندي مود نظام البنك ~~` افكاره ليست جديده مره 😅😅😅 ولكن حاولت اجيب افكار عندك مثلا لما تودع فلوس او تسحب يشتغل صوت + يتحرك البيد اللي يشتتغل بالبنك هذا افضل وصف ض2 لمعرفة كل شي عن المود في هذا الرابط / الفيديو  وبالتـــوفييقء ~~  |~ الإهداءات ~| @!#DesTroyeR_,) @MrKAREEM @Mr.Falcon @DABL @KillerX @NX_CI @[AcM] - Major . @MR_Mahmoud @Ahmed Ly @MR.Mosa @N3xT @Abu-Solo @SuperX @#BrosS @iMr.WiFi..! @Mr.CnTroL @Abdul KariM @Hakan @!#NssoR_) @Simple. و جميع أعضاء المنتدى 
  3. 8 points
    ســلام عليكم ورحمة الله إييشءء حالكم موضوع اليوم عن مود الايموشنات ~ طـبعـا المود مو حصري لأنه موجود في ونناسه ~ بس انا مسويه بشكل جديد فقط كل شيء عن المود موجود في هذا الرابط \ الفيديو بالتوفيق |~ |~ الإهداءات ~| #BrosS NX_CI iMr.WiFi..! N3xT Abdul KariM KillerX !#DesTroyeR_,) و جميع أعضاء المنتدى
  4. 7 points
    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. 5 points
    السلام عليكم , بعد عمل جاد لمده شهر تم الأنتهاء من اصدار 0 . 0 . 3 لسيرفر الأتحاد العربي لحرب العصابات الأصدار به حصريات كتير و لما اقول حصريات اقصد حصريات و افكار جديده لسيرفرات الحرب لمحه عن المودات و الباقي تقدر تستكشفه بنفسك USERPANEL FF F3 / PLAYER VEHICLES تم تركيب خواص جديده لاف 3 تستطيع الان اعطاء سياراتك لأصدقائك او المزايده علي سياره في متجر السيرفر SUPPORTCHAT GROUPS SYSTEM نظام الجروبات تم تطويره باشياء كتير و اضافه افكار حصريه اكتر تغير نظام الأعضاء تغير نظام البنك و استبداله بنظام المخزن مخزن الجروب يكون مكان الجروب يقدر يخزن فيه كل الي يباه من اسلحه فلوس اشياء اخري نظام المقرات الجديد بعد شراءك مقر تستطيع تجديد مقرك و تغير بيته من جوا + اضافه سيارات جديده للمقر + فتح خواص اخري للمقر شراء سيارات للمقر محل الأسلحه يستطيع اصحاب الجروبات ان يدخلو في مزاد اسبوعي لشراء محلات الأسلحه عند شراءك لمحل الأسلحه يجيك نصف المكسب الي يجي للمحل نظام الصناعه نظام تحديات اللاعبين نظام تحديات الجروبات طبعا تقدر تتحدي لاعب او جروب اخر مو فقط حرب تقدر تتحداه في شوتر ديبربي سباق سيتم اضافه انواع تحديات اخري + يوجد نظام لفلات الأسلحه حاليا النظام يعمل علي سلاحين فقط الأم فور و الاي كي 47 وش هو النظام ذا ؟ لما تقتل احمد بالسلاح , عند وصولك لعدد محدد من القتل يترقي السلاح للفل اعلي اللفلات جولد - برونز - الماسي كل لفل شكل سلاحه يتغير + يبان شكل السلاح الجديد عند الكل مو عندك فقط يوجد مهمات جديده ايضا مثل مهمه سباق الموت حروب الهيدرا حرب الأعلام ( حرب بين تيمين ) كل تيم له مقر و انت تحاول تسرق علم المقر الاخر و توصله لمقرك و الوظائف ايضا يوجد فيها تجديد
  6. 5 points
    بسم الله الرحمن الرحيم السلام عليكم ورحمه الله وبركاته اليوم معانا مود جديد المود عبارة عن : 1 - عاجل 2 - مع لوق 3 - تقدر تكتب مكان اسمك فيه اسم عربي *للمعلومة السكربت مو موجود بأي سيرفر غير سيرفرات* @MR.Mosa @MR.S3D @MrKAREEM صور المود : صورة لوحة التحكم في اسم العاجل : " رابط التحميل " ❃ ⌠ رابط التحميل هنا ⌡ ❃ الاهدائات : @!#DesTroyeR_,) @MrKAREEM @Mr.Falcon @DABL @KillerX @NX_CI @[AcM] - Major . @MR_Mahmoud @Ahmed Ly @MR.Mosa @+Source|> @Abu-Solo @SuperX @Mr.CnTroL والسلام عليكم ورحمه الله وبركاته تحياتي : *Kareem Amer*
  7. 5 points
    الووو, .... ترا مب منوب لدرجه ماقدر افتح سمدي ظفاك
  8. 5 points
    أهلاً وسهلاً بكم في هذا الموضوع لـ شرح التفآصيل تركيب التآج للآعبين لـ سيرفر الوزآرة الشهير سأقوم بتوضيح لكم طريقة تركيب التآج فـى سيرفر الوزآرة وشرح جميع الخطوآت لى نظام التآجات السكريبت متعوب عليه طبعآ بعد الرمضآن تجيدون رابط التحميل في قناتي في هذآ الموضوع سوف اشرح لكم كيف يتم تركيب الـتاج وكيف صاحب الروم يفعل التاجات بالقائمة عندما احد يقوم بشراء ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ الخطوة الأول : ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ عندما يقوم لاعب بأرسال بطاقة السعر : 50 سوا لى شراء التآج يقوم صاحب السيرفر بى فتح هذه القأئمة : ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ وسوف يسمح للآعبين او المسؤولين السيرفر بفتح هذا اللوحة وهونا يتم تركيب التاج لاعب الذي قام بشرائه ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ طبعا هونا يتم شرح اللوحة اولا ؟ لماذا صاحب الروم يقوم بإضافة الحساب داخل اللوحة التاجات وكيف يتم ذالك وماهو المستفيد من ذالك ؟؟ الأجوابة : يقوم بكتابة اسم الحساب الشاري ويظغط على الزر اضافة هذا الحساب مباشرةً سيتم أرسال الحساب الى اللوحة التاجات فالجدول .. ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ الشروحات التركيب التاج بالتفاصيل كاملة طبعا السكريبت معقد شيء ولاكن سهل وفكرته مميزه وممتازه Name : و Tag : xX[ Console ]xX , MR.S3D : التاج مثلآ هذا التاج يتم تقسيمه على نصفين xX[ Console ]xX : داخل الإيدت ( Tag : ) , MR.S3D : داخل الإيدت ( Name : ) أظهار التآج بشات -- Q.5 لونه احمر هذا اللون الذي يتم تغييره داخل اللوحة التاجات وبعد ذالك الظغط على زر حفظ المعلومات داخل اللوحة وأرسال المعلومات الى الإستضافة تم التصميم والبرمجة والفكرة من قبل @MR.S3D وتم تقليده كامل مكملاً من قبلي ونتمنا الموضوع غير مخآلفة للقوانين انه شرح بسيط وانتظرو الرآبط التحميل بقناتي وألف شكرا للجميع فـ آمان الله آخوكم وحبيبكم .القأئد المحلق ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
  9. 5 points
    سلام عليكم لي فتره معتزل من برمجه لكن رجعتتت بمود جديد و حصري مود عباره عن امر اسمه #send تكتب بالشات مثل كذا #send 100 100 عدد فلوس وبعدين مود نفسه يطلب منك علي طول تكتب اسم الاعب بالشات ( يجب عليك الان كتبت اسم الاعب ) يطلع لك بالشات كذا تكتب اسم الاعب عشان يوصلو له الفلوس وكل ذا داخل الشات وبنحط كود تحت طبعا هو يشتغل وكل شي لكن لو في غلط او شي او بق ياريت تقولو لي سيرفر addEventHandler("onPlayerChat",root,function(msg2) if getElementData(source,"go") == true then plr = getPlayerFromName(msg2) if plr then if plr ~= source then if getPlayerMoney(source) > 1 then givePlayerMoney(plr,tonumber(moeny)) givePlayerMoney(source,getPlayerMoney(source) - tonumber(moeny) ) outputChatBox(""..getPlayerName(source).." Has Been give moeny To "..getPlayerName(plr).." money is "..moeny.."",root,0,255,0,true) setElementData(source,"go",false) else outputChatBox("ليس لديك المال الكافي لارسله",source,255,0,0,true) setElementData(source,"go",false) outputChatBox("يجب عليك كتبت امر من جديد #send",source,255,0,0,true) end else outputChatBox("لا يمكن ارسل الفلوس لانفسك",source,255,0,0,true) setElementData(source,"go",false) outputChatBox("يجب عليك كتبت امر من جديد #send",source,255,0,0,true) end else outputChatBox("الاعب غير موجود بالسيرفر",source,255,0,0,true) setElementData(source,"go",false) outputChatBox("يجب عليك كتبت امر من جديد #send",source,255,0,0,true) end end end ) addEventHandler("onPlayerChat",root,function(msg) if string.find(msg,"#send") then if getElementData(source,"go") == false then len = string.len(""..msg.."") if len > 6 then text = string.sub(""..msg.."", 7,len) outputChatBox("يجب عليك الان كتبت اسم الاعب",source,0,255,0,true) setElementData(source,"go",true) moeny = text else outputChatBox("يجب عليك كتبت عدد الفلوس",root,255,0,0,true) end else outputChatBox("يجب عليك كتبت اسم الاعب لي ارسل الفلوس اليه",source,0,255,0,true) end end end ) الميتا <meta> <script src="server.lua" type="server" /> </meta> وفي مود ثاني قعد اشتغل عليه هو برنامج مثل لوحة ادمن بس لسه ما خلصته
  10. 4 points
    I can say with 100% confidence that would never happen. 1. We would never implement pawn 2. Kalcor has very strong opinions about this project and isn't willing to budge. Try mentioning MTA on the SAMP forums. He'll just ban you 3. Why should we? Provide me the positive effects that would give us. We don't fake our player numbers, we are pretty open to changes, we actually have anticheat. What does SAMP have? Some custom models and a few extra features? They don't have even close to the feature set we do. I don't see any reason why either party would agree to this. There's no point in letting this thread exist, so I'm going to lock it.
  11. 4 points
    Coroutines are used to pause execution of a routine (a section of the code) whilst waiting for a callback, for example. They aren't a replacement for timers, but rather an addition. If you want to pause and then resume coroutines after some time elapses, you'd be using setTimer as well. If you want temporary vips and bans you'd be best using traditional data storage (XML files, JSON files, SQL, etc. -- preferably SQL) with timestamps to mark end-time and setTimer to trigger the function that removes the vip status or ban. That way you can restart timers when your resource restarts for any reason, since you know the current timestamp and end-timestamp, you can calculate how long setTimer you need.
  12. 4 points
    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
  13. 3 points
    Cuidado ae cara. Ele não é o Danilin. A não ser que vc conheça ele na RL e tenha dado esse apelido pra ele.
  14. 3 points
    Huehuehue (I still could not fix the issues in the current post process resource, the SAAW-WW2 update has to a few days longer)
  15. 3 points
    @!#DesTroyeR_,) @TOUNSI |, السعأدة @DABL @+Source|> @HassoN @NX_CI فية كثير , لاكن لا اتذكر غير هدول رغم ان لا اعرف معظمهم .. بس ماشاء الله عليهم
  16. 3 points
    Hello, just wanted to give a simple gift to many people who keep having a problem with the LS CityHall flag to either replace it, or delete it from the Map and make a new LS CityHall for MTA. or change the flag texture as the Map Editor doesn't detect it. the same as many other objects. so i am giving you a way to fix this problem. i can make a tutorial if you guys want on how to remove other undetected objects. Object name : LAcityhallTrans_LAn Object model : 4003 HOW TO : 1- go to the map file that has the CityHall Map usually at : C:\Program Files (x86)\MTA San Andreas 1.5\server\mods\deathmatch\resources\<MapName>\ 2- Enter the <MapName>.map file there with an editor like notepad ( there is only one file has an extension of *.map) 3- in the end of the file add this line : <removeWorldObject id="removeWorldObject (LAcityhallTrans_LAn) (1)" radius="96.110512" interior="0" model="4003" lodModel="4024" posX="1484.36389" posY="-1749.83789" posZ="30.61433" rotX="0" rotY="0" rotZ="0"></removeWorldObject> 4- if the map is already open in your local server, then please reopen the map <MapName> Enjoy
  17. 3 points
    Hey, folks! I've decided to release this lobby I made about a year ago since it's been left unused (the project disbanded). The lobby itself is fully functional and dynamic, meaning it can (should) adjust to any amount of rooms available (pagination). There's also a fancy effect when you hover over a room, plus a few other cool features. Should you look at the code, you may notice that it's not fully finished. The design was made by airplanE, and I put it into effect. Let me hear what you think! Grab it here: https://github.com/ce2kettu/unison-lobby
  18. 3 points
    إذا ماعندك شي تضيفه للموضوع لا تعلق على الموضوع لما يكون شخص متواصل معي بكل مكان منتدى خاص و ديسكورد وبعد ما اسوي له كل شي واضيع وقتي واعلمه ايش المطلوب بيتجاهل الكلام وبيحط موضوع هذا بيكون ردي
  19. 3 points
    سلام عليكم يوم اقدام لكم مود عباره انها تقدر تشغل مودات عن طريق برنامج مميزات مو: 1- تقدر توقف لوق و تشغله عن طريق ملف اسمه config.ini لو كتبت true بيشتغل لوق لو false العكس 2-تقدر تشغل و توقف مودات من برنامج 3- تقدر تشوف لوق من ملف log.log function getinfos () local open2 = fileOpen("config.ini") texts = fileRead(open2,100) fileClose(open2) text = string.sub(""..texts.."", 7, 10) return text end function typeinlog (str) tr = getinfos () if tr == "true" then local open = fileOpen("log.log") fileRead(open,1500000) fileWrite(open,"["..os.date("%H:%M:%S").."]:"..str.."\n") fileFlush(open) fileClose(open) else outputServerLog("Note:log.log dont work you must set true in file config.ini") end end function getnames() names = "" local Table = getResources() for k, v in ipairs(Table) do if v then names = names .. " " .. getResourceName(v) .. " " else names = "false" end end return names end function start (res) local name = getResourceFromName(res) if name then startResource(name) outputChatBox("[Resource Manager] Has Been Start Resource "..getResourceName(name).."",root,0,255,0,true) typeinlog("Has Been Start Resource "..getResourceName(name).."") return "Has Been Start Resource "..getResourceName(name).."" else return "there is error" end end function stop (ress) local name = getResourceFromName(ress) if name then stopResource(name) outputChatBox("[Resource Manager] Has Been Stop Resource "..getResourceName(name).."",root,0,255,0,true) return "Has Been Stop Resource "..getResourceName(name).."" else return "there is error" end end C# using System; using System.Collections.Generic; using System.ComponentModel; using System.Data; using System.Drawing; using System.Linq; using System.Text; using System.Windows.Forms; using MTA_SDK; namespace Resource { public partial class Form1 : Form { public Form1() { InitializeComponent(); MTA server = new MTA("ip",port, "username", "passworld"); MTA_LuaArgs luaArgs = new MTA_LuaArgs(); string returned = server.CallFunction("resourcemmf", "getnames", luaArgs); foreach (string ppr in returned.ToString().Split(' ')) { if (ppr != "") listBox1.Items.Add(ppr); } } private void button1_Click(object sender, EventArgs e) { MTA server = new MTA("ip",port, "username", "passworld"); MTA_LuaArgs luaArgs = new MTA_LuaArgs("" + listBox1.Text + ""); string returned = server.CallFunction("resourcemmf", "start", luaArgs); MessageBox.Show("" + returned + ""); } private void button2_Click(object sender, EventArgs e) { MTA server = new MTA("ip",port, "username", "passworld"); MTA_LuaArgs luaArgs = new MTA_LuaArgs("" + listBox1.Text + ""); string returned = server.CallFunction("resourcemmf", "stop", luaArgs); MessageBox.Show("" + returned + ""); } } } رابط تحميل : https://up.top4top.net/downloadf-1165vrya31-zip.html صوره ل برنامج ان شاء الله عجبتكم الفكره : )
  20. 3 points
    The first question basically depends on whether your players will tolerate lag (hint: GUI is supposed to be responsive). If it's something like GUI, it's best to update it on the client as if it was received by the server but set a timer to revert the GUI to server-state unless you hear back an acknowledgement event from the server (i.e. that the operation was executed without error) (don't unconditionally accept any sync event, in addition to any procedural checks (making sure the data is in valid format, etc) and so on, always safeguard and send back a kind of not-acceptable acknowledgement event when the event isn't accepted by the server for, among other, anti-cheat purposes). For stuff which could give an unfair advantage or other bonuses/cheats like godmode, it would definitely be better to run the request by the server and back before any client changes are actually shown. Instead of instant change, you could show a spinning progress icon until you hear an acknowledgement event from the server (i.e. that the operation was executed without error) Higher ping will make GUIs seem less responsive if you run it by the server before actually making changes visible. Additionally, make sure to saveguard the server from accepting illegitimate sync events, so clients can't change their--or others'--data on a whim. Refreshing GUI for players in same colshape would be best done on client receive sync packet, individually per player if possible, or refresh the whole list when one player's data changes.
  21. 3 points
    Congratulations, btw didn't believe either of you. 😂
  22. 3 points
  23. 3 points
    هذي من احدى اللهجات حقت اهل نجد ومعناه انك معزوم عندي او ضيف عند اللي عزمك وتختلف اللهجات ف حياك الله عندنا مزغاب بكره
  24. 3 points
    أشكرك على هيك تعليق الفكرة تفيد فقط المانجرسية لى عدم الظلم بين الاعبين , او تفيدك انت بنفسك تقدر تشوف اوضاع سيرفر وانا الصراحة سويت هاذا الشيء لى اني اكره الظلم , وما احب الهياط فالسيرفر , شبه فما قلت بتفيد السيرفورات بشكل كبير , استكشفت انه السيكل يخذ حجم للخادم ف ان شاءالله يوم ألقي وقت بخليه ع ربط موقع اسهل تحياتي @#Soking
  25. 3 points
    فاهم فكرة الفنكشن خطأ انت tonumber = يحول القيمة الموجودة الى رقم, مثلاً يحول السترنق الى رقم
  26. 2 points
    @#~Scared In the editor there is a map setting called useLODs. (Also you can just edit the meta.xml of the map) <meta> <info type="map" version="1.0.0"></info> <map src="test-lods.map" dimension="0"></map> <settings> <setting name="#maxplayers" value="[ 128 ]"></setting> <setting name="#useLODs" value="[ true ]"></setting> <setting name="#gamespeed" value="[ 1 ]"></setting> <setting name="#minplayers" value="[ 0 ]"></setting> <setting name="#gravity" value="[ 0.0080000004 ]"></setting> <setting name="#waveheight" value="[ 0 ]"></setting> <setting name="#camera" value='[ [ [ &quot;0&quot;, &quot;0&quot;, &quot;0&quot; ], [ &quot;0&quot;, &quot;0&quot;, &quot;0&quot; ] ] ]'></setting> <setting name="#locked_time" value="[ true ]"></setting> <setting name="#weather" value="[ 0 ]"></setting> <setting name="#time" value="12:0"></setting> </settings> <script src="mapEditorScriptingExtension_s.Lua" type="server"></script> <script src="mapEditorScriptingExtension_c.Lua" type="client" validate="false"></script> </meta> This will enable a list of GTA san lowLOD elements. (but it doesn't include all, there for you have to script a little bit more to use default elements as lowLOD objects, edit the mapEditorScriptingExtension files for that. Keep performance in mind while making those tweaks.)
  27. 2 points
    Haha, trying to change your serial.. there are protections against it. So that won't work. Anyways - the reason you're banned is because you are working together with "TheInsaneKiller" (after I believed him on his appeal at https://forum.mtasa.com/topic/121623-global-ban/) on doing prohibited things with MTA, cheat development-related. He was also banned again for giving you the things that were being messed with. If you don't want this ban to be permanent, then please contact me by sending me a PM, for more details.
  28. 2 points
    Open world interiors is possible. The way you go about doing it is up to you. There are ways that you can retain or destroy performance. GTA 5 uses MILO for interiors. I barely have any knowledge on them, but I've done some reading and found that it might be done by projecting an image, from a camera placed at the window. When the player opens the door, they'll be teleported to another dimension while a chunk of the GTA 5 environment remains loaded. Most of these are speculations. I cannot tell how exactly it works. If your interior has props (so not just 1 whole model) I would suggest you only have them load within a small radius else you'll have a large excess of elements streamed in, which can cause issues with performance. There are some GTA SA interiors - mostly for cutscenes, which have a chunk of the map to be seen from its windows. You can do this yourself to imitate the GTA 5 interior system. I was working on an open world interior but never finished. https://streamable.com/9bk4v
  29. 2 points
    Serials: CF0BF665ECDDDE5FF7AB2C445D7C1394 and (mod note) 874278BB22EE8480B62E2FDE9129C0E2 Banned for ddosing mrgreengaming.com I admit my guilt. I don't have any desires to be anyhow connected with anything about "ddos" now and in the near future either. https://mrgreengaming.com/forums/topic/20836-alekscore/
  30. 2 points
    There's an easy way to send messages to your Discord server with Discord webhooks, and fetchRemote. (This only works with MTA Server version 1.5.6 or higher!) First, you need to create an webhook on your server. Copy the webhook URL Download the webhook resource from here (updated, thank you Mr.Loki!) Set the URL Start the resource, and now you can test your script with /dcmessage command, or you can use the sendDiscordMessage function with export (only serverside) like this: The result:
  31. 2 points
  32. 2 points
    Tem como sim é só fazer pra quando o usuário realizar a compra do carro gerar letras/nums aleatorios e salvar em uma tabela. Depois é só fazer pra sempre q spawnar o carro setar a placa que foi gerada utilizando SetVehiclePlateText. Sobre o /placa você pode fazer a mesma ideia da placa, só que você pode fazer pra quando a pessoa comprar o carro salvar o usuário em uma tabela (coisa q todos os scripts já fazem), depois você pode fazer pra sempre q spawnar o carro setar uma elementData com o dono do carro e outras informações. Depois é só fazer o básico de elementData, fazer um comando de /placa q puxe os elementDate (no caso o q informa o dono ou outro q vc preferir) do veiculo ou você faz um /placa [codigo] q procura veiculos spawnados q tem uma elementData com o código q vc digitou. É meio complicado se você não tem noção de programação.
  33. 2 points
    Hello guys! Since I've seen lots of servers are opening with the same gamemodes and then closing after x time, do you guys think that is it worth it to create an unique server nowadays in MTA:SA beside the fact people tend to play something they are used to? Thanks for your time, Simple0x47.
  34. 2 points
    Não é necessário passar pra server-side pra abrir o painel já que não necessita de permissão, você pode usar apenas onClientMarkerHit. Correção: local sX, sY = guiGetScreenSize () local markerGuardar = createMarker (-2407.54, -598.33, 132.64, "cylinder", 1.5, 255, 255, 255, 50) addEventHandler ("onClientResourceStart", resourceRoot, function () defaultWindow = guiCreateWindow (sX/2 - 185, sY/2 - 220, 370, 440, "Guardar Armas", false) guiWindowSetSizable (defaultWindow, false) guiSetVisible (defaultWindow, false) btnGuardar = guiCreateButton (10, 396, 112, 34, "Guardar", false, defaultWindow) btnFechar = guiCreateButton (247, 396, 112, 34, "Fechar", false, defaultWindow) defaultGrid = guiCreateGridList (9, 26, 350, 360, false, defaultWindow) guiGridListAddColumn (defaultGrid, "Arma", 0.7) guiGridListAddColumn (defaultGrid, "Munição", 0.20) end) addEventHandler ("onClientGUIClick", root, function (btn) if btn ~= "left" then return end if source == btnGuardar then outputChatBox ("Btn: "..btn, 0, 255, 0) elseif source == btnFechar then Abrir () end end) addEventHandler ("onClientMarkerHit", getRootElement(), function (hitPlayer, matchingDimension) if hitPlayer and getElementType (hitPlayer) == "player" and matchingDimension then Abrir () end end) function Abrir () if guiGetVisible (defaultWindow) == true then guiSetVisible (defaultWindow, false) showCursor (false) -- guiGridListClear (defaultGrid) elseif guiGetVisible (defaultWindow) == false then guiSetVisible (defaultWindow,true) showCursor (true) -- guiGridListClear (defaultGrid) end end OBS: Não entendi o motivo de você usar centerWindow sendo que você pode calcular a posição do centro manual. (Fiz isso por você se tiver dúvidas sobre GUI pode dar uma olhada no tópico do @Lord Henry.) Tópico: Aqui
  35. 2 points
    A definitive fix is available. Install this update: https://nightly.mtasa.com/?mtasa-1.5-rc-latest @Flexxy @Willian#
  36. 2 points
  37. 2 points
  38. 2 points
    السلام عليكم ورحمة الله وبركاته كثير سمعنا هالكلام من اصدقائنا الي اعتزلو وراحو للالعاب الثانية ولاكن وش السر ؟ !! خلونا نكون واقعين شوي ! سيرفرات الحرب العصابات , الهجولة , الرول بلاي الخ.. وكثير سيرفرات كلها مكررة وقليل من يطلع بفكرة جديدة وسيرفر ياخذ مدة ويتقفل للأسف و أحنا كعرب لازم ندعم بعضنا البعض ونشجع بعض mta بس هالمرة راح يفتح مجتمع كامل لسيرفرات أكيد تفكر وتقول ذا وش يبي بالظبط واصلا ليش ارجع اللعبة صارت مخيسة والطيبين راحو !! كلنا ماحد ينكر الماضي سواء كان جميل او سيء لاكن ليش مانصنع مستقبلنا جميل ونخلية ذكريات جميلة الموضوع بكل بساطة أحب اقول لكم انه راح نفتح سسيرفرات وبأفكار جدأ جبارة وماحد قد فكر فيها والتجديد الي راح يكون مع الوقت #Arab_Unity. والي أنضم معنا مبرمجين وأداريين من أفضل المبرمجين والأداريين ومن هالمـنبر أدعوكم وأرحب بكم .. في الأتحاد العربي وأشكركم على حسن القراءة ... وأشكر كل الداعمين لنا واخص أدارة اللعبة ♥️ ملاحظة مهمة : ولمن يود الأنضمام معنا من مبرمج او مصمم او ايا من كان نقول لك حياك الله بين أخوانك وشرف لنا
  39. 2 points
  40. 2 points
    Mais fácil deixar isso na assinatura. x D
  41. 2 points
    Someone makes script for you means that you should pay for it. And it is difficult for you to know whether he made a back door in the script. For security, why not learn script by yourself, since you decided to build a server.
  42. 2 points
    Open console with F8, type start realdriveby and press enter.
  43. 2 points
    As @Overkillz said, you can wrap Lua(tables in tables) and in JSON (objects/arrays in objects/arrays). Or, you can use XML to manage the JSON/tables as I said before.
  44. 2 points
    @+[T]rakin Sobre o seu problema, isso acontece pois dentro do setTimer, o source deixa de existir. Para contornar esse problema, você deve declarar o source após o tempo do timer e usar um parâmetro de função no setTimer como novo "source". No caso, creio que o exemplo do nosso colega acima irá resolver. Caso você não tenha entendido, vou explicar a parte do setTimer. setTimer(function(p) -- (2) p = parâmetro de função do setTimer. outputChatBox("╔═════════════════════════════════════════════════╗", p, 0, 0, 0) -- (3) p = source. outputChatBox("[#cf2d2dFazenda Ilegal#000000] #afafafVocê Processou mais 1 Tijolo! #ffffffTotal: #cf2d2d"..TijoloDeMaconha.."#afafaf Tijolo de Maconha", p, 0, 0, 0, true) outputChatBox("╚═════════════════════════════════════════════════╝", p, 0, 0, 0) -- (4) Removidos os HEX codes pois você não precisa usá-los se o texto todo tem somente 1 cor. end, 5000, 1, source) -- (1) parâmetro de função do setTimer = source.
  45. 2 points
    1. Solving the main issue. In case of sending from server to client. • Do not send triggerClientEvent's over the root variable.(it is also root, when you do not fill in the receiver) Instead use a table which contains all players that have loaded their resources. When the event onClientResourceStart has been triggered, this player is ready to go. When I release a tool that I have been announced two days ago, there will be a 2e. There is also a function in Lua called pcall. This will skip all error messages, but I don't think that will work as it is an async created error. (Not directly shown up when the trigger*Event function is called, but after it has first send to the other side) function test1 (arg) print(arg) end pcall(test1, 13342144) pcall(test2, 354356) -- there is no test2 function, but we can try to call it without any error message.
  46. 2 points
    تقدر تسويلي ياها ع لوحة عادية عشان اشوف اكوادها ؟و اعرف كيف طريقة عملها يعني
  47. 2 points
    Vamos por partes. Nesse caso, por se tratar de apenas 40 contas. Dá pra editá-las manualmente acessando o banco de dados internal.db usando o programa gratuito DB Browser For SQLite e setando a grana das contas uma por uma em 0. Ou se preferir fazer via código, vc vai precisar obter todas elas com getAccounts e verificar todas elas através de um loop for que vai setar a data da grana em 0 em cada uma das contas. OU Você pode simplesmente deletar todas as contas, em vez de ir setando grana 0, delete cada conta com removeAccount. Mas eu particularmente acho mais fácil acessar o banco de dados pra fazer isso do que programar um script temporário só pra fazer isso. ------------------2 parte-------------------- Já vi um mod de concessionária que funcionava assim também, com banco de dados MySQL criado pelo próprio resource. Mas eu sempre tive problemas pois toda vez que o servidor era desligado, todos os carros eram perdidos. Por isso acabei recriando outra concessionária que salva tudo no banco de dados nativo do MTA em SQLite no registry.db e lá ele não perde os dados. Verifique se o seu mod funciona corretamente, caso contrário os jogadores perderão os veículos após quedas do servidor. Que eu saiba, mods de painel de login geralmente não criam bancos de dados (existem raras exceções). Eles geralmente salvam no banco de dados nativo do MTA por meio da função addAccount. Elas ficam salvas no internal.db, as senhas são criptografadas, então nem mesmo o dono do servidor consegue saber. Ele só vai ver um código serial no lugar da senha. Nunca testei se deletar o banco de dados inteiro causa alguma falha no servidor, sempre que eu preciso fazer alguma alteração, acesso ele por meio do programa que citei anteriormente. E quando preciso deletar uma conta específica, faço por meio de comando no painel Admin. (parecendo um Hacker) Não tenho certeza, mas eu ACHO que o servidor recria o banco de dados ao iniciar, caso ele não exista. Não esqueça de verificar no arquivo ACL.xml (abra com notepad++) se alguma das contas está lá. Se tiver, delete a linha que ela aparece. Contas que não existem podem dar erros nas ACL.
  48. 2 points
    مشكور, أيه مزلنا هه تحياتنا لليبيا .. ;"D أخوي السيرفر قديم شوي فـ السيرفر حقك فتح بعد سيرفرنا , ومشكور ع زيارتك الحلوة (y) مشكور أخوي ع الرد ومنور . مشكور , أنت الرائع . @N3xT => حول الموضوع لـ قسم الخوادم.
  49. 2 points
    N++ is highly customizable, you can add your own languages with syntax highlighting and auto completion. I had some free time last night so I decided to make it. I wrote a script that retrieves a list of all the available functions then exclude the deprecated ones, then made the language file with those functions. I also made a script to retrieve all the functions, get their wiki page content (fetchRemote) and extract the function signature from the page, then parse it into the MTA-Lua.xml file which adds auto completion. I might release the scripts later. I've created a repo for it on GitHub, it has 2 files for the users: mtalua-lang-import.xml > The file to import in the user defined language page to get the syntax highlighting MTA-Lua.xml > The auto completion file The repo contains the resource used to generate the function list and the node app used to retrieve the functions' syntax from the wiki. Repo: https://github.com/JR10/mta-npp THIS IS WHAT YOU WANT: Download the user files (MTA-Lua.xml and mtalua-lang-import.xml): https://github.com/JR10/mta-npp/release ... ta-npp.zip Steps: 1. Open Notepad++ > Language > Define your language... 2. Import > Select mtalua-lang-import.xml (Make sure from now on that the MTA-Lua language is always selected for Lua files) 3. Copy MTA-Lua.xml to your Notepad++ directory "Notepad++/plugins/APIs" (Usually in C:/Program Files) For questions, bug reports, suggestions or anything, just post here. Download: https://github.com/JR10/mta-npp/archive/master.zip
  50. 2 points
    I want to show a little video: Already realized finding the shortest path and drawing it on the radar. Wait a detailed video.