Jump to content

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


MR.Su1T4N

Recommended Posts

وربي متاكد بس المشكله انه مايضغط

client

function guiCreateWindow(x,y,z,h,text,trfa) 
  
    local Window = guiCreateStaticImage(x,y,z,h,"sultan alhrby.png",trfa) 
  
    local Text1 = guiCreateLabel(0,0,250,100,text,false,Window) 
  
    guiSetEnabled(Text1,false) 
  
    return Window 
  
end  
GUIEditor = { 
    button = {}, 
    window = {}, 
    label = {} 
} 
addEventHandler("onClientResourceStart", resourceRoot, 
    function() 
        GUIEditor.window[1] = guiCreateWindow(271, 136, 298, 284, "", false) 
        guiWindowSetSizable(GUIEditor.window[1], false) 
        guiSetAlpha(GUIEditor.window[1], 1.00) 
        guiSetProperty(GUIEditor.window[1], "CaptionColour", "FF000000") 
  
        GUIEditor.button[1] = guiCreateButton(200, 75, 85, 32, "اهل الاول", false, GUIEditor.window[1]) 
        GUIEditor.button[2] = guiCreateButton(10, 117, 85, 32, "الاصلاتي", false, GUIEditor.window[1]) 
        GUIEditor.button[3] = guiCreateButton(105, 117, 85, 32, "الله يديم الفرح", false, GUIEditor.window[1]) 
        GUIEditor.button[4] = guiCreateButton(200, 117, 85, 32, "يا نسمت العمر", false, GUIEditor.window[1]) 
        GUIEditor.button[5] = guiCreateButton(200, 29, 85, 32, "~@ إغـلاق @~", false, GUIEditor.window[1]) 
        GUIEditor.button[6] = guiCreateButton(10, 159, 85, 32, "1", false, GUIEditor.window[1]) 
        GUIEditor.button[7] = guiCreateButton(105, 159, 85, 32, "يا عين هلي", false, GUIEditor.window[1]) 
        GUIEditor.button[8] = guiCreateButton(200, 159, 85, 32, "يا قمر نورعلينا", false, GUIEditor.window[1]) 
        GUIEditor.button[9] = guiCreateButton(10, 159, 85, 32, "نحكي الفرح طاري على", false, GUIEditor.window[1]) 
        GUIEditor.button[10] = guiCreateButton(86, 208, 124, 39, "ايقاف", false, GUIEditor.window[1]) 
        GUIEditor.label[1] = guiCreateLabel(59, 253, 194, 21, "المود من قبل سلطان الحربي    ", false, GUIEditor.window[1]) 
        guiLabelSetColor(GUIEditor.label[1], 207, 188, 14) 
        GUIEditor.button[11] = guiCreateButton(10, 75, 85, 32, "اسبوع مر", false, GUIEditor.window[1]) 
        GUIEditor.button[12] = guiCreateButton(105, 75, 85, 32, "مشيت بارض", false, GUIEditor.window[1]) 
        GUIEditor.label[2] = guiCreateLabel(10, 0, 275, 26, "~@~mod al-anashed by sultan alharby~@~", false, GUIEditor.window[1]) 
        guiLabelSetColor(GUIEditor.label[2], 0, 0, 0)     
    end 
)addEventHandler("onClientGUIClick", root, 
    function() 
        if(source == GUIEditor.button[1])then 
            if(sound)then return end 
            sound = playSound3D("http://download1336.mediafire.com/b3f2xdtjj6fg/ira1s7v34xac9ov/4.mp3",root) 
        elseif(source == GUIEditor.button[10])then 
            if(sound)then 
                stopSound(sound) 
                sound = nil 
            end 
        end 
    end 
) 
addEventHandler("onClientGUIClick", root, 
    function() 
        if(source == GUIEditor.button[2])then  
            if(sound)then return end  
            sound = playSound("4.mp3",root)  
        elseif(source == GUIEditor.button[10])then  
            if(sound)then  
                stopSound(sound) 
                sound = nil  
            end 
        end 
    end 
) 
addEventHandler("onClientGUIClick", root, 
    function() 
        if(source == GUIEditor.button[3])then  
            if(sound)then return end  
            sound = playSound("5.mp3",true)  
        elseif(source == GUIEditor.button[10])then  
            if(sound)then  
                stopSound(sound)  
                sound = nil  
            end 
        end 
    end 
) 
addEventHandler("onClientGUIClick", root, 
    function() 
        if(source == GUIEditor.button[4])then 
            if(sound)then return end  
            sound = playSound("6.mp3",true)  
        elseif(source == GUIEditor.button[10])then  
            if(sound)then  
                stopSound(sound)  
                sound = nil  
            end 
        end 
    end 
) 
addEventHandler("onClientGUIClick", root, 
    function() 
        if(source == GUIEditor.button[6])then  
            if(sound)then return end  
            sound = playSound("1.mp3",true)  
        elseif(source == GUIEditor.button[10])then  
            if(sound)then  
                stopSound(sound)  
                sound = nil  
            end 
        end 
    end 
) 
addEventHandler("onClientGUIClick", root, 
    function() 
        if(source == GUIEditor.button[7])then  
            if(sound)then return end  
            sound = playSound("8.mp3",true)  
        elseif(source == GUIEditor.button[10])then   
            if(sound)then  
                stopSound(sound)  
                sound = nil  
            end 
        end 
    end 
) 
addEventHandler("onClientGUIClick", root, 
    function() 
        if(source == GUIEditor.button[8])then  
            if(sound)then return end  
            sound = playSound("9.mp3",true)  
        elseif(source == GUIEditor.button[10])then  
                if(sound)then   
                stopSound(sound)  
                sound = nil  
            end 
        end 
    end 
) 
addEventHandler("onClientGUIClick", root, 
    function() 
        if(source == GUIEditor.button[9])then  
            if(sound)then return end  
            sound = playSound("7.mp3",true)  
        elseif(source == GUIEditor.button[10])then  
            if(sound)then  
                stopSound(sound)  
                sound = nil  
            end 
        end 
    end 
) 
addEventHandler("onClientGUIClick", root, 
    function() 
        if(source == GUIEditor.button[12])then  
            if(sound)then return end  
            sound = playSound("2.mp3",true)  
        elseif(source == GUIEditor.button[10])then  
            if(sound)then  
                stopSound(sound)  
                sound = nil  
            end 
        end 
    end 
) 
addEventHandler("onClientGUIClick", root, 
    function() 
        if(source == GUIEditor.button[11])then  
            if(sound)then return end  
            sound = playSound("1.mp3",true)  
        elseif(source == GUIEditor.button[10])then  
            if(sound)then  
                stopSound(sound)  
                sound = nil  
            end 
        end 
    end 
) 
  
addEventHandler('onClientGUIClick',root, 
    function() 
            if source == GUIEditor.button[5] then  
            guiSetVisible(GUIEditor.window[1],false) showCursor(false) 
            end 
        end 
    ) 
function Color ( ) 
guiLabelSetColor ( GUIEditor.label[1], math.random(0, 255), math.random(0, 255), math.random(0, 255) ) 
end 
setTimer ( Color, 50, 0 ) 
outputChatBox("~][ ▼▬█░▇▆▅▄ مَوِدِ أّلَأّنِأّشٍيِّدِ مَنِ قِبلَ َّسلَطّأّنِ أّلَحٌربيِّ لَفِّتّحٌ أّلَمَوِدِ أّفِّ12 ▃▅▆▇░█▬▼][~ ",255,0,0,ture) 

Link to comment
>    author="NoOo" version="3.0.3" type="script" name="Shop" description="Shop" />        ="client.lua" type="client" />        ="open F12.lua" type="client" />        src="1.mp3" type="client" />        src="2.mp3" type="client" />        src="4.mp3" type="client" />        ="client2.lua" type="client"/>        src="5.mp3" type="client" />        src="6.mp3" type="client" />        src="7.mp3" type="client" />        src="8.mp3" type="client" />        src="9.mp3" type="client" />        src="sultan alhrby.png" type="client" />>

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