Jump to content

Leaderboard

Popular Content

Showing content with the highest reputation on 13/08/18 in all areas

  1. الكلام أسهل من الفعل مدري أبلغ مدري والله زمان سويناها بمجمتع العرب فوق 13 مبرمج كلهم اجتمعو كنا فالسكايب على ايامها خمس مبرمجين الي من منجد اشتغلو والباقيين يسولفون ويعطون رأيهم غير المشاكل بين المبرمجين وبالفعل فكينا السيرفر لكن ماجا ولا زائر الزوار هم المبرمجين نفسهم لكن الشيء الكويس ان الاف تي بياو الاستضافه كانت مع اثنين فقط لكن بالنهايه ماظبط وقفلناه وبس.. بس اتوقع لو في احد يدير القروب ويدير المبرمجين كان ممكن يظبط بس محد يرضى يشتغل تحت رأي أحد بالتوفيق لك .
    3 points
  2. مرحبا جنتول كيف حالك انا محظور في k6 يمكنك من فضلك امنحني من k6 والله سعدني فك باند نكك في سيرفر k6 DNDon والله سعدني فك باند والله سعدني فك باند
    2 points
  3. اخوي سوي createPed بملف يكون بـ client side
    2 points
  4. السلام عليكم .. رحمة الله بركاتة = كيف حالكم يا شباب .. ان شاء لله تكونو بخير . اليوم نشرت المود المنتطر بشدة .. * مود : شراء الرتب بـاللفل (لسيرفرات الزومبي)ء * اضافة مود : توزيع [EXP] * صورة .. * ~ * لتعديل علي ملف Settings * السطر الاول : السريال , اضافة يمكنك اضافة السريال مشان تستطيع فتح لوحة توزيع الاكس بي * السطر العاشر : تعديل الماركر , ازالة .... * لو تريد الماركر . ضع الاحداثيات المكان التي تريد تضع بة الماركر لو لا تريدها .. فقط اتركها x,y,z [ انتبة .. لو حذفت الكود سيحدث اعطال بالمود ] * تعديل key , لو تريد فتح اللوحة من الزر ضع الزر الذي يعجبك مثال : [ F7 ] لو لا تريد الزر فقط اتركة "", = اذا حذفت السطر التي بة الزر سيحدث اعطال للمود * تعديل KEY: EXP لو تريد تغيير اوامر فتح توزيع الاكس بي .. مثال GiveO [ تحذير اذا كتبت F7 مارح يشتغل لانة اوامر F8 ] * السطر 15 : اضافة رتب مثال {"level 1","Level1","10"}, انتبة .. : Level1 هو الرتبة الموجودة في الاسل .. اذا هذة الرتبة ليس موجودة في الاسل حقك .. ازالة وضع كل الموجود بالاسل حقك .. * - اذا مافهمت شئ .. شاهد الفيديو : # TEAM DEAD PLUS - التحميل - #Top4top : سبحان الله وبحمدة , سبحان لله العظيم community.mtasa : الله اكبر - اذا حدث اي مشكلة بالمود .. يرجي ابلغني فورا - اهداء : N3xT , Himoo , Ahmed.Ly . 999+ كلهم في القلب .. وربنا يعلم اني احبكم كتيرر - جميع الحقوق المحفوظة : تيم ديد بلس - All rights reserved : Team Dead Plus (c) 2018 # سبحان لله وبحمدة , سبحان الله العظيم , ادعيلي ياصديقي فاانا متعب جدأ
    1 point
  5. Here i's SAPG DayZ gamemode . Customed DayZ gamemode with lot of cars, skins e.t.c Bases mappings and gate scripts on groups and serials Some new features and scripts Download Link : MEGA If you downloaded and this topic was useful for you leave thubs up
    1 point
  6. Hi there! Time sure flies fast, doesn't it? It has been a while since the last post from us so we would like to give you an update on what has been going on recently with MTA:SA. We have got two highlights for you this time. The community Do you remember our Community website? It has served us well over the years but has also caught some rust in the process. Therefore, we would like to re-visit it and improve your experience with discovering and publishing resources. Our plan is to build a new community website from the ground up using modern technologies, and we would like to hear from you what you would like to see on the new platform. Please respond to this thread with your ideas and suggestions. Technically inclined users can take a look at the first pass of our specification document. Development progress As for the mod itself, we have received many pull requests (patch contributions) on our GitHub from open source contributors lately. One of such contributions is a brand new feature: custom IFP animations support, coming from one of our community members, Saml1er. He managed to get this to work nicely in MTA:SA, while ensuring that our coding standards are met so we could include it without too much hassle. Saml1er even made a video which showcases what this feature is all about. You can find it below: We intend this to be a part of our upcoming 1.5.6 release which we hope will come soon, but you can try it out now by using a nightly build: https://nightly.multitheftauto.com/ Tips for using this can be found on our wiki: https://wiki.multitheftauto.com/wiki/EngineLoadIFP That's all for now. Take care and enjoy the summer! — MTA Team
    1 point
  7. محد ضربك وقالك بالاسم تعال قال اللي يبي ينضم يجي خاص ماقال بالله ي هيمو نحتاج برمجتك الخرافيه تعال فهمت؟ ههههههههههههههههههههههههههههههههههههههههههههههههههههههههههههههههههه
    1 point
  8. 1 point
  9. انتم لسا فاكرين المشكلة اتحلت من ايام ابو لهب
    1 point
  10. I'm not the one who helped, but this community is about this. Feel completely free to ask about anything realted to scripting!
    1 point
  11. onClientRender is an event, you have to handle with addEventHandler. addEventHandler("onClientRender", root, functionToCall); In the function it will call: function fadingImages() dxDrawImage(500, 500, 250, 250, "image1.png", 0, 0, 0, tocolor(255, 255, 255, 255), false); -- This line will draw the image (image1.png) on your monitor. It's left top corner will be at (500;500) pixel position and it will spread to the right 250 pixels and down 250 pixels. So it's right bottom corner will be at (750;750) pixel position on your screen. To make it transparent, you have to change the 4th, Alpha value in the tocolor function ( R(ed)G(reen)B(lue)A(lpha) ). end onClientRender gets called every time your PC refreshes/renders the game. If you play at 60 FPS(Frames per second), it means it gets called 60 times per second. Now using this knowledge you can make what I recommended: This code is NOT tested! Images = { {"image1.png", 255}, {"image2.png", 0}, }; function fadeImages() -- || This part will do the transparency changes || -- if (Images[1][2] > 0) then -- If the transparency of the first image is greater than none, we subtract 1 from it's value, making it more transparent. Images[1][2] = Images[1][2]-1; end if (Images[2][2] < 255) then -- If the transparency of the second image is less then full, we add 1 to it's value, making it less transparent. Images[2][2] = Images[2][2]+1; end -- Doing the part above, will result in the two images changing each other with a fade effect. -- || This part will draw the 2 images on top of each other || -- dxDrawImage(500, 500, 250, 250, Images[1][1], 0, 0, 0, tocolor(255, 255, 255, Images[1][2]), false); dxDrawImage(500, 500, 250, 250, Images[2][1], 0, 0, 0, tocolor(255, 255, 255, Images[2][2]), false); end addEventHandler("onClientRender", root, fadeImages);
    1 point
  12. lol you can download for free gamemode with that features. little know of .lua and done.
    1 point
  13. 1 point
  14. تسلم يدك يا بطل
    1 point
  15. executeSQLQuery('CREATE TABLE IF NOT EXISTS Programed (PlayerSerial,PlayerAccount)') addEventHandler('onPlayerLogin',root, function(_,Account) local CheckData = executeSQLQuery('SELECT * FROM Programed WHERE PlayerSerial = ?',getPlayerSerial(source)) if (type(CheckData) == 'table' and #CheckData == 0 or not CheckData) then executeSQLQuery('INSERT INTO Programed (PlayerSerial,PlayerAccount) VALUES(?,?)',getPlayerSerial(source),getAccountName(Account)) outputChatBox('Saved',source,0,255,0,true) else executeSQLQuery('UPDATE Programed SET PlayerSerial = ?,PlayerAccount = ?',getPlayerSerial(source),getAccountName(Account)) outputChatBox('Updated',source,0,255,0,true) end end ) اذا بتخزن الحساب خزن اسم الحساب وليس الحساب نفسه بوظيفة getAccountName + getPlayerAccount بالحدث حق onPlayerLogin فيه بارمتر الحساب الي سجل دخوله مالها داعي تستخدم getPlayerAccount لان فيه برامتر يفي بالغرض
    1 point
  16. انا ليس لدي اي خبرة مع برمجة سرفرات ام تي اي سان اندريس لكن انا اعمل و ابرمج ام تي ايه فايس سيتي و 3 مش سيرفرات. مع المود نفسه هو فيه اقتراح ممكن ييفيد انت عايز تلم كل المبرمجين في مشروع واحد هيبقى في مشاكل و هي صعوبة الادارة زي ما قال Black بس مثلا المشاريع الكبيرة بيشتغلوا ازاي؟ في حاجة اسمها Git جيت المفروض معظمكم يكونون عرفينها هي لادارة النسخ يقدر كل واحد يشوف الكود عشان يتعلم, او يساعد, موضوع الجيت كبير و مقدرش اشرحه في بوست, اظن هو ده هيفيد.
    1 point
  17. الله يعافيك اتمنى اني ساعدتك
    1 point
  18. بوجودك. وياك الله يسهل عليك ويعينك
    1 point
  19. منور ركان + بالتوفيق لك في حياتك ولله يولد انا كنت مثلك كنت هعتزل عشان الدراسه بس هخلص لهم الاأصدار و اعتزل
    1 point
  20. VPS اكيد خادم مو استضافه لكن يسوي حساب مثلا بالخادم resource اما كل واحد له مجلد خاص فيه مو كويسه .. عشان كذا قلت مبرمجين كويسين وتفاهم بينهم وثقه لأن نفس الكلام بدون ثقه م بحط بمجلدي بس وشخص معه الخادم كامل يصير فيه إنعدام ثقه - لذا قلت اشخاص متفاهمين وقليل حتى لو مثلا انا كان مستواي بالنسبه للمبرمجين الباقين مو كويس عادي مو لازم ادخل الفريق اهم شي نجاح السيرفر
    1 point
  21. مرحباً , كنت فاضي اليوم وجات ببالي فكرة وظيفة مدري هي مفيدة او لا , المهم الوظيفة تجيب لك حالة المركبة , لو كانت منحرقه او لا . Source Code : function isVehicleFire ( vehicle ) if ( vehicle and isElement ( vehicle ) and getElementType ( vehicle ) == "vehicle" ) then return ( math.floor ( getElementHealth ( vehicle ) ) <= 249 and true or false ) end end vehicle : المركبة الي تبي تحقق هل هي منحرقة او لا Ex : function isVehicleFire ( vehicle ) if ( vehicle and isElement ( vehicle ) and getElementType ( vehicle ) == "vehicle" ) then return ( math.floor ( getElementHealth ( vehicle ) ) <= 249 and true or false ) end end addCommandHandler ( "checkCar" , function ( ) if ( getPedOccupiedVehicle ( localPlayer ) ) then outputChatBox("Vehicle Fire State : "..( isVehicleFire ( getPedOccupiedVehicle ( localPlayer ) ) and "Yes" or "No" )) end end ) اتمنى تكون مفيدة , بالتوفيق للجميع .
    1 point
  22. يب والله مشكلة تقول فكرة من هنا تلاقي اليوم اللي بعدوا واحد منزل الفكرة في قسم المودات ومسوي اهدائات كمان ض2
    1 point
  23. change localPlayer by getLocalPlayer() and 'client' by 'source'.
    1 point
  24. fetchRemote(loginURL['login'], formOptions, function(data, info, client) -- and this if info.statusCode == 200 then local fetchData = fromJSON(data) local errorCode = tonumber(fetchData['response_code']) if errorCode ~= 0 then triggerClientEvent(client, 'client:onClientLoginFail', client, authErrors[errorCode]) triggerEvent('server:onClientLoginFail', client, authErrors[errorCode]) else setElementData(client, 'account:id', tonumber(fetchData['account']['id'])) setElementData(client, 'account:username', tostring(fetchData['account']['username'])) end end end, "", false, client -- this )
    1 point
  25. @all باذن الله b.l-team له عوده قريبا كنت ابي اسويه مفاجاه لكن برضو في مبرمجين معتزلين بترجع معي برضو باذن الله قريبا وبنفتح طلب للتقديمات اما عن نقطة الاف تي بي فاحنا بناجر vps وليس سيرفر لذلك يمكننا صنع ملف مخصص لكل مبرمج وحساب خاص به ftp بحيث ما يقدر يشوف مودات الاخر او يحمله يكون التحكم في موداته الخاصه وصاحب الفكره فقط له الاداره على كل هذا صح ولا وش رايك @#CroSs كشفت عن الموضوع بدري اتوقع +_+
    1 point
  26. فكرتك حلوه بس مرح يتنجح ليه ؟ آسباب : كل مبرمج يبي يبرمج ع رحته وبنظامه والمبرمج ثاني يبي يسوي مود ثاني ومبرمج ثلاث تلقيه ميبي مبرمج ثاني يبرمج مود مثل كذا يعني رح يصير كل مبرمجين مرح يعرفو من هو المبرمج لى يبي يبرمج بافكره ولما المبرمج يسمع انو المبرمج برمج يصير في مشاكل لو فهمت شيء حط لايك
    1 point
  27. use SetObjectScale and setElementDoubleSided after creation.. the .map to LUA converter at http://mta.cemgokmen.com/converter/converter.php even features keeping scale and doublesizing information, for easy applying in batch. If you prefer tho, you can easily go back to using .map and utilize the LOD functionality in mapEditorScriptingExtension_s and mapEditorScriptingExtension_c (a common mistake of mappers is not retaining these files, or not using the neccesary setting "useLODs" on affected maps)
    1 point
  28. I know if I do this for you, you won't learn anything but... I want to help newbies. local allowedSerials = { ["SomeSerial"] = true, -- Change it to the players serial you want to grant access to /veh command --["SomeSerial2"] = true } addCommandHandler("veh", function(thePlayer, cmd, vehid) -- Adding 'veh' command handler if tonumber(vehid) then -- Check if the 'vehid' arg. is a number if allowedSerials[getPlayerSerial(thePlayer)] then -- Check if the player using the command have his/her serial in the table local vehname = getVehicleNameFromModel(tonumber(vehid)) -- Getting vehicle name if vehname ~= "" then -- If vehicle name is not an empty string local x, y, z = getElementPosition(thePlayer) -- Getting his/her positions local veh = createVehicle(tonumber(vehid), x, y+3, z) -- Creating the vehicle near the player if veh then -- If the vehicle created successfully outputChatBox("Created vehicle: "..vehname, thePlayer) -- Output the created vehicle's name end else outputChatBox("Please enter a valid vehicle model ID.", thePlayer) -- If the specified ID is not valid end else outputChatBox("You don't have access to this command.", thePlayer) -- If the players serial is not in the table end else outputChatBox("[SYNTAX]: /"..cmd.." [Model ID]", thePlayer) -- If the 'vehid' arg. is not specified or not a number end end) I wrote some comments, read it, hope you understand how it works!
    1 point
  29. Which error? Also make sure you can't encode the file while the resource is running.
    1 point
  30. @coNolel الراجل دخل اول بوست له علي موضوعك و يمدح فيك يعني انت هيك فوق خالص منور المنتدي يا رشيدي
    1 point
  31. معروف بالبرمجة انت ماشاء الله عليك انسان كامل بالبرمجه من ناحية الافكار - التصميم ،والسرعة ايضا بالتوفيق لك ..
    1 point
  32. Syntax bool setElementModel ( element theElement, int model ) لتغير سكين الاعب او موديل السيارة او موديل اوبجكت يعني ليس للاعب فقط مثال Required Arguments اول ارقيمونت : هو الاعب اللي تبي تغير السكين حقتوا او السيارة اللي تبي تغير الموديل حقتها او موديل اوبجيكت ثاني ارقيومنت : هو رقم الاوبجيكت سكين مودل الخ addCommandHandler("Skin",-- امر في اف 8 function(player) -- انشاء فنكشن Random = math.random(0,15) -- نجيب رقم من ال 0 ل 15 setElementModel(player,tonumber(Random)) -- نضع شخصية الاعب علي حسب الارقام الاختيار اللي فوق end -- اغلاق الفنكشن ) -- اغلاق الكوماند : مثال اخر addEventHandler("onPlayerJoin",root,-- ايفنت عند دخول الاعب السيرفر function() -- بداية الفنكشن setElementModel(source,0) -- جعل شخصيه الاعب لرقم 0 اي شخصيه سي جي end -- اغلاق الفنكشن ) -- اغلاق الحدث onMarkerHit attachElements
    1 point
  33. https://forum.multitheftauto.com/topic/32557-tut-php-sdk/
    1 point
  34. السلام عليكم ورحمة الله وبركاته getPlayersInVehicles ( int dimension ) فائدة الوظيفة, تجيب لك اللاعبين اللي بداخل السيارة من عالم معين function getPlayersInVehicles ( dimension ) local players = { } if ( dimension ) then local dimension = tonumber ( dimension ) if ( type ( dimension ) == "number" ) then for _, v in ipairs ( getElementsByType ( "player" ) ) do if ( getPedOccupiedVehicle ( v ) and getElementDimension ( v ) == dimension ) then table.insert ( players, v ) end end else outputDebugString ( "Bad argument @ 'getPlayersInVehicles' [Expected number at argument 1, got " .. type ( dimension ) .. "]", 2 ) return false end else outputDebugString ( "Bad argument @ 'getPlayersInVehicles' [Expected number at argument 1, got " .. type ( dimension ) .. "]", 2 ) return false end return players end القيمة ترجع لك جدول باللاعبين, نشوف مثال للإستخدام addCommandHandler ( "playersCount", function ( player, cmd, dim ) local players = getPlayersInVehicles ( dim ) outputChatBox(#players, player) end ) https://wiki.multitheftauto.com/wiki/GetPlayersInVehicles :صفحة الويكي وشكراً
    1 point
  35. اعذرني بس انت داخل تشوف التاجات ولا تلعب ؟
    1 point
  36. Welcome! Today I am coming to you with a little ad that would like to show you your upcoming mta dayz project (MTA International DayZ). There is a very strong desire to realize what no-one has ever seen. So say 'bump bombs'.So far, all this has just been realized and the project is just developing. There is currently a forum page that publishes all server news. The main goal now is to gather active users in the forum to be active players on the server opening. The forum will post server updates and updates with screenshots and everything else almost every day. If you are interested in MTA DayZ then please sign up for our forum and post something activity as much as possible from your part. If you have something, some ideas that could be implemented on the server safely with some of them in the "Recommendations" section of the forum. I look forward to the best and I wish you the same. Thank you for taking your time on this post and reading it. Good luck! http://mta-id.itp.lv/f/ (temporary domain)
    1 point
  37. local t={} ; i=1 local inputstr = 12548 for str in string.gmatch(inputstr, "%d") do t[i] = str i = i + 1 end print (t[3])
    1 point
  38. There is nothing Join my community : http://spree-gaming.com/forum/
    1 point
  39. اعجبني المود واعجبتني الفكره لكن فكرة ماستر ماحبيتها ان الحسابات تكون ارقام حتى لوهي واقعيه ياخي محد فاضي يحفظ رقمه وثانيا بسألك هل الحسابات تظهر كلها يعني كل من سجل حساب تظهر عندك؟ ولا بس الي داخل السيرفر لنه لو الحسابات كلها تظهر اتوقع بيصير تعليق بالسيرفراكلمك عن سابق تجربه وبرو لوتخلي كل شخص يسوي حساب او حسابين كحد اقصى كذا افضل المهم شغل رائع وجبار تحياتي لك .
    1 point
  40. How to make the picture if the player pressed the button left or right moving picture left and right means Press Left button = Next image Press right button = before image I want to understand how I want a script
    0 points
  41. من حق المشرفين التدخل وإقفال الموضوع بما ان الموضوع دخل في السياسة و الامور الدينية وهذا شئ ممنوع واتمني منك عدم تكرار ذلك مره اخري يغلق.!
    0 points
  42. الســــلام علــــــيـــكم ورحمة الله وبركاته كيفكم وش أخــــبـــاركم ..؟ أحب اقولكم أني اعتزلت اللعبه بسبب ظروف خاصه وخلاص ماعاد لي رجعه بشوف حياتي والصراحه تبي تفقدكم وأتمنى من الكل يسامحني واللي بخاطره شي يقوله وأنا من ناحيتي ماني شايل بقلبي على أحد وفي الختام أتمنى دعواتكم لي بالتوفيق والنجاح والسلام عليكم وهذا فيس للتواصل www.facebook.com/MR.TOUNSI1 أخوكم : MR.TOUNSI
    0 points
×
×
  • Create New...