z24d Posted September 30, 2015 Share Posted September 30, 2015 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 ابيه مايبدأ الصوت مرتين شلون؟ Link to comment
z24d Posted September 30, 2015 Author Share Posted September 30, 2015 لأنة احياناً يجيب اللفل مرتين ويطلع الصوت مرتين 3 مرات Link to comment
#CroSs Posted September 30, 2015 Share Posted September 30, 2015 . sound من متغير local شيل الـ Link to comment
!#NssoR_) Posted September 30, 2015 Share Posted September 30, 2015 (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 September 30, 2015 by Guest Link to comment
TAPL Posted September 30, 2015 Share Posted September 30, 2015 في سطر 4 مو حاط المنت اللاعب او البيد الي تبي توقف الأنميشن حقه Link to comment
!#NssoR_) Posted September 30, 2015 Share Posted September 30, 2015 لوول مانتبهت لها ,Thanks bro >< Link to comment
TAPL Posted September 30, 2015 Share Posted September 30, 2015 المفروض ما يكون لوكل ولا ما رح يكون فيه اي فائدة من التحقق sound متغير Link to comment
z24d Posted September 30, 2015 Author Share Posted September 30, 2015 يعطيكم العافية ..# Link to comment
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now