Jump to content

هل يوجد كود يغلق جميع اغاني مابات الريس ؟


DeLTon

Recommended Posts

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

اخباركم ان شاء الله طبين

المهم : -

الموضوع واضحح من عنوانه

هل يوجد كود او مود , يغلق جميع اغاني مابات الريسس

الحين يجي واحد يقول , طيب يضغط زر

m او z

عشان تطفي الاغنيه

لا انا ابغى حركه تطفي جميع الاغاني بكود

Link to comment
addEventHandler("onClientSoundStarted",root, 
    function(reason) 
        if reason == "play" then 
            for index,sound in ipairs(getElementsByType("sound")) do 
                stopSound(sound) 
            end 
        end 
    end 
) 

Link to comment
addEventHandler("onClientSoundStarted",root, 
    function(reason) 
        if reason == "play" then 
            for index,sound in ipairs(getElementsByType("sound")) do 
                stopSound(sound) 
            end 
        end 
    end 
) 

الله يعطيك الف عافيهه

مشكوور والله مرره , ضبط الله يسعدك

Link to comment
addEventHandler("onClientSoundStarted",root, 
    function(reason) 
        if reason == "play" then 
            for index,sound in ipairs(getElementsByType("sound")) do 
                stopSound(sound) 
            end 
        end 
    end 
) 

الله يعطيك الف عافيهه

مشكوور والله مرره , ضبط الله يسعدك

:D حياك الله

Link to comment
addEventHandler("onClientSoundStarted",root, 
    function(reason) 
        if reason == "play" then 
            for index,sound in ipairs(getElementsByType("sound")) do 
                stopSound(sound) 
            end 
        end 
    end 
) 

الكود سيرفر ولا كلنت .؟

Link to comment
addEventHandler("onClientSoundStarted",root, 
    function(reason) 
        if reason == "play" then 
            for index,sound in ipairs(getElementsByType("sound")) do 
                stopSound(sound) 
            end 
        end 
    end 
) 

الكود سيرفر ولا كلنت .؟

client

Link to comment
addEventHandler("onClientSoundStarted",root, 
    function(reason) 
        if reason == "play" then 
            for index,sound in ipairs(getElementsByType("sound")) do 
                stopSound(sound) 
            end 
        end 
    end 
) 

الكود سيرفر ولا كلنت .؟

client

مشكور ربي يسعدك يالذيب

بالتوفيق

Link to comment

^^ + اذا تبي تعرف تفرق هذا الكود كلنت ولا لا من الالوان

شوف الفنكشن مثلا ذة

stopSound 

احمر = كلنت

warpPedIntoVehicle 

برتقالي = سيرفر

getElementsByType 

ازرق = سيرفر وكلنت

Link to comment

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...