Jump to content

طلب تعديل على كود


MR.Su1T4N

Recommended Posts

  
addEventHandler("onClientGUIClick", root, 
    function() 
        if(source == GUIEditor.button[1])then 
            if(sound)then return end 
            sound = playSound3D("http://dc73.gulfup.com:82/AFjv6.mp3",true)  
        elseif(source == GUIEditor.button[10])then  
            if(sound)then  
                stopSound(sound) 
                sound = nil  
            end 
        end 
    end 
) 

ابيه يصير رابط

Link to comment
طيب حطية بس مو راضي

meta

    "Su1T4N" version="1.0.3" type="script" name="Sound With Url" description="Sound With Url" /> 
    

# Client Side

addEventHandler("onClientGUIClick", root, 
    function() 
        if(source == GUIEditor.button[1])then 
            if(sound)then return end 
            sound = playSound3D("Url",true) 
        elseif(source == GUIEditor.button[10])then 
            if(sound)then 
                stopSound(sound) 
                sound = nil 
            end 
        end 
    end 
) 

# لرابط الصصوت Url بدال ..

# + وحط فيه الكود ذذ client.lua خلي الملف حق الكلنت اسمه

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...