Jump to content

Leaderboard

Popular Content

Showing content with the highest reputation on 20/10/17 in all areas

  1. بصراحة اسلوب هالشخص سيء جداً , فقط يريد حلول لمشاكله ومايبي طريقة الحل + هذا المثال على الاشخاص الي يبون كود جاهز فقط .. ولا نية لهم في التعلم فقط يبون ينسبون لهم الحقوق ويلعبون على الغير بأنهم مبرمجين فأتمنى عدم مساعدة اشخاص غير جادين في التعلم واسلوبهم سيء في التعامل !
    4 points
  2. Hello everyone, not to long ago I started working on one of my scripts, it's ages ago I started on it as U can see in the video, however, I decided to continue working on the script. I've always wanted to run a Festival event in-game before but never really pulled it off, lack of interest, lack of people and so on. I started a couple of years ago to animate one song manually, but if everyone wasn't synced with the track it got desynced for some clients. I thought of different ways to do it but ended up dropping it till not too long ago when I thought about it again. I started integrating wave-data to fetch the bass, pitch etc. This is what I came up with, let me know what u think, rate it, give me your feedback. All though note this video was taken early in the development of the sound data being fetched. Music's from a live stream as well, meaning no clients will ever be desynced. P.S, since I closed down my server, I'm considering to finish this script and release it to the public based on feedback.
    2 points
  3. بسم الله الرحمن الرحيم , سلام عليكم ورحمة الله وبركاته /: كيفكم شباب ان شاء الله تكونو بأتم الصحة والعافية : ) اليوم اقدم لكم مود مفيد جداً , ومطور من الاصدار الاول صور للمود : الباقي تشوفونه داخل المود تنبيه : المود مو مشفر بالكامل شفرت فقط اللوحة والحقوق , عشان الي حاب يتعلم من الاكواد التحميل : ============================================= https://up.top4top.net/downloadf-503vuqr01-zip.html ============================================= مميزات المود : 1- تقدر تعرف معلومات اللاعب من الجريد ليست دبل كلك على اللاعب المراد 2- تقدر تضيف وتحذف رتبة من عند اللاعب 3- تقدر تعدل على رتب الحساب من الاسم 4- المود يدعم العربي والانقليزي 5- اذا اللاعب ماعنده حساب راح يجيك رو في القروبات " - " 6- تقدر تتحكم بالرتبة الي تفتح اللوحة من ملف Server.lua 7- تقدر تتحكم في الزر من ملف Client.lua 8- الآن تستطيع ان تحدد السريال او بأسم الحساب او برتبته , ماذا يستطيع ان يرى من قروبات مثال : Roles = { -- أيش الرتب المسموحة الي يشوفها ؟ { "root","Admin","Moderator" }--, -- هذا يعني للجميع root --{ "D305ABA4B66524E3CD26D8432D38A333","Admin","Moderator" }, -- سريال --{ "Wifi","Admin","Moderator" }, -- باسم الرتبة --{ "Mohmmad","Admin","Moderator" } -- باسم الحساب } لا تخاف ( root ) : مايخلي اي واحد يفتح اللوحة,بل بالشخص الي فتح اللوحة وش بيقدر يشوف اذا كان سرياله مو موجود او اسم حسابه او الرتبة الي معه تقدر بسريال : وتحط جمبه الرتب الي تبيها تظهر او بأسم الرتبة : وتحط الرتب الي تبيها تظهر جنبه او بأسم الحساب تكتب اسم الحساب , وبعدها تكتب الرتب الي تبيه يطالعها عشان تعدل على ذا الشيء روح لملف ( Server.lua ) وعدل عليهم تنبيه مهم جداً : لازم تضيف المود في قروب الادمن بهذا الشكل : resource.1xAclByWifi الاهدائات : جبل من الناس لايحصون وانت منهم وسلام خير الختام : )
    1 point
  4. السلام عليكم ورحمة الله وبركاتة انشاء الله طيبين اليوم رجعت لكم بمود جديد والي هو مود توزيع الفلوس علي جميع الاعبين اتوقع المود منشور بس انا سويتة بفكرتي الخاصة وتصميمي الخاص صورة للمود : - لتغير زر فتح الوحة من ملف " Settings.lua " التحميل *Sailor الاهدائات : - iPrestege MR.GRAND Abu Solo iMr.WiFi..! #Himoo MR.S3D MR.SAAD MR.StoRm N3xT #Soking #BroSs AboOoD.Boy
    1 point
  5. السلام عليكم ، شرحنا اليوم عن وظيفة وضع رمز سري للسيرفر ! توضع في ملف سيرفر فقط ( Server Side ) هذه الوظيفة طبعا نشرح ارقيومنتات الوظيفة : bool setServerPassword ( string thePassword ) string thePassword : الرقم السري ويوضع بين علامة التنصيص ( ' '/ " " ) مثال على وضع رمز سري للسيرفر : addCommandHandler ( 'رمز' , -- اضافة امر function ( Player , _ , Password ) setServerPassword ( Password ) end ) الشرح كان بسيط واتمنى انه استفتدتم والسلام عليكم روحمة الله وبركاته .
    1 point
  6. Download: https://community.multitheftauto.com/?p=resources&s=details&id=14911 This is a totally new drift ranking/score system that saves the topscores to F5, and also offers a scoreboard ''Last/total/best drift'' add-in column like you might be used to (with old 'drft' resource). It saves topscores for both guests (without account) and registered players. The difference is tracking ''User'', a guest ID is linked to their serial in the Top50 database. (You don't have to worry about .db size, because it will only save 50 records and thus a limited max size) It saves to a .db, located at mods\deathmatch\databases\global > drift.db and you can add usernames that you want to exclude from ranking in the script (variable called excludedUsernames) for example if you don't want players tracking current admin's unfamiliar nicks by username, because F5 also lists usernames besides nickname.
    1 point
  7. for i = 1, #Blips do local blip = Blips[i] if isElement(blip) then destroyElement(blip) end end Please also take a look at: (which can come in handy if you want to destroy multiple elements in once) If you destroy a parent element, all child elements will also be destroyed.
    1 point
  8. MTASA/server/mods/deathmatch/internal.db
    1 point
  9. إستخدم بالداتا getPlayerFromName
    1 point
  10. Download: https://community.multitheftauto.com/?p=resources&s=details&id=14907 - /globalcena - Troll everyone on server - /cena [playername/part] (troll a specific player) - /stopcena (effect will last until stopped with this cmd) it will replace all world textures with johncena GIFs and sound the known meme track that belongs to it. Credits also to @Brophy, originally made by him for SAES server but now edited.
    1 point
  11. Always a solution: Reduce elementdata updates. Every time you call setElementData(without disabling synchronization), it will send data. (even if the value is the same) I often see people do this: (clientside) addEventHandler("onClientRender", root, function () local data = "random data" setElementData(localPlayer, "key", data) end) He, Frame 1: please update (16 ms later) Frame 2: please update (16 ms later) Frame 3: please update (16 ms later) Etc. Not even a second has past and you almost requested 62 UPDATES! (not sure if there is elementdata reduction clientside, but I don't think so) Which is IDIOTIC! (for the ones who do this, please go in your microwave) Which should/could be done like this: addEventHandler("onClientRender", root, function () local data = "random data" if data ~= getElementData(localPlayer, "key") then setElementData(localPlayer, "key", data) end end) Or this: (serverside) -- element could be a team for key, data in ipairs(example) do setElementData(element, "score", getElementData(element, "score") + 1) end Updating the score to 20? = Tell all clients/players 20x > "I have grown 1 more!" Which is stupid. Should/could be done like this. local score = getElementData(element, "score") or 0 for key, data in ipairs(example) do score = score + 1 end setElementData(element, "score", score)
    1 point
  12. بسم الله الرحمن الله الرحمن الرحيم سلام عليكم ورحمة الله وبركاته عندي شرح للتحققات مابين القوسين أو التحققات المصغرة , addEventHandler( "onClientGUIClick", root, -- سوينا حدث عند الضغط function ( ) -- وظيفة return ( source == aButton and outputChatBox ("لقد ضغطت على الزر") ) --[[ نسوي استرجاع مع تحقق مصغر اذا ضغط على الزر and , في التحقق المصغر == Then يعني كأنك كذا تسوي if source == aButton then outputChatBox ("لقد ضغطت على الزر") end بشكل مصغر !! ]] end ) طبعاً التحققات المصغرة غالباً تجي مع الريتورن !! اعطيك مثال ثاني addEventHandler ( "onPlayerWasted", root, -- سوينا حدث اذا اللاعب مات function ( _,killer ) -- تخطينا البارتمر الاول والي هو عدد الرصاصات + واخذنا البارتمر الثاني الي هو القاتل return ( killer == source and outputChatBox( "لقد قتلت نفسك" ) or outputChatBox( "لقد قتلك شخص آخر" ) ) --[[ سوينا استرجاع وتحققنا انه القاتل يساوي الي مات راح يرجعله outputChatBox( "لقد قتلت نفسك" ) or == else واذا ماقتل نفسه يرجعله outputChatBox( "لقد قتلك شخص آخر" ) ]] end ) إيه نعم , مثال : -- true = ترو -- false = فولس aWifi = false -- فولس aWifi نخلي قيمة function Check ( ) -- نسوي وظيفة بأسم Check local aWifi = ( aWifi == true and false or true ) -- نعرفه بتحقق --[[ اذا كان aWifi ترو راح يعرف قيمة aWifi فولس واذا ليس ترو راح يعرفه ترو ]] return tostring(aWifi) -- ونسترجع القيمة بـ النتيجة , ونحولها الى سترنق end outputChatBox( Check ( ) ) -- نظهره في شات وكان هاذي هي نهاية الشرح اذا عندك سؤال او استفسار تقدر تسئل في الموضوع + واذا عندك مثال اطرحه وسلام خير الختام
    1 point
  13. السلام عليكم شباب كيفكم ؟ اليوم جبت لكم لوحة ادمنية من تعديلي طبعا اللوحة محمية اللوحة انا تعبت تا صممتها والصراحةة انا لي 6ساعات اشتغل عليها تجميع اكواد وكذا لمهم رابط الفديو : ذا رابط التحميل http://www.mediafire.com/file/q4ujx1qjvhoz5pg/admin3.zip
    0 points
×
×
  • Create New...