Leaderboard
Popular Content
Showing content with the highest reputation on 21/09/18 in all areas
-
السلام عليكم ورحمة الله وبركاته سويت من فترة سكربت بسيط وهو عبارة عن widgets له استخدامات متعددة أبسط شي ممكن تسويه هو لوحة فيها كلام , مع امكانية اظهار زرين اسفل اللوحة بتصميم جميل وأنيق وتقدر تستخدم الزرين حسب احتياجك ولتوسعة مجال الاستخدام سويت وظائف لرسم edit, button, checkbox ممكن أضيف شغلات اكثر في التحديثات القادمة ولكن هذي الاشياء هي الاكثر استخدام خصوصاً للويدجتس طريقة استخدام الوظائف والاحداث موجودة في ملف اسمه help.txt ويوجد ملف فيه أمثلة .. ولذلك ماله داعي اشرح طريقة الاستخدام في الموضوع فيه حدث للرسم داخل الويدجت مثل رسم الازرار والايدت .. الخ , وكلشي موجود في الأمثلة أفكار للاستخدام نظام اشعارات بسيط وموجود ظمن الامثلة الموجودة في السكربت تنبيهات أو نوافذ للمهمات السريعة صنع لوحات خفيفة وافكار كثيرة... المود مو مشفر ماعدا الملف الخاص بالسيرفر وطبعاً ما اسمح بتغيير الحقوق بالنسبة للتحديثات .. بيوصل تنبيه عند تشغيل المود في حال وجود تحديث جديد لتحميل السكربت https://up.top4top.net/downloadf-994h145t1-zip.html وجاري الرفع على الكومنتي وشكراً4 points
-
3 points
-
3 points
-
Hello. This is my new custom window system with widgets. Just rewrited window system, including this custom GUI widgets: - Scroll Panes - Buttons (+ buttons with images) - Progress Bars (automatic checking for vertical or horizontal using its size, square is horizontal) - Scroll Bars (same as progress bars) - Custom Themed Edit Boxes, Memo Boxes, new widget - Number Boxes (support mouse scrolling) - Check Boxes - Combo Boxes - Tab Panel with tabs - Labels - Dialog Boxes - Tooltips - Loading Circles - Table Views (Grid Lists) Here I've just used only OOP coding style, just copy this one lua file in your projects, and start this resource automatically, because this file getting directories from main resourcename, and using files without copying. Screenshots Video: Example - Login Panel. Author - Estet (DK). Tutorial of installation: Download (GitHub) Wiki Documentation Thank you.1 point
-
Hello Community, first of all, i have searched for any fortnite battle royal gamemode or server on MTA:SA but i didn't find, and i can be wrong, well, today i'm making a Fortnite Battle Royale game mode and i will release it when i complete it, and if you have any suggestions you can post it down, you know its a hard work and it will take a little time because actually i'm working alone on my local server. - Regards xMKHx Here is some screenshots1 point
-
ثلاثون لاعب بسيرفر فخامة هجولة للانظمة الواقعية عدد جميل جدا وسيرفر جديد ! المبرمجين @MR.TOUNSI @DR.MOOST @Master_MTA @MRKAREEM @Abu-solo تحياتي الخاصة الى MR.HemoO Mr.Mosa والبــاقي فـى القـلب1 point
-
السلام عليكم ورحمة الله وبركاته كيف الحال شباب باذن الله تكونو بخير المهم ما اطول عليكم اليوم مثل مافي العنوان اصدار اول مكتبة عربية مفتوحة المصدر المكتبة خاصه بي المهم المكتبه خصائصها: 1-انشاء نافذه 2-انشاء زر 3-انشاء سكرول بار 4-انشاء-بروجرس بار 5-انشاء ايديت بوكس 6-انشاء ميمو 7-انشاء ليبل 8-انشاء جريد لست(ملاحظة الجريد لسا حاليا لا تدعم السكرول بار الافقي ولكن تدعم الراسي وكما انها لا تتوفر فيها كم خاصيه)ا 9-انشاء شيك بوكس 10-انشاء راديو بوتون 11-انشاء صورة 12- انشاء تاب بانل 13-فنكشناتها مماثله لفنكشنات اللعبه تقريبا مثال guiCreateWindow-->gui dxCreateWindow-->dx 14-افكت للزر 15- المكتبة تتوفر على نظام تحديث يمكنك ان تجعل التحديث تلقائي كل 5 ايام يتم التحقق من نزول اصدار جديد او لا هذا الطبيعي اذا اردت التغيير على الاعدادات يمكنك ذلك عن طريق الملف update/update.lua وباقي الخصائص اكتشفوها مع نفسكم الملفات غير مشفره للافاده عيوبها ملاحظه (اخطط لدعمها في المستقبل باذن الله هيا وجميع الالمنتات الباقيه)ل 2-لا تدعم كومبو بوكس كما قلت اعلاه 4- لا تدعم سكرول بان لا ارى له اهميه لذلك لا اخطط لاضافته ----------------------------- لتحديث المكتبة اكتب في اف 8 updateM.M فقط ----------------- في حالة اكتشاف اي بق او اي اقتراح للتطوير من اداء المكتبة يرجى الرد هنا في حالة اردت معرفة الفنكشنات المتاحه للعمل عليها فقط ادخل على meta.xml وستجدني واضع لها export كلها في حالة اردت معرفة طريقة استخدامها فقط ادخل الى الملف elements واضغط على الملف المراد معرفة الفنكشن الذي يحتويه --------------------------------------------- لتحميل المكتبة من github-----> https://github.com/Master-MTA/M.M ستجد زر اخضر اسمه clone or download اضغط عليه وحمل بصيغة zip ------------------------------------- اريد من شخص ان ينشا صفحه في الويكي باسم المكتبه M.M ويضع فيها الفنكشنات --------------------------------- ملاحظه سيتم توفير محرر خاص بالمكتبة باذن الله في المستقبل ولكن سيكون مدفوع وغير مجاني محرر اعني به مثل guiEditor ------------------- @KillerX @N3xT @SuperX @MR.TOUNSI @all مب عارف اجيب اسماءكم بالمنتدى كله حاطط تشكيله باسمه ههه ولا عبد الكريم ولا احد عارف اكتبه @!#NssoR_) يا ليت لا تنقله لقسم المساهمات لان قسم العربيه هو اكثر شي مشاهده ويا ليت تثبته لفتره +_+1 point
-
Welcome, Fellow Multi Theft Auto players Introduction: Screenshots about our server: Some of our server Features :1 point
-
ماقصرت, هذي تستاهل تحطها في الوظائف المفيدة .. بس كان اكتفيت بالكود حقي وعدلت سطر واحد لاغير وانحل الموضوع . function getTwoRandom(Data) local player1, player2 = nil,nil; if( #getElementsByType('player') >= 2 ) then repeat player1, player2 = getElementsByType('player')[math.random(1,#getElementsByType('player'))], getElementsByType('player')[math.random(1,#getElementsByType('player'))] until getElementData( player1, Data ) and getElementData( player2, Data ) and player2 ~= player1 return player1, player2; end end وايضاً لاحظت ان راعي الموضوع لمح انه تمت افادته مايحتاج نطول النقاش اكثر من كذا : )1 point
-
للحين وظيفتك غلط وتسبب infinite loop لنفترض ان هناك فقط لاعب واحد في السيرفر انت كذا عرفت اللاعب في المتغيرين player1 و player2 وأنت تتحقق اذا كانوا مختلفين وهم نفس اللاعب ف بيسبب لوب لانهائي سويت وظيفة افضل للي يبي يستفيد: function getRandomElementsFromData(elementType, dataKey, dataValue, maxElements) if type(elementType) == 'string' and type(dataKey) == 'string' then local elements = getElementsByType(elementType) local maxElements = type(maxElements) == 'number' and math.max(maxElements, 1) or 1; local dataElements, randomElements = {}, {}; local currentIndex = 1; for index = 1, #elements do if getElementData(elements[index], dataKey) == dataValue then dataElements[string.char(math.random(97, 122))..index] = elements[index]; end end for index, value in pairs(dataElements) do randomElements[currentIndex] = value; if currentIndex >= maxElements then break end currentIndex = currentIndex +1 end return randomElements end return false end مثال: addEventHandler('onResourceStart', resourceRoot, function() local numbers = {'one', 'two', 'three', 'four', 'five', 'six', 'seven', 'eight', 'nine', 'ten'}; for index = 1, #numbers do setElementData(createElement('randomElement', numbers[index]), 'randomData', true) end end) addCommandHandler('getRandomNumbers', function(player, cmd) local results = getRandomElementsFromData('randomElement', 'randomData', true, 3) for index = 1, #results do outputChatBox(getElementID(results[index]), player) end end) المثال هذا اذا كتبت الكوماند getRandomNumbers راح يجيب لك 3 ارقام عشوائية (من الواحد للعشرة) وطبعا تقدر تستخدم الفنكشن للاعبين1 point
-
رائع صراحه وتقولي ما عندك امثال هههه الحين بالنسبه للشيك بوكس استخدمت فيها drawImage ولا drawrectangle وسؤال ثاني بالنسبه للراوندد ريكتانجل راسمه عن طريق circle ولا عن طريق تكسشر حمستني باذن الله الاصدار الجاي من مكتبتي تصميمه بيكون اطلق الف مره من الحالي وبيكون به انيميشن باذن الله1 point
-
شيء ما يوصف اخ حسين انا اقول كسرت الكل هنا ما اقول الا استمر ننتظر الباقي ?1 point
-
صراحة شيء ابداعي وجميل .. اتمنى لو تشمل اغلب الاشياء راح يكون شيء اسطوري بالتوفيق لك !1 point
-
You have problem with line 4, because no function called like this. Try this: function enter (thePlayer, dim) if getElementType(thePlayer) == "player" then if not isPedInVehicle(thePlayer) and dim then if (getPlayerMoney(thePlayer)>= 100) then takePlayerMoney(thePlayer, 100) setElementInterior(thePlayer, 3, 834.66796875, 7.431640625, 1004.1870117188) else outputChatBox("#ff0000You Don't Have Enough Money!",thePlayer,255,255,255,true) end end end end addEventHandler("onMarkerHit",markerJoin,enter)1 point
-
1 point
-
وظيفتك ناقصنها تحققات لنفترض ان عندنا لاعب واحد في السيرفر وظيفتك بتسبب infinite loop وكنت تقدر تختصرها اكثر من كذا1 point
-
fiz esse codigo como exemplo de base, nao quer dizer que ele deve ser seguido: local sX,sY = guiGetScreenSize() local min_Y = math.floor(sY/480) local min_X = math.floor(sX/640) if min_Y <= min_X then g_Scale = min_Y else g_Scale = min_X end local g_Scale = 1 + 0.2*g_Scale function resX(value) return (value*g_Scale) end function resY(value) return (value*g_Scale) end local _dxDrawRectangle = dxDrawRectangle function dxDrawRectangle(x,y,w,h,tocolor,postGui) return _dxDrawRectangle(x,y,resX(w),resY(h),tocolor,postGui) end addEventHandler("onClientRender",root, function() dxDrawRectangle(sX/2-resX(350),sY/2-resY(250),700,500,tocolor(255,255,255,200),false) end ) pense o seguinte o normal do mta é manter a os tamanho para todos os monitores exemplo : dxDrawRectangle(100,100,200,200,tocolor(255,255,255,255),false) sempre manter tudo a x=100,y=100 e assim vai sempre ter os mesmos valores de pixels, mas chegamos ao ponto que agora no inicio voce esta usando uma resolução de 640 px no eixo X, usar 200 px é um bom tamanho, mas se voce usar 200px em um monitor de 1080 px é um retangulo minusculo, e assim chegamos onde eu quero chegar que é a ideia da ESCALA. onde eu PARTICULARMENTE só vejo duas maneira de se fazer com eficacia, um metodo que é por porcentagem exemplo:( que eu nao gosto muito, porque tira a proporção entre as coisas, vc tambem perde qualidade em imagens, etc..) local sX,sY = guiGetScreenSize() dxDrawRectangle(sX*0.2,sY*0.2,sX*0.4,sY*0.6,tocolor(255,255,255,255)) e outro eo primeiro exemplo, que voce trava como resolução minima 640x480 e faz tudo crescer a partir desta resolução. voce tambem consegue usar essa escala para GUI(para escala de textos tenha como referencia apenas o g_Scale). Vlw ai espero ter ajudado.1 point
-
As the wiki says: you cannot store tables as value, but you can use toJSON strings.1 point
-
نسيت /: local p1, p2 = getTwoRandom() outputChatBox("Player 1 : "..getPlayerName(p1)..", Player 2: ".. getPlayerName(p2),root,255,0,0,true)1 point
-
4min وبيكون رسم الصور مدعوم done add: dxCreateImage(x,y,width,height,baba,backcolor) updateM.M https://github.com/Master-MTA/M.M اضفت جميع الفنكشنات اللي يمديك تستخدمها يوجد حوالي 33 فنكشن الى الان1 point
-
بشكل عام شغل حلو بس فيه مشاكل تعيق الاستخدام بذكر بعضها - اللوحة ماتختفي اذا بندت المود الي سويتها منه يعني كلما سويت ريستارت يسوي اللوحة مرة ثانية بدون حذف القديمة - فيه مشاكل في الكتابة والحذف في الايدت والمؤشر حقه - الميمو مافيه مؤشر ولا تغيير مكان المؤشر - ملف القريد لست فيه ايرور يخلي المود مايشتغل اعتقد سويت الاكواد ولاجربته - مشاكل ثانية في القريد لست الرو مايظهر - مشاكل عامة بالتصميم - بعض الفنكشنات المهمة مو ضايفها في الميتا مثل dxSetVisible وبالنسبة للتصميم بصراحة مايشجع للاستخدام ومافيه انميشن، تصميم جامد بدون تفاعل مع المستخدم حاول تطوره اكثر عشان تنافس المكتبات الموجودة وبالتوفيق1 point
-
بأختصار شديد: علوم الحاسب - مركز فقط بالبرمجة والخورزاميات هندسة برمجيات - ليس متعلق فقط بالبرمجة وانما باشياء عديدة اخرى مثل الادارة, والهندسة جانباً بجنب مع البرمجة اسمح لي اقولك, ترا هندسة برمجيات مو كل شيء عن المشروع يبغونك تصير مهندس اداري مع شوية برمجة هذا اغلب كلام الي تخرجو منها.1 point
-
I recently edit the reply check it. + Problem (Line: 4981): Using ":setSystemFont" of checkbox doesn't change font. I solve this by changing line to: "checkbox.Label:setSystemFont(font)"1 point
-
1 point
-
Update: Added CustomStaticImage widgets: - Added CustomStaticImage widgets. When using this as parent, it saves to object Color Scheme. Used with fixing next bug: - Fixed bug when adding element to TabPanel, it wont saves color scheme of TabPanel - Added functions setFont, setFontSize and setSystemFont for some widgets, like Window, Edits, Labels, Buttons, and etc. Almost for all widgets. *setFont function used for set custom font (.ttf), and setSystemFont used for set default MTA fonts for widget.1 point
-
حسنا إذا لا داعي لمناقشة اسعارنا طالما وجدت الأرخص و يمكنك ببساطة اختيار الأرخص1 point
-
I guess you currently have Window 7 build 7600 Ideally you should have at least Window 7 build 7601 (also known as Service Pack 1 or SP1)1 point
-
I followed the steps, deleted the folders and rebooted the computer, and installed again now it's working. Thanks for the help yes, thanks1 point
-
1 point
-
1 point
-
it doesn't matter xd there is no different XD لا داعي لا داعي هههه حبيب قلبي امزح تسلملي thx dude1 point
-
Well, I always use this code to draw DX stuff, and I recommend you to try it so local sx,sy = guiGetScreenSize() local px,py = 1366,768 --Put your resolution here local x,y = (sx/px),(sy/py) --Example code dxDrawRectangle(x*0, y*0, x*1366, y*80, tocolor(0, 0, 0, 170), false) dxDrawText("Test", x*0, y*0, x*1366, y*80, tocolor(255, 255, 255, 255), 1.5, "pricedown", "center", "center", false, false, false, false, false) It always fits in all resolutions.1 point
-
1 point
-
I think you're forgotten to make examples and show syntax: root@s2-zabbixsrv /home/disi # time ./ase2json -l { "serversCount": 4003, "playersCount": 7488 } real 0m0.400s user 0m0.072s sys 0m0.024s And root@s2-zabbixsrv /home/disi # ./ase2json { "serversCount": 3932, "playersCount": 6008, "servers": [ { "ip": "91.203.195.21", "port": 22003, "playersCount": 0, "maxPlayersCount": 50, "gameName": "", "serverName": "Nice :Oing Server alpha", "modeName": "", "mapName": "", "version": "1.9n", "passworded": false, "players": [], "httpPort": 22005 }, { "ip": "91.203.195.21", "port": 25565, "playersCount": 0, "maxPlayersCount": 50, "gameName": "", "serverName": "NFS project development", "modeName": "", "mapName": "", "version": "1.9n", "passworded": false, "players": [], "httpPort": 25565 }, { "ip": "5.39.28.22", "port": 22003, "playersCount": 8, "maxPlayersCount": 256, "gameName": "", "serverName": "Coopera 5.0S | FreeRoam | Default Server", "modeName": "", "mapName": "", "version": "1.5", "passworded": false, "players": [], "httpPort": 22005 }, { "ip": "142.44.251.185", "port": 22973, "playersCount": 22, "maxPlayersCount": 300, "gameName": "", "serverName": "[BR] ✔ BRASIL GAMER INVICTOS 1.0 ✔ 【CarroBR ● MotosBR ● Policias ● PVP】", "modeName": "", "mapName": "", "version": "1.5", "passworded": false, "players": [], "httpPort": 22975 }, { "ip": "68.168.210.78", "port": 22003, "playersCount": 38, "maxPlayersCount": 80, "gameName": "", "serverName": "[BS][US] MTA DayZ Ultimate [#5] \"Blue\" [PVP, Easy, Loot x3, 145 Vehicles, Slow Zombie] -TOP-NON-", "modeName": "", "mapName": "", "version": "1.5", "passworded": false, "players": [], "httpPort": 22030 }, { "ip": "66.70.169.172", "port": 22183, "playersCount": 0, "maxPlayersCount": 700, "gameName": "", "serverName": "Rɑspɑndo Bɑixo - MTA Server [Carros,Motos,Gangues,Corps, etc..]", "modeName": "", "mapName": "", "version": "1.5", "passworded": false, "players": [], "httpPort": 22185 }, { "ip": "54.39.125.26", "port": 22018, "playersCount": 7, "maxPlayersCount": 200, "gameName": "", "serverName": "[BR] ✖ BRASILEIROS NO STYLO FIXA ✖ [ ~PLAY/FREEROAM,GANGS,CORPS....]", "modeName": "", "mapName": "", "version": "1.5", "passworded": false, "players": [], "httpPort": 22018 }, { "ip": "144.217.179.74", "port": 22233, "playersCount": 4, "maxPlayersCount": 1000, "gameName": "", "serverName": " [BR] ● EVOLUTION BRASIL ● ~ Play/Freeroam ⌜ Gangs ● Corps ● Eventos ⌟", "modeName": "", "mapName": "", "version": "1.5", "passworded": false, "players": [], "httpPort": 22233 }, ............................................ { "ip": "94.23.148.198", "port": 22003, "playersCount": 0, "maxPlayersCount": 200, "gameName": "", "serverName": "☾Turan RolePlay V1.0☽ ❁Giriş 150.000TL❁%100Türk Rolü❁", "modeName": "", "mapName": "", "version": "1.4", "passworded": false, "players": [], "httpPort": 0 }, { "ip": "145.239.20.87", "port": 27075, "playersCount": 0, "maxPlayersCount": 20, "gameName": "", "serverName": "Twoj serwer @ 1shot1kill.pl", "modeName": "", "mapName": "", "version": "1.4", "passworded": true, "players": [], "httpPort": 0 }, { "ip": "37.187.242.161", "port": 19998, "playersCount": 0, "maxPlayersCount": 16, "gameName": "", "serverName": "PAC OSO Clanserver", "modeName": "", "mapName": "", "version": "1.3", "passworded": true, "players": [], "httpPort": 0 }, { "ip": "37.187.242.161", "port": 22000, "playersCount": 0, "maxPlayersCount": 8, "gameName": "", "serverName": "Party And Co Maptesting Server", "modeName": "", "mapName": "", "version": "1.3", "passworded": true, "players": [], "httpPort": 0 }, { "ip": "37.187.242.161", "port": 19999, "playersCount": 0, "maxPlayersCount": 32, "gameName": "", "serverName": "PAC ASO Clanserver", "modeName": "", "mapName": "", "version": "1.3", "passworded": true, "players": [], "httpPort": 0 }, { "ip": "37.187.242.161", "port": 19005, "playersCount": 0, "maxPlayersCount": 12, "gameName": "", "serverName": "PAC 3xC Clan server", "modeName": "", "mapName": "", "version": "1.3", "passworded": true, "players": [], "httpPort": 0 }, { "ip": "46.174.50.42", "port": 22014, "playersCount": 0, "maxPlayersCount": 30, "gameName": "", "serverName": "GTA GARAGE CLUB SA 1.3 [ Пароль в паблике. ]", "modeName": "", "mapName": "", "version": "1.3", "passworded": true, "players": [], "httpPort": 0 }, { "ip": "46.174.50.52", "port": 22044, "playersCount": 0, "maxPlayersCount": 30, "gameName": "", "serverName": "Боевая:Классика", "modeName": "", "mapName": "", "version": "1.3", "passworded": true, "players": [], "httpPort": 0 } ] }1 point
-
يب ابي وينك من زماااان https://drive.google.com/file/d/1kILUgawF9gntz_rTmT9vEKt_BpIJt9na/view?usp=sharing gridlist scrollbar done 100% لكن الراسي فقط الافقي باذن الله الاصدار الجاي1 point
-
Hello, today I'm honored to present you my latest, biggest and coolest project a program called mini admin which allows you to control your MTA directly just log in to your console account this project took from me 20 days, 1600 line of codes (LUA & C#). and have fun with the features, A tutorial video : Tips: 1. don't change the resource name. 2. give the resource admin permissions ( resource.miniadmin ). 3. If you want to edit the groups etc.. ( meta.xml ). 4. If you have a bug or an idea feel free to PM me. Download: http://www.mediafire.com/file/9x2k4dbzllejs0e/C%23.zip Have a nice day.1 point
-
1 point
-
1 point
-
افضل سيرفر هجولة بلا مبالغه وشغل متعوب عليه صراحة واتمنى لك التوفيق والله الله بالحصريات افضل موتر بالسيرفر1 point
-
1 point
-
0 points
-
do you used/have any program blocking driver's or something?0 points
-
0 points