Jump to content

αвυ-wαleed

Members
  • Posts

    495
  • Joined

  • Last visited

Posts posted by αвυ-wαleed

  1. وابغى سؤال ثاني اذا انا حطيت ردار في سيرفر

    وواحد عدل على ملف اللعبه عنده وغيرة

    اذا دخل سيرفر اش يطلع له ؟؟

  2. جنرال كودك مدري اش الخطا اللي فيه

    لكن تابل البوابة اذا فتحتها يشتغل الصوت ويطلع الكلام

    لكن اذا قفلتها مايطلع الكلام ولا الصوت

    تابل كاتبة كذا فما اشتغل

    function movingMyGataBack()

    انا اضفت ارقمنت

    function movingMyGataBack(player)

    والف الف شكر ياتابل وجنرال منكم نتعلم

  3. الكود هذا فتح بوابة بكلمة

    كلما سويت ترايقر للكينت عشان يطلع صوت اذا فتحت البوابة او قفلت

    يجي اخطاء اتمنى التصحيح

      
    function createTheGata () 
             myGate2 = createObject ( 980, 489.5, -2499.1000976563, 3.0999999046326, 0, 0, 90 ) 
          end 
          addEventHandler ( "onResourceStart", getResourceRootElement ( getThisResource () ), createTheGata ) 
     function openMyGata ( ) 
     moveObject ( myGate2, 1500, 489.5, -2499.1000976563, -3.0999999046326, 0, 0, 0 ) 
    exports['topbarchat']:sendClientMessage ( "تم فتح البوابة ", root, 255, 255, 255, true ) 
      triggerClientEvent("ee",getLocalPlayer())   
     end 
     addCommandHandler("O",openMyGata) 
      
     function movingMyGataBack () 
     moveObject ( myGate2, 1500, 489.5, -2499.1000976563, 3.0999999046326, 0, 0, 0 ) 
    exports['topbarchat']:sendClientMessage ( "تم إغلاق البوابة ", root, 255, 255, 255, true ) 
        triggerClientEvent("ee",getLocalPlayer())   
     end 
     addCommandHandler("C",movingMyGataBack) 
      
    

    client

      
      
    addEvent ( "ee", true ) 
      
    addEventHandler ( "ee", root, 
      
        function ( ) 
       aa = playSound("abu1.mp3",false) 
            end 
        end 
    ) 
      
    

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

    طلبي هو :

    1- كيف اضع الازرار على الصورة

    2- كيف اغير شكل الزر الى صورة بدال اضغط على زر اضغط على صورة

    ويطلع عليها نور

    كيفية تغيير شكل النافذة انا اسوي نوافذ يجي لها شكل واشوف في موددات شكلها غير الايطار -3

    4- تحريك النفاذة او الصورة

  5. addEventHandler( "onClientGUIClick", resourceRoot, 
     function( ) 
        if ( source == abu ) then 
    guiSetVisible (abu1, false) 
        end 
    end) 
    

    عدل

    abu اسم الزر

    abu1 اسم اللوحة

  6. أطرح كودك
      
      
    local abu = createMarker (x, y, z, "cylinder", 8, 255, 0, 0 ) 
    addEventHandler ( "onMarkerHit", abu, function ( player ) 
       if getElementType ( player ) == "player" then 
    exports['topbarchat']:sendClientMessage ( "مرحبا بك ", player,255, 255, 0, true ) 
       end 
    end 
    ) 
      
    function createTheGate () 
             myGate1 = createObject ( 980, x, y, z, 0, 0, 0) 
          end 
          addEventHandler ( "onResourceStart", getResourceRootElement ( getThisResource () ), createTheGate ) 
     function openMyGate ( ) 
     moveObject ( myGate1, 1500, x, y, z, 0, 0, 0 ) 
    exports['topbarchat']:sendClientMessage ( "تم فتح البوابة", root,00, 255, 255, true ) 
    destroyElement (abu) 
     end 
     addCommandHandler("F",openMyGate) 
     function movingMyGateBack () 
     moveObject ( myGate1, 1500, x, y, z, 0, 0, 0 ) 
    exports['topbarchat']:sendClientMessage ( "تم إغلاق البوابة ", root, 0, 255, 255, true ) 
    local abu = createMarker (x, y, z, "cylinder", 8, 255, 0, 0 ) 
      
     end 
     addCommandHandler("E",movingMyGateBack) 
      
      
    

  7. صلحت بوابة تنفتح بكلمة وتقفل بكلمة

    وسويت جنب البوابة ماركر يطلع منه كلام

    حطيت اذا فتحت البوابة يختفي الماركر

    واذا قفلت البوابة يظهر الماركر

    واذا فتحت البوابة ثاني مرة ما يختفي الماركر ليه ؟؟

    ابغاه كل مرة افتح يختفي وكل مرة اقفل يظهمر

×
×
  • Create New...