Jump to content

Leaderboard

Popular Content

Showing content with the highest reputation on 10/09/16 in all areas

  1. تحتاج تستخدم الحدث onClientGUIChanged
    2 points
  2. السلام عليكم ورحمه الله وبركاته كيفكم جميعاً عساكم بخير وصحه وسلامه , اليوم جيناكم بمود جديد وفكرة جميلة ----------------------------------------------------- شرح بسيط للمود : عند دخولك سيتم إعطائك شاحنه وقود , وسيتم وضع مكان معين في الخريطة لإيصال مقطورة الوقود . عند إيصالك لمقطورة الوقود بنجاح سيتم إعطائك مبلغ مالي ومن ثم تعود لمركز الوقود لأخذ مقطورة جديدة وإيصالها لمكان جديد ملاحظة : عند إصتدامك بالشاحنه سيتم أخذ مبلغ مالي منك ملاحظة : للخروج من المهمه , اكتب في أف 8 ExitM ملاحظة : قم بكتابة الكلمات الغير مرغوب فيها في ملف Binds مثل : F1 , j , إلى اخره ----------------------------------------------------- التحميل : اللهم لك الحمد كما ينبغي لجلال وجهك وعظيم سلطانك ----------------------------------------------------- بعض الصور :
    1 point
  3. الي فهمته انك عايز تعمل صوت يظهر حول الاعب في العبه ويفضل لازق فيه ومايظهر للجميع الي بسيرفر .. اول ما يضغط زر معين بالكيبورد يظهر ولما يظغطه تاني يوقف انت هتعمل كدا اول شيء bindkey وتحدد الزر الي عايزه يطلع الصوت حول الاعب اول ما يضغطه تعمل ريندر onClientRender وبداخله يجيب احداثيات اللاعب getElementPosition طبعا تعرفه وبرا الريندر playSound3D والاحداثيات من الي عرفناها جوا الريندر وطبعا تعرف الفيكشن دا عشان تتحق الصوت شغال او لا وتخلي الزر يشغله ويطفيه وطبعا بس يشغله يشغل ايفنت الريندر وبس يطفيه تعمل ريموف للايفنت تاع الريندر ما تنساش لو عايز الصوت يطلع لجميع الاعبين حوله اشتغل بالسيرفر وبعدين تسدعي كل الاعبين تستخدم for مع getElementsByType("player") وترايقر
    1 point
  4. First question, what?.. Second question - https://wiki.multitheftauto.com/wiki/Scripting_Introduction
    1 point
  5. تحطها على المود نفسه يعني setElementData ( resourceRoot , "Data Name" , "Value" ) getElementData ( resourceRoot , "Data Name" ) ^^
    1 point
  6. Empieza con esto. Lua Y esto para probar tus programas sin mucho dolor de cabeza. Lua Web Interpreter
    1 point
  7. Actually i think this is not practically as the one was in the phpBB it will be easier for who's asking for help if he just click and go to the wiki site and defined the server and client side.
    1 point
  8. Ese es el objetivo, el problema está en buscar recursos que estén bien para poder empezar a aprender.
    1 point
  9. Custom DM map Quantum Kube https://www.youtube.com/watch?v=8cXpQBAp7C4 Cant find how to youtube on the new forum, so :c
    1 point
  10. الي طفشان لايك الي معه مدرسة لايك قريباً بتشوفوهم بالمنتدى ^
    1 point
  11. حسب كلام الإدارة.. لن يتم إضافة هذي الخاصية إلا بمطلب جماعي function lua () print "test" end يمديك تستعمل الخاصية الحالية
    1 point
  12. What about this (untested) addEventHandler("onClientVehicleEnter", getRootElement(), function(player, seat) if player == localPlayer then local radioID = getElementData (source, "radioID" ) if radioID and radioID >= 0 then local sound = getSoundsBlyat[source] if sound and isElement(sound) then local meta = getSoundMetaTags(sound) title = meta.title end end end end ) -- "onClientPlayerRadioSwitch" addEventHandler("onClientPlayerRadioSwitch", getLocalPlayer(), function (station) if isPedInVehicle ( localPlayer ) then if station ~= 0 then local vehicle = getPedOccupiedVehicle ( localPlayer ) -- use the same code here and make sure you keep title (global variable) end end end ) addEventHandler ( "onClientRender", root, function ( ) if title then -- draw sound title here end and
    1 point
  13. لانك انت حاط داتا مو فلوس اللعبه . لو تبي فلوس اللعبه استخدم triggerServerEvent getPlayerMoney takePlayerMoney
    1 point
  14. The client variable is set based upon the player's (or rather the network packet's) IP. This IP cannot be spoofed easily as a handshake is performed when opening the connection to the server. client is much more secure in contrast to the source variable as the source variable gets passed via triggerServerEvent.
    1 point
  15. The reason why getSoundMetaTags is slow is that it has to read a piece of the stream to get the desired data. As a fix, you should call getSoundMetaTags only once or, if you need to update it from time to time, use a timer. E.g.: local streamTitle = "" setTimer( function() streamTitle = getSoundMetaTags(sound).streamTitle end, 5000, 1 ) -- Update every 5 seconds addEventHandler("onClientRender", root, function() -- Do whatever you want to do with 'streamTitle' end )
    1 point
  16. جرب هاذا addEventHandler ( "onClientGUIClick" , root , function ( ) if ( source == b1 ) then setElementData ( localPlayer , "tent" , 1 ) local Money_ = ( getElementData ( localPlayer , "Money" ) or 0 ) if ( Money_ >= 200000 ) then setElementData ( localPlayer , "Money" , Money_ - 200000 ) else outputChatBox ( "You Don't Have enought Money",255,0,0,true) end end end );
    1 point
  17. السلام عليكم ورحمة الله وبركاته اليوم جايب لكم وظيفة جديدة الي هي وظيفة سيريال كيلر او القاتل المتسلسل صراحة ملاحظ انه منتشرة عشان كده سويتها شبه دي اكس ض1 ننتقل للمقطع رابط المقطع رابط التحميل سبحان الله - التحميل من هنا صورة ولي ولكم التوفيق الاهدائات Dr. Abdul KariM Tn6el Mr.CoR Default Marshmello Ahmed-09 شكرا ل Dr. ساعدني كتيرا في المود صارت في مشكلة وماقدرت اعدل على الموضوع عشان كده كتبته في الردود
    1 point
  18. : D , ابداعنا * لاتنسى انك ساعدتني في الجزء الاهم ض1
    1 point
  19. وظيفة رائعة واصل ولا تحرمنا من ابداعك
    1 point
  20. الخطأ من ملف الميتا , تأكد من اسماء الملفات في الميتا
    1 point
  21. شنهو المود؟ اسل؟ فيه خطا بملف سيرفر ادمن اسل شوف شنهو الخطا-
    1 point
  22. اطرح الكود الي تستخدمه
    1 point
  23. حبيت اقلكم ان اول حرفين هي الشفايفة مثلا كذا يصير احمر خفيف 55FF0000 والباقي الالوان RRGGBB
    1 point
  24. المشكلة أنه قفل موضوع أصلاً بدون أي سبب مقنع, عشان المود أنحذف من الكومنتي تقفل الموضوع ليه؟ بكيفي بروح أسولف بالموضوع حقي ليه تقفله
    1 point
  25. روح قلد وأحرق دم اللي قفل موضوعك
    1 point
  26. لو أنها مودات واحد ثاني مقلدها ماقفلو الموضوع في حالة رشوة بالمنتدى وكلام من تحت الطاولة وانا اعرف مشرف عربي بينهم
    1 point
  27. مبروك على ذا مدري شسمه نسيته السيكل اللي شريته وسؤال للكل, هل اقتنيت (متعوب عليها) حقيبه للمدرسه؟
    1 point
  28. local s = "hI" if s:lower():find ("i") then return end
    1 point
  29. debugscript 3 يطلع لك الاخطاء اللي تصير بالسكربت
    1 point
  30. الرابط واضح وش مافهمته؟ بكود عاشق الشرق
    1 point
  31. @jhxp, @darkdreamingdan تمت إضافة تصميمات جديدة للمنتدى وتصميمات مخصوصة للقسم العربي لجعل الحروف أكبر لسهولة القراءة شكراً لـ
    1 point
  32. I've just added a submenu, which is visible both on the desktop and mobile versions of the site at the top of the page, next to the search bar. For mobile, this appears like so:
    1 point
  33. تصميم الدي أكس حلو سلمت يداك .. لكن لو غيرت الألوان كان احسن . تقبل مروري
    1 point
  34. ابداع بس وانا اخوكك ابعد عن تقليد السيرفرات هذا مايجيب الا المصايب، حاول تسرق افكار من برا اللعبة ممن العاب ثانية او كذا او انك تفكر بالتوفيق
    1 point
  35. عليكم السلام وظيفة رائعة , يعطيك العافية عجبتني اضافة الدي اكس اتمنى ان فيه اصدار ثاني ومميزات اكثر ولاهنت على الاهداء مردود بأذن الله بالتوفيق ان شاء الله
    1 point
  36. [2016-09-07 02:36:11] [Output] : -ffs-Bauss: next, are you n3xt? [2016-09-07 02:36:14] [Output] : -ffs-Bauss: on mta forums? [2016-09-07 02:37:29] [Output] : TB|~#NexT: nope [2016-09-07 02:37:33] [Output] : TB|~#NexT: i know n3xt [2016-09-07 02:37:36] [Output] : TB|~#NexT: my friend [2016-09-07 02:39:37] [Output] : TB|~#NexT: why u ask me ? because he upload ur login panel ? [2016-09-07 02:40:42] [Output] : -ffs-Bauss: he stole my intellectual property
    1 point
  37. Promo Code: TMS3DISC2 كوبون خصم 2 دولار على سيرفرات التيم سبيك يشمل طلبات الشراء الجديدة و لمرة واحده فقط يمكنك استخدام الكوبون للحصول على سيرفر تيم سبيك 10 لاعبين مجانا اضغط على الرابط لأستخدام الكوبون مباشرة http://client.tapleto-host.net/cart.php?&language=Arabic&a=add&pid=16&promocode=TMS3DISC2 العدد محدود
    1 point
  38. Signatures are hidden on mobile devices by IPS on purpose to keep the screen clear. We will take disabling this feature into consideration though. I don't think that's possible as the theme is fully responsive. Also, I doubt you can use the desktop theme on a phone fluently.
    1 point
  39. What was difficult? Downloading my intellectual property? You do know the copyright automatic and what you are doing here is illegal? -ffs-Bauss
    1 point
  40. Congratulations. Now go and script something actual good rather than copying other people.
    1 point
  41. I wrote this a long time ago however, so there's plenty of cleaning and optimizations to be done.
    1 point
  42. Square images become rectangles with that and others become square when they should be rectangular. I managed to fix it with some help of Google and you too of course. So still many thanks for your help! -- Grid function function click() if source == grid then local imagepath = guiGridListGetItemText(grid,guiGridListGetSelectedItem(grid),1) guiSetText(header_info,"images/"..imagepath) if imagedisplay then guiStaticImageLoadImage(imagedisplay, "images/"..imagepath) else imagedisplay = guiCreateStaticImage(0.36, 0.12, 0.55, 0.86, "images/"..imagepath, true, window) maxWidth, maxHeight = guiGetSize(imagedisplay, false) end width,height = guiStaticImageGetNativeSize(imagedisplay) ratio = math.min(maxHeight/height,maxWidth/width) newHeight = math.ceil(height*ratio) newWidth = math.ceil(width*ratio) guiSetSize(imagedisplay,newWidth,newHeight,false) end end addEventHandler("onClientGUIClick", grid, click, false) Now I got to study this piece of code a bit more and find out what and why it's actually doing it. Never really paid attention at school when it came down to ceil and all the other stuff... hehe Thanks again
    1 point
  43. https://community.multitheftauto.com/ind ... =resources شايف كلمة Upload new resource تشوف تحتها كلمة Upload! اضغت عليها وحط المعلومات بشرط ان تكون مسجل من قبل رابط التسجيل https://community.multitheftauto.com/ind ... p=register
    1 point
  44. Old & Epic Map Here : http://www.mediafire.com/?y8ph8dpywrajcgg
    1 point
×
×
  • Create New...