Jump to content

Leaderboard

Popular Content

Showing content with the highest reputation on 25/02/17 in Posts

  1. مع الفكرة صراحة والفكرة حلوه وزي ماقال الاخ شاطح يكون اللغات ترتبط بين اللوا مثل الفيجوال بيسك والبي اتش بي والاتش تي ام ال نطور من مستوانا مانبقى على اضغط زر وقفل زر
    3 points
  2. @iRamX تراح مايحتاج المنت داتا ابد, وطريقتك غلط بأيفنت الدخول لان اول مايدخل الاعب راح يكون حسابه جوست والمفروض تتحقق ان الاعب مسجل دخول ان حسابه ماهب جوست والطريقة الثانية والي هي افضل يقدر يسويها بالترايقرات لان اسم حساب الاعب مايتغير اول مايدخل الاعب ترايقر للكلينت وحط حسابه وخلاص واول مايشتغل المود ترايقر للسيرفر ويجيب اسمه ويرسله للكلينت وانتهينا
    3 points
  3. السلام عليكم ورحمة الله و بركاته اليوم بنشرلكم الأيكسبريشن : return or اولاً أيش معنى return? لغوياً : فعل إرجاع برمجياً : تستخدم لترجيع قيمة كيف تستعمل؟ return [ value ] أمثلة : function outputChat(msg,element,r,b,g,bool) -- Function نسوي وظيفة if type(msg) ~= "string" then -- تحقق إذا الأرقمنت الأول سترنق return false -- يرجع قيمة false = خاطئ else -- أذا كان سترنق outputChatBox(msg,element,r,b,g,bool) end end outputChat(123) -- returns false outputChat("123") -- returns true function validate(num) if type(num) ~= "number" then return end -- اذا لم تكن القيمة رقم, يوقف الفنكشن givePlayerMoney(getLocalPlayer(),num) end ثانيا: or معنى لغوياً : أو برمجياً : اذا كان الصيغة القبل nil او false فيقوم بتكميل امثلة : givePlayerMoney(lafdksafksdakfk,100) or givePlayerMoney(source,100) طيب والأن, مثال لهم مع بعض guiSetVisible(rasfdsaf,false) or return false function isvalidpass(pass) if type(pass) ~= "string" or string.len(pass) =< 3 or pass == " " then return false else return pass end end للي عنده مثال ثاني يحطه تحت تحياتي
    2 points
  4. السلام عليكم ورحمة الله وبركاته جتني فكرة انهم يسون قسم اخر لبرمجة لغات اخرى منها نستفيد ونتعلم اللغات الثانية وش رايكم انتو؟ @!#NssoR_)
    2 points
  5. شرح تمام, كفيت و وفيت اضافة : كذا بيطلع لما تستدعي الفنكشن
    2 points
  6. @jhxp قال لا اتعامل مع اشياء المنتدى جرب كلم ccw تواصلت مع
    2 points
  7. السلام عليكم ورحمة الله وبركاته اخباركم يا شباب, عساكم بخير طبعا اليوم حاب اوريكم سكربت الثوب المطور هو سكن واحد ويمديك تحط له اشكال لا نهائية المود يعتمل على الشادر طريقة التحكم بسيطة جداً بالتيبل (موضحة في اخر المقطع) ابغى آراكم بالسكربت وهل انشره ام اخليه ولا ايش اسوي فيه
    2 points
  8. Superman : local team = "" -- Team Name function checkSuperMan() for i,v in ipairs(getElementsByType("player")) do if getPlayerTeam(v) == getTeamByName(team) then setElementData(v,"canFly" , true) end end end checkSuperMan() addEventHandler("onPlayerJoin",root,function() v = source if getPlayerTeam(v) == getTeamByName(team) then setElementData(v,"canFly" , true) end end) جربها, شغالة عندي المشكلة ما اعرف لو مود سوبر مان معدل ولا لا حقي. لو ما اشتغل بعطيك مود السوبر مان حقي ايش دخل الداتا بالموضوع؟؟
    2 points
  9. تفضل المود كامل http://up.top4top.net/downloadf-4211mvv31-zip.html
    2 points
  10. My grand mother speaks english better than you
    2 points
  11. أن شاء الله يعطيك العافية ع الاقتراح حبيبي تسلم حبيبي، كلنا مبدعين مو بس انا تسلم حبيبي منور, شكرا على اقتراحك !
    2 points
  12. @_Kinan تحقق ان السورس ماهب الكايلر
    2 points
  13. يقدر يسويها كذا guiGridListInsertRowAfter ( element , -1 );
    2 points
  14. @iRamX @#BrosS المفروض تستخدمون هاذي الاحداث او تسوون مثل ماقال عبدالكريم onResourceStart onPlayerLogin onPlayerLogout
    2 points
  15. Razočaran sam. Iskreno sam se nadao da ćete napraviti nešto hvale vrijedno. Kao prvo, očiti znakovi Valhalle, što znači da gamemod ne radite from scratch. Community skripte, iako nije neka velika stvar, server koji bi potencijalno držao tisuće igrača u isto vrijeme ne bi si trebao dopustiti korištenje besplatnih javnih skripti. Ne znam u kojem trenutku ste pomislili da će korištenje Valhalle, oG, uG ili koji god derivat istog ste koristili, biti dobra ideja? Vama je očajno potreban kod visokih performansi s naglaskom na asinkronu logiku koja će biti neizbježna kod tolikog broja igrača, a Valhalla je sve samo ne visokih performansi. Vjerujem da imate i više nego dobar budžet kako biste ostvarili unikatnost i originalnost. Nadam se da vam taj profesionalni skripter ne maže oči pizdarijama i da zna što radi, a ako to nije slučaj, savjetujem potragu za novim. Bez ljutnje, nije hejt post, jednostavno nisam mogao vjerovati što vidim...
    2 points
  16. عفوا اخوي، هو حر يقدر ينشر الي يبغاه؟ تبغى منه يبرمجلك قوله خاص لا تجلس تأمره.
    2 points
  17. السلام عليكم ورحمة الله وبركاته نشرح لكم وظيفة مفيدة هذه الوظيفة يمكنك من خلالها قرائة البيانات من الجدول تركيب الوظيفة string inspect ( mixed var ) mixed var :- متغير من اي نوع من البيانات مثال الويكي local Table = { ["matrix"] = {position = {getElementPosition(localPlayer)},rotation = {getElementRotation( localPlayer )}}, ["localplayer"] = getPlayerName(localPlayer), } addEventHandler("onClientRender",root, function( ) dxDrawText(inspect(Table),10,250) end ) local Table = { قمنا بإنشاء جدول ["matrix"] = انشاء خانة جديدة تحتوي على :- احداثيات اللاعب , اتجاه اللاعب position = {getElementPosition(localPlayer)},rotation = {getElementRotation( localPlayer )}}, position = -- هذي لو تبي تحط شي قبله , يطلع بالشكل ذا position = { x , y , z } لو ما تحطها كذا تطلع { x , y , z } { هذي الاشارة قبل getElementPosition لو ما تحطها م يصير شي , لو تحط قبلها × تطلع كذا × x , y , z , -- هذي تسوي لنا سطر جديد لو م حطيتها رح يطلع كذا position ={ x , y , z } rotation = { x , y , z } ["localplayer"] = -- خان جديدة تحتوي على اسم الاعب getPlayerName(localPlayer), -- جلب اسم الاعب اذا حاب تشوف وش يطلع الشكل النهائي , افتح رابط الوظيفة والسلام خير الختام
    1 point
  18. بسم الله الرحمن الرحيم السلام عليكم ورحمة الله وبركاتة لقد تم عمل هذا الشرح خصيصاً للاعضاء الذين لايعرفون طريقة عرض الاكواد لنبدأ بالشرح الخطوة الأولي : الخطوة الثانية : النتيجة : setElementPosition getElementData وهكذا قد انهينا الشرح و الحمدلله وطبعا لاننسى ترتيب الاكواد الذي تم ذكره في موضوع الاخ تيتي الله يعطيه العافية وبالتوفيق للجميع
    1 point
  19. شرحك مفهوم و جميل, اتمنى تسوي موضوع منفصل
    1 point
  20. م انتبهت لـ ردك ذذ
    1 point
  21. ملأحظة onPlayerDamage مايتكنسل .
    1 point
  22. 1 point
  23. الاخ ايكو صححه و حط فنكشن يجيب التيم من اسمه
    1 point
  24. Here some photos from the server, tank battles, ship battles, infantry battles:
    1 point
  25. You can draw dx in front of a browser. Check out the wiki page for the dxDraw functions and you'll see there's a postGUI argument. Just set that to true and also make sure it's drawn after the browser.
    1 point
  26. الله عليك هههههههه جوسونيكس متصل الله يستر
    1 point
  27. عفوا اخوي بالخدمة
    1 point
  28. Jusonex 52 Replied: 6 minutes ago · Report What languages do you think of? In theory, it is possible, but something like that requires a lot of effort which leads us to the question: Is it worth it? وش رايكم انتو؟ الرد بالإنجليزي فقط اللي مايفهم لايرد عشان لا ينكبنا خخ + مع وضع منشن له
    1 point
  29. فكرة رائعة انا معي لغات CSS - HTML - PHP - Java Script وشغال علي سكربت موقع تواصل اجتماعي و راح اقدر اشرف علي الاقسام هذي ____________ @jhxp Hello We suggest To add a new forum for the other languages like php and html etc... And More than one vote this ___________ ترجمة : مستر نايف ___
    1 point
  30. والله فكرة جميلة قدام بس يبالغها واحد من الادارة العرب يكلمون نفس اصحاب المنتدى
    1 point
  31. function onKilled(ammo, killer, killerweapon, bodypart) if (getElementType(killer) == "player") then if not killer == source then -- كود اعطاء الأكس بي -- source = المقتول -- killer = القاتل end end end addEventHandler ( "onPlayerWasted", getRootElement(), onKilled )
    1 point
  32. قصدك يقدر يلون الثوب حقه؟ + منور الموضوع ولله يا دفلت يحتاج شخص خبير بالموديلنق ويصمم ثوب بدون الشماغ لان انا خبرتي تصميم شادرات فقط.. شكرا لك منورين الموضوع
    1 point
  33. وعليكم السلأم ورحمة الله وبركاته . يعطيك العافيه ع المجهود ي كنأن . بالنسبة لـ دمار طيب انت م تبي المود ذا خلأص مو لازم تحمله
    1 point
  34. يب : ) يعني مافي طريقة تخلي الرو فوق الا بتخبيص على تيبل لانه جتني فكرة نوعاً ما مستحيلة انه يحرك التيبل ويسجل المسج واذا جا المسج يسجله برقم واحد والباقية بترتيب وكذا
    1 point
  35. انا ماجربت صراحه ولا يمديني اجرب وبقولك اللي ف بالي حاليا يمكن اكون صح او غلط، الوظيفه اللي تجيب لك عدد الروز بتجيب لك العدد كامل،يعني لو فيه 3 رو بيطلع لك 2 لأن الرو الاول بيكون رقمه صفر والثاني 1 وكذا يعني اللي انت طارحه بيكون الرو آخر شي تحتهم كلهم، وهو يبغى العكس يكون الاول فهمت؟
    1 point
  36. مع الفكرة + بس ما اتوقع انه يكون قرار المشرف لحاله اتقول لازم الادارة يلي تفتح القسم
    1 point
  37. You are only allowed to give 10 likes per day. You cannot give any more likes today. اكره شيء
    1 point
  38. You're completely on the wrong track, TS is not asking to cancel a ban-''kick'' when the ban system got that player as banned, nor if you meant to cancel-kick joins (I wouldnt be surprised if you mean this as your other comments also make little sense) as he wants the players to persist while drawing that information screen about ban details. I've read your other replies in here and I don't think its really contributing
    1 point
  39. انا مع الفكره بشرط انه مايكون قسم مستقل, يعني حق لغات برمجه نقدر نستخدمها مع لوا وتفيدنا بالبرمجه.
    1 point
  40. That's intentional, but you're able to change the maximum transfer rate using the bandwidth argument. So if your server has a good connection you can increase it.
    1 point
  41. 1 point
  42. my two cents: local TIME_TO_PREPARE = 3*60*1000 --3m local TICK_DURATION = 500 --tick every 500ms local DAMAGE_PER_TICK = 1 --DPS = DAMAGE_PER_TICK*(1000/TICK_DURATION) --just an example local methTimers = {} function cook(thePlayer, cmd, ...) if getElementModel(getPedOccupiedVehicle( thePlayer )) ~= 508 then return end --not in Journey if not hasPlayerTheIngredients(thePlayer) then outputChatBox( "No ingredients!", thePlayer ) return end --check if he has ingredients if methTimers[thePlayer] and isTimer( methTimers[thePlayer][1] ) then outputChatBox( "Already cooking meth!", thePlayer ) return end methTimers[thePlayer] = {} methTimers[thePlayer][1] = setTimer( cookMethTick, TICK_DURATION, math.floor(TIME_TO_PREPARE/TICK_DURATION), thePlayer ) setElementFrozen( thePlayer, true ) methTimers[thePlayer][2] = setTimer( setElementFrozen, TIME_TO_PREPARE, 1, thePlayer, false ) --if you want, remove ingredients here end addCommandHandler( "cookmeth", cook, false, false ) function cookMethTick(thePlayer) if hasPlayerTheGasMask(thePlayer) then setElementHealth( thePlayer, getElementHealth( thePlayer ) - DAMAGE_PER_TICK ) end local _, tickLeft, _ = getTimerDetails ( methTimers[thePlayer] ) if tickLeft == 0 then --last tick --use inventory to add meth or wathever you want (remove the ingredients if you didn't at start!) --also clear the methTimers table methTimers[thePlayer] = nil end end function hasPlayerTheIngredients( thePlayer ) --use exported functions/data provided from the inventory script return true or false end function hasPlayerTheGasMask( thePlayer ) --use exported functions/data provided from the script that handles gas masks return true or false end function alertPlayerEnteringJourney(theVehicle) if getElementModel(getPedOccupiedVehicle( thePlayer )) ~= 508 then return end --not in Journey outputChatBox( "You can cook meth! /cookmeth", source ) end addEventHandler( "onPlayerVehicleEnter", root, alertPlayerEnteringJourney ) --explain more the point: --At the same time display a countdown of the 3 minutes saying "3 minutes of cooking remaining" or something like that that goes down. --DX? UNTESTED I'm also not sure about the getTimerDetails part, as wiki is not much helpful PS: 3 minutes? what if other players starts attacking you? Should you stay frozen watching you beign killed?
    1 point
  43. مصلحتي مصلحتك ليش ما انت تسوي مودات تكتيك و قيم مودات ؟ قبل لا تجي تأمرني
    1 point
  44. انا انشر الي بدي أياه + افيد المبتدئين.
    1 point
  45. Всё перечисленное мною, можно найти почти в каждом редакторе кода в какой-то мере. Лично мне трудно представить нормальный процесс разработки без всего этого. Если для вас это максимум то вы либо мазохист либо динозавр =) Серьёзно? =) Таким людям тут вообще нечего делать
    1 point
  46. If you want to change your MTA Forums username, you are now able to do it yourself without the need of asking a Forum Administrator for help. You can find the option for changing the forum username (also known in IPS as Display Name) in the Account Settings, located in the collapsible menu in the top-right corner of the page (near your forum avatar and nickname). You can also visit this link to get to the username change page directly: https://forum.multitheftauto.com/settings/username/ However, before you change your username, please acknowledge the following: To prevent the abuse of the feature, you can change your username only once per 90 days (or more) since the last change. If you have changed your username recently, but thought that you would want your previous one back, we will not restore your previous nickname on request. Likewise, if you have changed your username, but do not like it, then we will not change your username to something else before your username change cool-down period expires. Please do not use comma characters , in your nicknames, as that will break some things for your account. For instance, you will not be able to receive Private Messages from other users. Note that if that is actually what you want (you do not want to receive PMs), you can simply disable the messenger feature. An option for that is located at the bottom of the page in the Private Messages Inbox. Do not change your nickname to impersonate MTA Team members and Forum Moderators (or possibly any other well known MTA Community figures). Regular Forum Rules still apply to forum username changes. Therefore, please think well before you change your username. -- MTA Team
    1 point
×
×
  • Create New...