Jump to content

Leaderboard

Popular Content

Showing content with the highest reputation on 21/06/18 in all areas

  1. DownloadFile وظيفة تحميل ملف مرفوع على الانترنت Syntax : bool DownloadFile ( string Link , string FileName ) Required Arguments Link : رابط الملف المراد تحميله يشترط ان يكون رابط مباشر FileName : اسم الملف عندما يتحمل وتقدر تحط مسار واسم الملف ولازم تحط صيغة الملف استخدام الفنكشن يكون بجهة سيرفر سايد والا مابيشتغل source Code : function DownloadFile ( Link , FileName ) assert ( type ( Link ) == "string" , "Bad Argument At Argument #1 Link Moust String" ) assert ( type ( FileName ) == "string" , "Bad Argument At Argument #1 FileName Moust String" ) fetchRemote( Link , function ( Result ) if Result == "ERROR" then error ( "Can't Calling The Link" ) return false end if fileExists ( FileName ) then error ( "the file is already exists" ) return false end local theFile = fileCreate ( FileName ) if ( not theFile ) then return false end fileWrite ( theFile , Result ) fileClose ( theFile ) return true end ) end ex 1 DownloadFile ( "https://i.imgur.com/gdclMbe.png" , "mtaLogo.png" ) DownloadFile ( "https://i.imgur.com/gdclMbe.png" , ":resourceName/mtaLogo.png" ) ملاحظة : اذا ماحمل معك الملف حاول ترفع الملف الي تبيه على موقع ثاني ويكون مباشر Author : Abdul KariM اتمنى ان الفنكشن اعجبكم , والسلام عليكم
    5 points
  2. اليوم جبت لكم ماركرات سيرفر العقرب للزومبي جميعها مصنوعه من الصفر ! تم برمجتها من قبل @*RayaN-Alharbi. & @#DesTroeyR جميع الاعدادات والماركرات يتم التححكم بها من ملف الكلانت اترركم مع الصور رابط التحميل https://up.top4top.net/downloadf-902grot31-rar.html جميع المودات مفكوكة الشفرة لمن اراد التعديل والتعلم وشكرا
    3 points
  3. اضافه خدمه جديدة للعبه MTA:SA المواصفات كالتالي : Slots : 4096 Storage : Unlimited Sql :Available Anti-DDoS Protection : Available السعر : 20 ريال https://billing.4acm.net/cart.php?gid=3 بالنسبه لي اشوفه ارخص سعر بالسوق , نظرا للمواصفات
    2 points
  4. For server you need to open ports or have a vps or buy server but I'm providing free game servers so you can request from my host site visit here :Pirateshosting.com ,to upload files in your server you must use ftp
    2 points
  5. Currently I'm working on a new map editor with more features and a more user friendly UI however a major thing I'd like to see is what you (The Community) want to see added in the editor. If you respond with a feature request please state the name of the feature or tool as well as a brief description; I'll be posting some screen shots of what the new tool will look like as soon as I have the basic functionality done.
    1 point
  6. 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
  7. لازم تكون سيرفر
    1 point
  8. لا عادي بس اتاكد من نكست
    1 point
  9. -- server setTimer(function() TopTime = {} for _, player in ipairs(getElementsByType('player')) do table.insert(TopTime, {name = getPlayerName(player), time = {timeString = getElementData(player, 'PlayTime'), realTime = stringTime(getElementData(player, 'PlayTime'))}}) end table.sort(TopTime, function(a, b) return(tonumber(a.time['realTime']) or 0)>(tonumber(b.time['realTime']) or 0) end) triggerClientEvent(root, 'getTopTime', root, TopTime) end, 1000, 0) -- client addEvent('getTopTime', true) addEventHandler('getTopTime', root, function(TopTime) guiGridListClear(gridlistTime) for k, v in ipairs(TopTime) do local row = guiGridListAddRow(gridlistTime) guiGridListSetItemText(gridlistTime, row , 1 , k .. '-' , false , false) guiGridListSetItemColor(gridlistTime , row , 1 , 255,255,0) guiGridListSetItemText(gridlistTime,row,2,TopTime[k].name:gsub('#%x%x%x%x%x%x',''),false,false) guiGridListSetItemColor(gridlistTime , row , 2 , 255,255,0) guiGridListSetItemText(gridlistTime,row,3,TopTime[k].time['timeString'],false,false) guiGridListSetItemColor(gridlistTime , row , 3 , 255,255,0) end end) function stringTime(v) local v = split(tostring(v),(':'):byte()); return tonumber(v[1]..v[2]..v[3]) end
    1 point
  10. -- # Client addEventHandler ( "onClientGUIClick" , root , function ( ) if source == button1 then showCursor(false) guiSetVisible(window,false) triggerServerEvent ( "removeAdminRank",localPlayer) end end ) -- # Server addEvent("removeAdminRank",true) addEventHandler("removeAdminRank",root, function() local accPlr = getPlayerAccount ( source ) local playerMoney = getPlayerMoney ( source ) local prize = 5000 -- سعر الرتبة if ( accPlr and not isGuestAccount ( accPlr ) ) then if ( playerMoney >= prize ) then if isObjectInACLGroup ("user."..getAccountName ( getPlayerAccount ( source ) ),aclGetGroup ("Admin") ) then aclGroupRemoveObject (aclGetGroup("Admin"), "user."..getAccountName(accPlr)) takePlayerMoney ( source, prize ) else outputChatBox("* Rank system : You don't have admin rank to remove it !", source, 255, 255, 255, true) end else outputChatBox("* Rank system : You don't have enough money !", source, 255, 255, 255, true) end else outputChatBox("* Rank system : You must register on account to remove your admin rank !", source, 255, 255, 255, true) end end )
    1 point
  11. 1 point
  12. . جعلك تقوم ب السلامه ان شاء الله
    1 point
  13. توقيعات من كثرتها 6 ثواني عشان انزل بالماوس !!_!!
    1 point
  14. -- server addEventHandler("onPlayerDamage",root, function(attacker, weapon, bodypart) if attacker and attacker ~= source and getElementType(attacker) == "player" and getElementData(attacker,"SPunch") then if weapon == 0 then killPed(source, attacker, weapon, bodypart) end end end ) -- Client addEventHandler("onClientGUIClick",root, function () if source == button1 then local Data = getElementData(localPlayer,"SPunch") if Data and Data == true then setElementData(localPlayer,"SPunch",false) outputChatBox("تم اغلاق خاصية الضربه القاتله") else setElementData(localPlayer,"SPunch",true) outputChatBox("تم فتح خاصية الضربه القاتله") end end end)
    1 point
  15. yup sry nonshowing = { ["my Serial"] = true, } function getTableWithout() local all=getElementsByType ( "player" ) local ta={} for k,v in ipairs(all)do if (not nonshowing[getPlayerSerial(v)])then table.insert(ta,{name=getPlayerName(v),time=getPlayerTime(v)}) end end return ta end function SetPlayersInGD( GridList ) if GridList then if getElementType ( GridList ) == "gui-gridlist" then if guiGridListClear ( GridList ) then for i, v in next,getTableWithout() do local Row = guiGridListAddRow ( GridList ) guiGridListSetItemText ( GridList, Row, 1, v.name, false, false ) guiGridListSetItemText ( GridList, Row, 2, v.time, false, false ) guiGridListSetItemColor(GridList, 0, 1, 255, 0, 0, 255, true, false) guiGridListSetItemColor(GridList, 0, 2, 0, 255, 0, 255, true, false) end end end end end test it اعذرني يقلبي عرفت من وين المشكله المشكله من getPlayerSerial عشان كذا نقولك استخدمه سيرفر سايد لانه بالكلنت يجيب سيريال اللاعب اللوكال فقط
    1 point
  16. Suggestion :- Refer multi theft auto wiki, for acquire better knowledge about scripting scripting intro :- https://wiki.multitheftauto.com/wiki/Scripting_Introduction Main Page :- https://wiki.multitheftauto.com/wiki/Main_Page
    1 point
  17. اظنكم ناسين قوصين عند Check = getPrize + شي كمان مثلا لو يبا اخر قيمه هيك ما بتيجي لان عندها بيرجع false + علي حسب الي فهمته منه صراحه هو يقول انو يبي قيمه معينه Table = { [1] = "Money", [2] = "VIP", [3] = "XP", [4] = "Level" } index = 0 function getPrize(specieficIndex) index = index + 1 if index == (#Table+1) then -- (#Table+1) عشان القيمه الأخيره تكون موجوده return index = 0 end if specieficIndex == index then return Table[index] end end --#Example addCommandHandler("randomPrize", function(player,_,ind) local RandomPrize = getPrize(tonumber(ind)) outputChatBox(RandomPrize, player) end ) + صراحه في شي كمان اذا هو يبي الكود كدا فانصحك اصلا تختصر كل ذا و تستعمل Table[index] بيرجع لك القيمه الي تباها
    1 point
  18. جوابك خاطئ . يالطيب , هذا يستخرج لك القيم من الجدول , مثال : for _ , v in ipairs ( { 'soso' , 'fofo' } ) do outputchatbox ( v ) end -- النتيجة الي تطلع في الشات . -- soso -- fofo او تسوي لك تكرار للقيم تقدر تقول , اصلا لما تستخرج قيم تستخرج لك القيم ورا بعض , ف يعني تقدر تقول بشكل ثاني تكرر القيم , ناخذ مثال . for i = 10 , 1 , -1 do outputChatBox ( i ) end -- النتيجة : 10 9 8 7 6 5 4 3 2 1
    1 point
  19. شطورين تتناقرون ع شيء بسيط , ترفع لكم القبعة . صاحب الموضوع : setSkyGradient setSunColor
    1 point
  20. http://lua-users.org/wiki/PatternsTutorial in more exact words. use string.find("str","mtasa://"); function.
    1 point
  21. اكشف بكيفك انا بكشف نفسي ايه كنت اجيك صح وكنت بدي رتبة عندك وكان بدي اساعدك كنت مفكرك رجال بس ما طلعت هيك + خلني استر عليك يا ابو التعديل وبعدين من قلك اني ما قلت خير الرجال ما حاول وانت تعطيه الكود جاهز واخر شي كود عبد الكريم ويلا مع السلامة ولا يكثر كلامك وانتظر باك اب كامل ههه
    1 point
  22. That is a great idea. I going to try to do it for the next upgrade
    1 point
  23. اول نقطة GuestAccount مش GueestAccount ولما شخص يساعدك لا تتجهله ي جاهل
    1 point
  24. السلام عليكم ورحمة الله تعالى وبركاته, كيف الحال ؟ عساكم بخير إن شاء الله, اليوم جبت لكم مود حسابات ---------- الجديد في السكربت : - حفظ جميع المعلومات التى تقوم بيها داخل اللوحة - لوحة ادارة الحسابات على سريال ---------- - شكل جديد وتصميم متناسق للمزيد من المعلومات قم بمشاهدة الفيدو هونا : https://youtu.be/jbbZjMBL5To @Master_MTA @!#NssoR_) @MrKAREEM @+1HidroNex @Abu-Solo @AbU - W6N @DABL @iPrestege @MR.DEAD @#Soking @#x1AhMeD,-09 @#[K]iLLeR<3 @#[K]aTakuRI-,? @iMr.WiFi..!@*RayaN-Alharbi.@killerProject
    1 point
  25. Great work you r going in unique way and Thad really good develop it more and you will get more success
    1 point
  26. @Adel How old is this cheat? Did you try it?
    1 point
  27. Hello mta staffs. first time for me to post here. i am here for report a bug in mta tactics gamemode. this gamemode is so good too many players playing it. in this gamemode (for those who don't know it) we're about 2 teams play clan war in some mta maps. this maps got (builds/streets/trees/etc..) There's The PROBLEM! someone cheater edit on the files of the trees and he hide it!!!!!! and now he can see us behind the trees during camping and he can sniper and see us and he behind the tree.. this cheat files were with two or three persons who playing tactics.. BUT now? someone shared it on youtube and this good gamemode will be :Oed up because of this files
    1 point
  28. للأسف لن أكون من ضمن طاقم الإدارة بسبب اعتزالي للعبة وانشغالي في الحياة الواقعية على كل حال , سوف انقلكم اخبار وتحديثات السيرفر في هذا البوست بخصوص الباندات , راح نفك كل الباندات ونفتح صفحة جديدة بالتوفيق للجميع
    1 point
  29. Thanks everyone so it was a bug I assumed it has hack because he repeatedly killed me 3 times ,so fine now and its fixed now .thanks everyone
    1 point
  30. Its depends on target & range on bullets fired by every round as o guess sawnoff will damage more then silenced pistol we may seen many times while playing
    1 point
  31. كنت مسويها عبر الip والبروت الخاص بالسيرفر لكن م رح تنفعك لو م ضاف المود للاسل او مقفل خاصيه ال fetchremote
    1 point
  32. عندي لك فكرة, سوي اتصال لمودك بموقع واذا كانت القيمة فولس ما يشتغل المود, واذا ترو يشتغل عشان اذا احد قرر يسرقه منك تقدر تقفل عليه المود عن بعد
    1 point
  33. بنصحك نصيحة انا بستخدمها اعطي السكربت مشفر وبعدها لما يصلك المبلغ فك التشفير من ناحية المبرمج امكانية النصب هي 0% بعد مشاهدة السكربت انما الزبون احتمالية النصب مرتفعة بعض الشيء
    1 point
  34. I can make you whole new system not clone of saeg or any servers if you can pay me
    1 point
  35. دعواتكم الله يحفظكم. يقولو عندي مرض خطير.... اللي غطلت بحقه يسامحني واللي غلط بحقي مسامح ..
    0 points
×
×
  • Create New...