Jump to content

Leaderboard

Popular Content

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

  1. طيب جيب لي اول واحد سوى فكرة رسالة العامة هو صاحبها لسا هو جديد وبدو تشجيع و مو منشورة حق غيره لانه الف واحد سوها منهم مستر جراند جيب لي صاحب الفكرة الاساسي وذي الفكرة مانها فكرة جديدة مشان يصير فيها تقليد لانه كل السيرفر يحتاجون هاذا المود
    2 points
  2. 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
  3. 2 kids are fighting let's become kids and fight with them ?
    1 point
  4. ملاحظة بسيطة: الكود يحول الميلي سكند الى سكند, يعني مايجيب لك دقائق اذا تبيه بالدقائق عدل على الكود وتحقق من قيمة التايمر اذا كانت اكبر او اصغر وسوي العملية الحسابية الخاصية بالتحويل local screenWidth, screenHeight = guiGetScreenSize ( ) myTimer = setTimer ( function() outputChatBox ( "5 second delay text!" ) end, 5000, 1 ) addEventHandler ( "onClientRender", root, function ( ) if ( isTimer ( myTimer ) ) then local milliseconds = getTimerDetails ( myTimer ) dxDrawText ( milliseconds / 1000, 44, screenHeight - 43, screenWidth, screenHeight, tocolor ( 255, 255, 255, 255 ), 1, 2, "pricedown" ) else dxDrawText ( "There's no timer", 44, screenHeight - 43, screenWidth, screenHeight, tocolor ( 255, 255, 255, 255 ), 1, 2, "pricedown" ) -- كذا خلص التايمر end end )
    1 point
  5. This function is deprecated. This means that its use is discouraged and that it might not exist in future versions. Please use isPedDead instead.
    1 point
  6. طريقته بدها حسابات و عجقة إلخ , يستخدم القيم ..
    1 point
  7. اذا تحقق الشرط
    1 point
  8. و ينهي الوظيفة .
    1 point
  9. SIOA Team لدينا فريق بإسم اي واحد يشوف نفسه مبرمج تطبيقات ايفون او اندرويد او مطور و مصمم ويب يتواصل معي خاص , بإذن الله بعد شهر راح نتعاقد مع شركات كبيرة ونفتح شركة في مدينة جدة
    1 point
  10. لاتتفلسف في شي الا وانت تعرفه كويس return ترجع لك القيمة المحددة
    1 point
  11. 1 point
  12. addCommandHandler( 'pay', function( source,_,player,amount ) local find = findPlayer( player ) if find then local sourceAccount = getPlayerAccount ( source ) local guestAccount = isGuestAccount ( sourceAccount ) if guestAccount then outputChatBox( '[Pay]: You are not logged in!',source,255,0,0 ) else if amount then givePlayerMoney( find,tonumber( amount ) ) takePlayerMoney ( source, tonumber(amount) ) outputChatBox( '[Pay]:You transfered '..amount..'$ to '..getPlayerName( find ),source,255,0,0 ) outputChatBox( '[Pay]:You received '..amount..'$ from '..getPlayerName( source ),find,0,255,0 ) else outputChatBox( '[Pay]:/pay [playername][amount]!',source,255,0,0 ) end end else outputChatBox( '[Pay]:Player not found!',source,255,0,0 ) end end)
    1 point
  13. تم تشغيل السيرفر , حياكم الله جميعا mtasa://51.255.215.248:23028
    1 point
  14. غلط كودك هو يبي تايمر يجي مرة وحده فوق الشاشة يعني DX + يبي يجي التايمر يعني getTimerDetails ومايبيها أوتبوت شات بوكس يصاحب الموضوع سويها دي إكس واستخدم هذي الاكواد "onClientRender" setTimer getTimerDetails
    1 point
  15. طيب وش اسوي له يعني ؟ واحد طلب مساعده بالمنتدى بغض النظر من هو احاول اساعده على قدر معرفتي
    1 point
  16. اولا هذا مب مجهول هذا واحد مقلده
    1 point
  17. بس دا مش سكريبت ضخم ومش صعب دي حاجه بسيطه بس انا لسا مش محترف + دا يعتبر مثال بسيط مش سكريبت
    1 point
  18. Good you made it from basics cool
    1 point
  19. Tu error es que en el primer argumento estas enviando un String, ya que la función "getPlayerName" te devuelve un String con el nombre del jugador, en vez de eso tienes que poner como tal el elemento jugador dependiendo de lo que estés usando. Una función que si te devuelve el jugador de acuerdo al nombre es la siguiente: "getPlayerFromName".
    1 point
  20. المود حقي وسارقه انت تابع لسيرفر mta-ar
    1 point
  21. هو اللي كان ناشره =)
    1 point
  22. في مود منشور ارسال رصاص لكن مدري على اي اف من الافات .. تقدر تعدله و تخليه بماركر سهلة ما تحتاج شي
    1 point
  23. You no longer have to follow the steps in the original post, instead you can download latest nightly from: nightly.multitheftauto.com, it has all the latest IFP functions. You can also check the wiki. https://wiki.multitheftauto.com/wiki/EngineLoadIFP https://wiki.multitheftauto.com/wiki/EngineRestoreAnimation https://wiki.multitheftauto.com/wiki/EngineReplaceAnimation
    1 point
  24. . تستخدم لإقفال الحدث end أول مرة أعرف إن عالعموم شرح جيد نوعاً ما ..
    1 point
  25. الخطا هو انك جايب السورس حق الحدث والسورس حق حدث onResourceStart source = المود الي اشتغل فتحتاج انك تسوي لوب وترسل ترايقر او تسوي داتا
    1 point
  26. اول شي الانا مسويه ناس مسوينه بس بطريقة غير وانا قلت الف مره ومارح اعيدها فكرة تسليكية
    1 point
  27. الله يعافيك يقلببي بالتوفيق
    1 point
  28. الحين انت تعرف اليوزفل فنكشن الاستخدام العام لها هو ارجاع قيمه باي صوره من الصور ارجاع المنت مثلا ارجاع سترنج الخ انا بعطيك استخدام واحد لها هي لها اكثر من استخدام كمثال ايقاف اللوب وويستفاد منها باكثر من شي لكن الحين بوريك شي بوريك كيف تستخدمها بيوزفل فنكشن اذا ما تعرف اليوزفل فنكشن هو زيه زي اي فنكشن في لعبة mta مثلا getPlayerName عشان تسوي فنكشن خاص بك بتسميه مثلا master تمام كيف بنسويه في 2 طريقه لتعريف اسم الفنكشن الطريقه الاولى هي كالاتي وانا صراحه ما افضلها master=function() end كذا الفنكشن صار اسمه ماستر والطريقه الثانيه اللي اشوفها ابسط وافضل لان الطريقه الاولى تعتبر متغير تخزن فيه فنكشن خلنا نكمل الطرريقه ذي بالنسبه لي افضل function master() end راعي المسافه اللي بين كلمة function و كلمة master تمام الحين عرفنا كيف نعطي الفنكشن اسم او نعرفه كيف طيب وش هي الارقمنتات خلني افهمك حبه حبه الارقمنتات هي اللي يكون بين الاقواس اي اقواس مثلا انا ابي اسوي فنكشن لو احط فيه 2 ارقمنت يجمع الرقمين اللي بين الاقواس كمثال نستخدم الفنكشن حقنا master بيكون صورته كالاتي master(4,5) الحين وظيفة الفنكشن اللي اسمة master انه يقوم بجمع 4+5 ويرجع لي الناتج طيب الحين كيف بيكون شكل الفنكشن ماستر عشان تقدر تحط رقمين بين الاقواس بيكون شكل الفنكشن كالاتي function master(n1,n2) end الحين ماستر صار يقبل الرقمين اللي بين الاقواس سواء 4 و5 او اي ارقام ثانيه طيب ننتقل للخطوة الثانية كيف نخليه يجمع الرقمين بكل بساطه وسهوله كالاتي function master(n1,n2) local result=n1+n2 end طيب الحين بعضكم بيسال وش فايدة local بقولك شفت السطر حق function master(n1,n2) الى السطر حق end هذي result بتكون متعرفه فيها فقط يعني ما يطلع برا الفنكشن مثلا يعني لو جينا كتبنا بعد end outputChatBox(result,root) راح يردلك قيمة result=nil وش معناها اي انها قيمه فارغه او مجهوله مهب معرفه لكن لو كتبتها قبل كلمة end راح يقولك قيمة جمع الرقمين اللي هو 5+4=9 بيطلعلك بالشات 9 تمام الحين انتهينا من قصة اللوكال طيب وش سوينا في هذي الخطوة اللي سويناه ان احنا سوينا متغير محلي واللي هو result وخزنا داخله قيمة5+4 او اي رقمين تحطونهم انتم مثلا طيب الحين عندنا الناتج وش نسوي عشان الفنكشن ماستر يرجع لنا الناتج عشان نقدر نعرف ناتج الرقمين الحين يجي دور return اللي سوينا السالفه ذي كلها عشانها بيكون كذا الشكل النهائي للفنكشن function master(n1,n2) local result=n1+n2 return result end تمام الحين نشوف استخدام الفنكشن يصلح بطريقتين طريقه مباشره وعن طريق تخزينه في متغير -------------------------طبعا عشان الفنكشن يصير شغال يجب ان تحط الكود حقك في اول الملف function master(n1,n2) local result=n1+n2 return result end ------------------------------------نبدا بالطريقه المباشرة addEventHandler('onPlayerJoin',root,function() outputChatBox(master(20,10),root) end) ------------------------------------الثانية عن طريق تخزينه في متغير addEventHandler('onPlayerJoin',root,function() local new=master(20,10) outputChatBox(new,root) end) وفي الختام اتمنى اكون افدتكم واعذروني لو قصرت تقبلو تحياتي اخوكم Master +_+
    1 point
  29. Section Rules 1. Any fulfilled requests or discarded offers shall be reported via the report system in order to be locked and/or archived. This is mandatory, as the goal is to keep this section as clean and accurate as possible. 2.Topics must have a sufficient description of what are you offering or looking for. Eg. if you're looking for a scripter for your gamemode, you must detail what would you need the scripter for. This doesn't exactly involve giving away the whole concepts or whatever you don't want to disclose to the public, but it would be appreciated if you could include more details than just straight single line offers, such as "I need a scripter for a zombie gamemode". Whether or not the amount of detail is sufficient for the nature of your request is a subject to moderator judgement, and failing to meet criteria may result in your post being discarded. Formatting your topic In order to keep the section clean, accurate and easily viewable, it would be appreciated if you could use the following guidelines for your topic: 1. Topic titles should have the form [LF/OFFERING] Brief description [Paid/Non-Paid]. Please make the description as brief as possible here. Eg: [OFFERING] Skilled scripter [Paid] [OFFERING] Rookie modeller looking for some practice [Non-paid] [LF] Any-level scripter for a small server [Non-Paid] 2. The first post should be written in at least 2 parts: first part should contain a brief description of yourself (and/or the server or community you are from) second part should elaborate on what are you requesting/offering, once again, as detailed as you possibly can/want
    1 point
  30. متى تكبرون على هالحركات؟
    0 points
  31. ما اتوقع يكون ولو يكون بيكون فقط تغير رقم
    0 points
  32. هذا المطلوب منتدى ولا موقع اغلاق ولا فتح المطلوب ولا المرفوض ه ه ه ه ألمرفوض ولا المقبول المقبول ولا المقفول المقفول ولا المفتوح
    0 points
×
×
  • Create New...