Jump to content

Leaderboard

Popular Content

Showing content with the highest reputation on 08/11/17 in all areas

  1. طريقة بسيطة للتكوين الانفجار القوي الجدا ، اقوى من قنبلة هيدروجينية while true do createExplosion ( x , y , z , 10 ) end لا تنسى تحط الاحداثيات ;-(
    2 points
  2. local Weapons = { { 'AK - 47' , 30 , 2000 } , { 'M4 ' , 31 , 2000 } } gridlist = guiCreateGridList(267, 342, 209, 329, false) guiGridListAddColumn(gridlist, "Name", 0.3) guiGridListAddColumn(gridlist, "price", 0.3) guiGridListAddColumn(gridlist, "ID", 0.3) guiSetAlpha(gridlist, 0.80) guiSetVisible(gridlist,false) --______________________________________________________________________________________________ for _,i in ipairs ( Weapons ) do local row = guiGridListAddRow ( gridlist ) guiGridListSetItemText ( gridlist,row,1,getWeaponNameFromID(i[1]),false,false) end --______________________________________________________________________________________________ جرب ^^ ( المشكلة كانت انه اسم الجريد ليست غير عن الي صنعته والي اضفت فيه الرو
    2 points
  3. Hello Multi Theft Auto Community! Today is the day I have decided to release my new Zombies mode. It is a LARGE edit of the zombies resource that we all know and love. Includes a shopping system, a save system, money earning, exp, leveling and unlock system, reset system, zombie difficulty system, safe zones, little bit of mapping, special areas, scoreboard counts, drop system and much more. THIS IS NOT A COMPLETE RESOURCE. I decided that I would go ahead and release it so that the community can help make it a better, and more enjoyable gamemode. I want to see where this goes. All the best scriptors could all come together and build off of this and improve it with bug fixes and what not I believe as a community we can build and awesome mode with this and some of the scripts inside of it. Not everything in this mode was made by me, infact I started with a couple of scripts from the community to learn some lua. I have come very far and i spent years studying it to the point where I would dream about how id make this work and how id make that work and eventually put this stuff into play. I have had some help from some talented scriptors help me in the community so I am gonna give this back to all of you so it wont die. Special Thanks To: @NeXuS™ for helping me when I was stuck @Solidsnake14 for save system(your scripts made me understand account saving btw thanks). also for your EXP system too... I built off of it for unlocks and stuff like that and added a resets option. @3laa33 for helping with the survivor script. @NanoBob for teaching me difference of else if and elseif(LOL). @Pembo for helping me with DX drawing. @Mr.Loki for helping me fix bugs alot more, if you feel the need to be credited let me know why and what you've done. theres a few of you! now that the thanks are all out the way here's a list of things in this script. Zombies(duh) Cash system Different shops(weapons, skins, special weapons, resets, ect.) Map with base locations and placements(not complete) moving gates help window in 3 languages for new players DX Text for shop, destination identification. Drop System weapon selling system edited models/textures safe zones zombie difficulty DX Login window save system unlock system reset system Known Bugs THERE *MIGHT* Be some errors in which GUI doesn't work properly, not sure. as in opens for all players instead of the source or you know bugs for some reason like that other than that its pretty good. Save resource needs to be loaded last or else it wont load peoples account data and they will lose all their work. As of now No other bugs to my knowledge. Would like it to be tested. Any bugs found reply. main script survivor script save system Photos Drop System Shops Level System Reset System Explosive Ammo Panel For 5 Resets
    1 point
  4. السلام عليكم اليوم حاب اقولكم خبر حلوووووووو اخوي رجع بالسلامة من المستشفي والي هو #_MR.DEAD بعد ما مضي علي غيبوبته بالمستشفي 3 شهور مختفي وحاليا هو لسه ما اتعافي تمام بس شوية وقرب يتعافي ندعيله بالشفاء
    1 point
  5. السلام عليكم ورحمة الله وبركاته شرحنا اليوم عن وظيفة نسخ بيانات الحساب الى حساب آخر نبدأ بإسم الله : تركيب الوظيفة : bool copyAccountData ( account theAccount, account fromAccount ) account theAccount : الحساب الذي تريد أن تنقل البيانات إليه account fromAccount : الحساب الذي تريد نقل البيانات منه * الحسابات توضع بين علامة تنصيص ( ' ' , " " ) مثال على الوظيفة : addEventHandler ( 'onResourceStart' , resourceRoot , -- حدث عند تشغيل المود function ( ) -- وظيفة copyAccountData ( 'MR.StoRm' , '#Himoo' ) -- Mr.StroRm الى حساب #Himoo نقل البيانات من حساب end -- انهاء الوظيفة ) -- اغلاق الحدث والسلام عليكم ورحمة الله وبركاته .
    1 point
  6. يخوي احتلت ردودك المنتدى بأكمله , مدري من متحداك تجيب 10 الاف بوست بس مالها داعي ترد على كل صغيرة وكبيرة !
    1 point
  7. Done! guys I fixed it, and it was so easy xD, I just use startResource and stopResource, while the boss is activated Thanks for everyone!
    1 point
  8. ردودك مالها داعي
    1 point
  9. انصحك تشغل مخك كانه مكينه تخيل وتعلم الكثير وتحاول تجيب افكار من مخك انت ما شفتها وبعدين قلت انا بسوي زيها ! يعني مش شي منشور ومادري ايش الغرض من فكره مكرره ؟ مادام الفكره مكرره ليش اخذ مودك مادام في غيره واحد مسويه ؟ ليش ماتسوي لنفسك مودك الخاص بلمستك حتي حاول تضع لمسه او تطوير علي المود لا افهم ماذا يخطر ببالكم جبت التايهه والله .. ليته يفهمها صح بس ههههههه
    1 point
  10. ما شاء الله والله سكربت ابداع بتوفيق لك اخوي وحبيبي هيمو شكرا للإهداء...
    1 point
  11. Zombies aren't just appearing randomly, some part of the code is spawning them.. go there, add an if statement to check whether a boss is spawned and that's it. There's more than likely a timer or something already there that keeps the code running over and over again, so a simple if statement should be enough.
    1 point
  12. هل تسمعني ؟ حول شوف انا اعرض علييك عرض جميل جدا جدا في حاله اردت مود انا ابسطلك امورك تعاله نفكر مع بعضنا انت تبي سكربت .. احترافي كلمه احترافي مكونه من 7 حروف وحسب الطلب انت تبي مود مثلا وبما انه عليه شغل عالي نحتاج مثلا كمتوسط 50 سطر نضرب 7×50 = 350 وعندنا كلمه سكربت مكونه من جزئين سكر + بت الجزئ الاول سكر وهذا نحطه في الشاي + الحلويات الجزئ الثاني بت نقدر نقسمه الي وحده معلومات او اننا نقدر نقول بت بمعني بنت اذا هوا فسوق والعياذ بالله شوف المؤامره ؟ ولو جمعناهم كحروف يعطينا 5 ونجي نقسمهم علي 350 الي فوق = 70 وانا امس ماصرفت من نقودي 70 قطعه نقديه .. بالتالي تقفل القضيه بدون ان يشعر احد
    1 point
  13. Use timestamp. Seconds since 1970 january 1 00:00. Count the time for the ban in seconds, give it to the current timestamp, upload it to sql as an int and compare that on join/login
    1 point
  14. وعليكم السلام .. غريبة ردي ماظهر , علعموم عندك مشكلة في الشرح المفروض تجيب كائن الحساب وليس سلسلة نصية واستعمل getAccount حتى تجلب الحساب من الأسم
    1 point
  15. شباب السلام عليكم معي شرح بسيط لـ interpolateBetween خلنا نتابع الشرح بسيط local start = getTickCount() -- نستعملها عشان نقارن القيمة ونجيب وقت التاثير local one, one1 = 0, 0 -- احداثيات بداية التاثير local two, two1 = 319, 109 -- احداثيات نهاية التاثير addEventHandler("onClientRender", root, -- رندر function() -- وظيفة local now = getTickCount() -- ناخذ قيمة التاثير local x,y = interpolateBetween(one, one1, 0, two, two1, 0, (now - start) / ((start + 3000) - start), "Linear") -- وضع القيم dxDrawRectangle(x,y, 680, 750, tocolor(0, 0, 0, 130), false) -- مربع دي اكس end) مثال اخر قريبا
    1 point
  16. وعليكم السلام ورحمة الله وبركاتة مود جميل جداً ! من شخص اروع وفكرة ابدع بها .. وتشكر على الأهداء يالغالي ,
    1 point
  17. الله يعافيه ويرجع بالسلامة
    1 point
  18. local Weapons = { {30 , 2000 } , {31 , 3000 } } gridlist = guiCreateGridList(267, 342, 209, 329, false) guiGridListAddColumn(gridlist, "Name", 0.3) guiGridListAddColumn(gridlist, "price", 0.3) guiGridListAddColumn(gridlist, "ID", 0.3) guiSetAlpha(gridlist, 0.80) addEventHandler ( "onClientResourceStart" , root , function ( ) for i,v in ipairs (Weapons) do local row = guiGridListAddRow ( gridlist ) guiGridListSetItemText ( gridlist, row, 1, getWeaponNameFromID (v[1]), false, false ) guiGridListSetItemText ( gridlist, row, 2,v[2], false, false ) guiGridListSetItemText ( gridlist, row, 3,v[1], false, false ) end end )
    1 point
  19. وعليكم السلام ._. عندك سطر 10 لاصق "UPDATE" + "`testscript01`" وناسي تسوي WHERE playerSerial = ? + تأكد انك حاط المود بقروب الأدمن !
    1 point
  20. there's no need for that type of script, just disable control "action". Not sure if it's being used by other things but i just disable it when weapon is aiming but you can just put it in any client script and it'll work. toggleControl("action",false);
    1 point
  21. انت مسوي اكواد الاضافة للقريد لست قبل انشاء القريد لست نفسه
    1 point
  22. addEventHandler('onClientPedDamage',root,function(attacker,weapon,bodyPart,loss) if loss then local boss = getElementData(source,'boss') if boss then -- if you want to get its actual data.. if boss == 'yes its the :Oin boss xD' then cancelEvent() setElementHealth(source,(getElementHealth(source)-(loss%5))) -- this is if you want the boss to SLOWLY lose health.. end end end) --[[ getElementData(element element, string dataName [, inherit = true/false]) setElementData(element element, string dataName, var value [, bool sync = true/false]) ]] Everything inside [] are optional arguments, the rest is required (usually). Note that it is Element First, meaning ped, player, vehicle, whatever you are targeting.. Then after element is the data name..
    1 point
  23. Before you can try, you have to understand else those 100 times are for nothing. So tell me what did you learn from the code?
    1 point
  24. Сверстать в html форму сможешь? Если нет, то нужно подучиться. Если да, то почитай вводную статью на wiki, базовые вещи как и что работает там разобрано - https://wiki.multitheftauto.com/wiki/CEF_Tutorial Ну а живые примеры можешь смотреть в указанном моде.
    1 point
  25. You will have to study the script that is creating the `boss`, because this is just bull:~ code and will not get you anywhere. Check for export functions or custom events you could trigger.
    1 point
  26. Use isso para postar código. O exemplo que postei faz exatamente o que você pediu no post: O jogador que matar o outro receberá 6 níveis de procurado. Se você está querendo outra coisa, dai fica complicado.
    1 point
  27. يغلق لخروج الموضوع عن محتواه
    1 point
  28. ههههههههههههههههههههههههههههههههههههههههههههههههههههههههههههههههههههههههههههههههههه وش تبي اصب لهم قهوه عشان يجون
    1 point
  29. if isElement(aa) then return false end
    1 point
  30. خلاص ياخي هو سارقها هو ما سارقها اي شي بس جيييب رابط تحميل ض1 ابي اللوحة بشددةةةةةة هههههههه متحمس
    1 point
  31. H : Hell ( جهنم تحرق انت وياه ) الحرف المطلوب M
    1 point
  32. مب فاهم عليك ؟ ايش مب يقدر يضرب بيده اها
    0 points
  33. طبعا كلنا نعرف أن البرمجة والتصميم جزءان مختلفان السؤال الذي أطرحه : هل يوجد شيء معين يقوم بتصميم التطبيق ويقوم بإعطاءك المشروع الخاص بالتصميم لتقوم أنت بدورك كمبرمج ببرمجته أو يجب أن تقوم بتصميمه عبر كتابة الأكواد, كمثال تصميم السكربت بــ guieditor وبرمجته بواسطتك أو تصميمه بكتابة اسماء النوافذ والأزرار وبرمجته كذلك.
    0 points
×
×
  • Create New...