Jump to content

Leaderboard

Popular Content

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

  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. بسم الله الرحمن الرحيم السلام عليكم ورحمة الله وبركاتة لقد تم عمل هذا الشرح خصيصاً للاعضاء الذين لايعرفون طريقة عرض الاكواد لنبدأ بالشرح الخطوة الأولي : الخطوة الثانية : النتيجة : setElementPosition getElementData وهكذا قد انهينا الشرح و الحمدلله وطبعا لاننسى ترتيب الاكواد الذي تم ذكره في موضوع الاخ تيتي الله يعطيه العافية وبالتوفيق للجميع
    1 point
  18. شرحك مفهوم و جميل, اتمنى تسوي موضوع منفصل
    1 point
  19. م انتبهت لـ ردك ذذ
    1 point
  20. شرح ممتاز اضيف للشرح حقك and الشرح :- الاند عكس الاور تماما يعني لو القيمه القبلها تروً تاخد البعدها مثلا 5 and false ولو القبلها مثلا true and 5 بتاخد ال بعدها حتي لو كانت ترو print ( ( not false ) and 'Error' ) -- Error لان ال not تستخدم للعكس يعني تقدر تقلب الترو ل فولس و العكس مثلا لو سوينا not not true النتيجه بتكون true
    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. Dear @Jusonex & @jhxp & @darkdreamingdan How are you I suggest to add sections which we have away from lua language and all of us here want that, but i hope to take some famous languages as an example App telephone programing section including java & c# & swift and the web programing as general and i have ex experience in java android and i will present explanations and i will solve some problems if i can And by this i will make the site not concentrating in one thing but will include many things Thank you for precious times
    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. والله فكرة جميلة قدام بس يبالغها واحد من الادارة العرب يكلمون نفس اصحاب المنتدى
    1 point
  30. www.youtube.com txd workshop
    1 point
  31. شكراً حبيبي, منور منور رام
    1 point
  32. يعطيك العافية كنان شرح مفهوم استمر
    1 point
  33. وعليكم السلأم ورحمة الله وبركاته . يعطيك العافيه ع المجهود ي كنأن . بالنسبة لـ دمار طيب انت م تبي المود ذا خلأص مو لازم تحمله
    1 point
  34. @_Kinan يعطيك العأفية ع المجهود ماتقصر بس تنبيه بسيط givePlayerMoney بجانب الكلنت مافيها ارقمنت اللاعب . وبالتوفيق .
    1 point
  35. انا ماجربت صراحه ولا يمديني اجرب وبقولك اللي ف بالي حاليا يمكن اكون صح او غلط، الوظيفه اللي تجيب لك عدد الروز بتجيب لك العدد كامل،يعني لو فيه 3 رو بيطلع لك 2 لأن الرو الاول بيكون رقمه صفر والثاني 1 وكذا يعني اللي انت طارحه بيكون الرو آخر شي تحتهم كلهم، وهو يبغى العكس يكون الاول فهمت؟
    1 point
  36. يغلق كما طلب صاحب الموضوع ..#
    1 point
  37. مع الفكرة + بس ما اتوقع انه يكون قرار المشرف لحاله اتقول لازم الادارة يلي تفتح القسم
    1 point
  38. You are only allowed to give 10 likes per day. You cannot give any more likes today. اكره شيء
    1 point
  39. 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
  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. You most likely nailed it exactly, BUT MY AIM ISN'T TO GET A SERVER LEVEL SCRIPT TO USE! My aim is to learn how to do this all, so no offence, but I didn't learn almost crap from this Would you be willing to get in contact or something and possibly explain this and/or teach me a bit?
    1 point
  43. 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
  44. انا انشر الي بدي أياه + افيد المبتدئين.
    1 point
  45. Sorry, but if you open executables from random people, it's your own fault. There's nothing we can do about it.
    1 point
  46. Это запрещает критиковать? ИМХО критика и есть проявление уважения к ПО и разработчику. Плохо когда не критикуют. Мне например не нравится дизайн, отсутствие гибкости программы, отсутствие подсветки и автодополнения.
    1 point
×
×
  • Create New...