Jump to content

??


z24d

Recommended Posts

Posted
    function ( ) 
        PlayerLevelUpSound() 
setPedAnimation(source,"DANCING","dnce_m_a") 
setTimer(setPedAnimation,30000,1,false) 
        addEventHandler("onClientRender",root,DrawLevelUp) 
        setTimer(function() 
            removeEventHandler("onClientRender",root,DrawLevelUp) 
        end, 30000, 1) 
    end 
) 
  
function PlayerLevelUpSound() 
if not sound then 
    local sound = playSound("levelup.mp3") 
    setSoundVolume(sound, 1) 
end 
end 

ابيه مايبدأ الصوت مرتين شلون؟

Posted (edited)

function ( ) 
    PlayerLevelUpSound() 
    setPedAnimation(source,"DANCING","dnce_m_a") 
    setTimer(setPedAnimation,30000,1,source,false) 
    addEventHandler("onClientRender",root,DrawLevelUp) 
    setTimer(function() 
        removeEventHandler("onClientRender",root,DrawLevelUp) 
    end, 30000, 1) 
end 
  
function PlayerLevelUpSound() 
    if not isElement(sound) then 
        local sound = playSound("levelup.mp3") 
        setSoundVolume(sound, 1) 
    end 
end 
Edited by Guest
Posted

في سطر 4 مو حاط المنت اللاعب او البيد الي تبي توقف الأنميشن حقه

Posted

المفروض ما يكون لوكل ولا ما رح يكون فيه اي فائدة من التحقق sound متغير

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