Jump to content

koko.m.t.a

Members
  • Posts

    79
  • Joined

  • Last visited

Posts posted by koko.m.t.a

  1. تفضل اخي شوف هالموضوع

    https://forum.multitheftauto.com/viewtopic.php?f ... 9&p=762375

    رح تحصل في طلبك

    موفق

    يعطيك الف عافيه الكود نفس اللي الاصلي اللي معي

    و تابل لو تلاحظ رده هنا

    عيب الطريقة ذي كل مرة تخش السيرفر رح تحمل الملفات من جديد

    لو عندك استطاعه تعدل الكود اكون شاكر لك

  2. ياليت تعدل كودك وترتبه وتخليه بمحرر

    Lua

    واشرح لنا ايش المود وايش الي تبي تسويه وايش المشكلة الي واجهتك

    على شان نعرف نساعدك

    حياك الله اخوي

    بالنسبه للكود يعتبر معدل لاني نسخته مباشره من محرر lua

    المود طال عمرك يخلي الموتر ينزل بجهاز اللاعب بدون صور منعا للسرقات

    لكن كان عيبه اذا خشيت السيرفر وحملت المواتر و رجعت طلعت من السيرفر وخشيت يبتدي يحمل من جديد

    طبعا كلمت اللي نزل الكود عشان يعدل ويكون تحميله مره وحده بكل الاحوال عدل فيه لحد ذي النقطه واعتذر يكمل عشان ضيق وقته والاختبارات

    لو تحب انزل الكود الاساسي قبل ما يعدل ابشر

  3. السلام عليكم ورحمة الله و بركاته

    اخواني معي هالكود

        filePath = { 
        { "533.txd", 533 }; 
        { "533.dff", 533 }; 
        { "526.txd", 526 }; 
        { "526.dff", 526 }; 
        { "547.txd", 547 }; 
        { "547.dff", 547 }; 
        { "550.txd", 550 }; 
        { "550.dff", 550 }; 
        { "559.txd", 559 }; 
        { "559.dff", 559 }; 
            -- { "filePath", ID }; -- مثال لوضع سيارات اخرى بالجدول 
        }; 
          
        modelID = {  }; 
          
        function checkTransfer (  ) 
            if isTransferBoxActive (  ) == false then 
                setTimer ( checkTransfer, 1000, 1 ); 
            else 
                for i, v in ipairs ( filePath ) do 
                    local file, ID = v [ 1 ], v [ 2 ]; 
                    if not modelID [ file ] then 
                        downloadFile ( file ); 
                        modelID [ file ] = ID; 
                    end 
                end 
            end 
        end 
    addEventHandler ( "onClientResourceStart", resourceRoot, checkTransfer ); 
      
    addEvent("onClientFileDownloadComplete",true) 
    addEventHandler ( "onClientFileDownloadComplete", root, 
            function ( file, success ) 
                if success then 
                    local ID = modelID [ file ]; 
                    if ID then 
                        if string.find ( file, ".txd" ) then 
                            txd = engineLoadTXD ( file ); 
                            engineImportTXD ( txd, ID ); 
                        end 
                        if string.find ( file, ".dff" ) then 
                            dff = engineLoadDFF ( file, ID ); 
                            engineReplaceModel ( dff, ID ); 
                        end 
                        modelID [ file ] = nil; 
                        
                        local resourceName = getResourceName ( getThisResource (  ) ); 
                        local file_ = fileCreate ( ":" .. resourceName .. "/" .. file ); 
                        if file_ then 
                            fileWrite ( file_, "This Private File .." ); 
                            fileClose ( file_ ); 
                        end 
                    end 
                end 
            end 
        ); 
    

    محتاج ترايقر مدري وش بالضبط على كلام اللي ضبط الكود لي لحد الان

    كلامه بالاصح

    هيشتغل والباقي عليك

    سوي ترايقر افنت

    من نفس المكان فقط

    https://wiki.multitheftauto.com/wiki/TriggerEvent

    لاهنتو ممكن احد يكمله لاهنتم

    صوره من الخطاء حاليا عند تشغيل المود

    p_132mykj1.png

    لاهنتم ياليت احد يكمله لي ربي يجزاكم خير

  4. The man barley speaks any English give him a break, not his fault google translate translated it like so.

    koko.m.t.a

    badalaan min tahmil almilaffat min khilal albarnamaj alnnasi 'iidafatan ma yali 'iilaa milaff .meta alkhass bik

      
    <download_priority_group>-1</download_priority_group> 
    

    Possible your Skype account

  5. calm down guys, @koko.m.t.a i already gave you the solution so try to do it by yourself.

    Dear No I do not have any programming experience

    ..

    I have a conversation (ccw) and he said that I seek help from the following link

  6. bf9726bf80.png

    You could edit the code ?

    "You could edit the code ?" = a very arrogant way of asking somebody his help

    Instead of that, you can ask it like this: "Can you pls help me with editing the code, so that I understand what I have to change?"

    If you don't know anything about LUA, you shouldn't ask this in the first place, but follow a tutorial first, study examples and ask specific LUA questions.

    Method of arrogance !!

    My dear, I did not mean to be a very arrogant way because I do not speak English only used only do I use the translator

  7. Hello

    I ask you to help me add the following code verification

    CODE

    filePath = { -- جدول 
        { "443.txd", 443 }; 
        { "443.dff", 443 }; 
        -- { "filePath", ID }; -- مثال لوضع سيارات اخرى بالجدول 
    }; 
      
    modelID = {  }; -- جدول 
      
    function checkTransfer (  ) -- وظيفة تحقق من التحميل الخاص بالسيرفر 
        if isTransferBoxActive (  ) == true then -- اذا كان التحميل ماخلص 
            setTimer ( checkTransfer, 1000, 1 ); -- يعيد التحقق بعد ثانية 
        else -- اذا كان ينافي الشرط 
            for i, v in ipairs ( filePath ) do --لوب للجدول لاحظار جميع القيم filePath 
                local file, ID = v [ 1 ], v [ 2 ]; -- متغير لقيم الجدول 
                if not modelID [ file ] then -- يتحقق ان الملف ليس بالجدول modelID 
                    downloadFile ( file ); -- نحمل الملف 
                    modelID [ file ] = ID; -- وقيمتها اي دي السيارى modelID نضع متغير بالجدول 
                end -- اغلاق التحقق ان الملف ليس موجود 
            end -- end تحتاج do اغلاق اللوب لان 
        end -- الغاء التحقق من التحميل الخاص بالسيرفر 
    end -- checkTransfer اغلاق الوظيفة 
    addEventHandler ( "onClientResourceStart", resourceRoot, checkTransfer ); -- وضع حدث عند تشغيل المود وربطه بفنشكن checkTransfer 
      
    addEventHandler ( "onClientFileDownloadComplete", resourceRoot, -- حدث عند اكتمال التحميل 
        function ( file, success ) -- وظيفة للحدث 
            if success then  -- (ربما التحميل تجي فيه مشاكل) التحقق من نجاح عملية التحميل 
                local ID = modelID [ file ]; -- احظار الملف من الجدول 
                if ID then -- اذ كان موجود حقا 
                    if string.find ( file, ".txd" ) then -- نتحقق ان اسم الملف به txd 
                        txd = engineLoadTXD ( file ); -- احظار txd 
                        engineImportTXD ( txd, ID ); -- تشغيل txd 
                    end -- اغلاق التحقق من وجود اسم الملف txd 
                    if string.find ( file, ".dff" ) then -- نتحقق ان اسم الملف به dff 
                        dff = engineLoadDFF ( file, ID ); -- احظار dff 
                        engineReplaceModel ( dff, ID ); -- تشغيل dff 
                    end -- اغلاق التحقق من وجود اسم الملف dff 
                    modelID [ file ] = nil; --  فارغة modelID وضع قيمة اللف بالجدول 
                    
                    local resourceName = getResourceName ( getThisResource (  ) ); -- احظار اسم المود الشغال حاليا 
                    local file_ = fileCreate ( ":" .. resourceName .. "/" .. file ); -- صنع ملف 
                    if file_ then -- يتحقق من نجاح عملية صنع الملف 
                        fileWrite ( file_, "This Private File .." ); -- كتابة بالملف 
                        fileClose ( file_ ); -- اغلاق الملف 
                    end -- اغلاق التحقق من نجاح عملية صنع الملف 
                end -- اغلاق التحقق من وجود اسم الملف بالجدول modelID 
            end -- اغلاق تحقق من نجاح عملية التحميل 
        end -- اغلاق الوظيفة 
    ); -- (كل قوس فتح له قوس اغلاق تذكر هذا دائماً) قوس اغلاق الحدث 
    

    Please add functionality isChekBoxTransfertActive With CODE

    https://wiki.multitheftauto.com/wiki/Is ... rBoxActive

  8. آلسسلآم عليكم ورحمةة آلله وبركآته . . .

    آسم آلسيرفر .

    ≈[M.K]≈[ سيرفر ملوك الهجوله ]≈[KsA]≈[ سعودي هجوله ]≈[M.K]≈

    اصحاب السيرفر

    دمار511 .. اوسكار .. شايب .. طوفان .. جنزر

    قوآنين آلسيرفر .

    يمنع آلتخريب مثل آلعكس ووو ...

    يسمح بطلب الادمنيه بعد تواجد اكثر من 10 ساعات

    يمنع آلشتم آو آلسب

    يجب آحترآم جميع الزوار و الادمنيه

    آلخ...

    آصدآر آلسيرفر .

    1.5

    نوع آلسيرفر .

    هجوله

    عدد لآعبين آلسيرفر .

    300 لاعب قابل للزياده تلقائيا

    صور آهم آلمآبآت وآلمودآت آلموجودة بآلسيرفر .

    البدايه

    p_1124b3x1.png

    p_112e0b11.png

    السينما

    المدخل

    p_112dxji1.png

    داخل السينما

    p_112jlhz2.png

    قاعة الجلوس

    p_112ssd51.png

    شاشة العرض

    p_11291c52.png

    المودات

    F1

    p_112iq0j1.png

    F2

    p_112xj822.png

    F3

    p_112pln61.png

    F5

    p_112qd2q2.png

    F6

    p_1122jcx1.png

    F7

    p_112icxc2.png

    F9

    p_112jywo1.png

    F10

    p_1125ner2.png

    حرف M

    p_112nutz1.png

    للعثور على آلسيرفر , آكتب في آلبحث .

    M.K | او | ملوك الهجوله

    ip: mtasa://158.69.30.136:27117

×
×
  • Create New...