Jump to content

كيف؟


Recommended Posts

Posted

حياك الله
تفضل .
 

addEventHandler("onClientPlayerWasted",root, function ()
sound = playSound("soundname.mp3") -- لا تنسى تغير اسم الملف
end
)

Client Side

  • Thanks 1
Posted
1 minute ago, AbU - W6N said:

حياك الله
تفضل .
 


addEventHandler("onClientPlayerWasted",root, function ()
sound = playSound("soundname.mp3") -- لا تنسى تغير اسم الملف
end
)

Client Side

شكرااا والله

Posted
6 minutes ago, #\_oskar_/# said:

الصوت رح يتكرر 

element playSound ( string soundPath, [ bool looped = false, bool throttled = true ] )

 

Posted
addEventHandler("onClientPlayerWasted",root,
function ()
    if ( isElement( sound ) ) then 
        destroyElement ( sound )
    end
sound = playSound("soundname.mp3")
end
)
--- اكواد ابو وطن بس عدلت عليهم

 

  • Like 1
Posted (edited)
1 hour ago, Abdul KariM said:

يقصد لو مات وكان الصوت شغال راح يكرر الصوت

ما أظن الصوت راح يكون مدته أكثر من 5 ثواني ,
ع العموم
تفضل
 

addEventHandler("onClientPlayerWasted",root, function ()
destroyElement(sound)
sound = playSound("soundname.mp3") -- لا تنسى تغير اسم الملف
end
)

 

Edited by AbU - W6N
Posted
1 minute ago, AbU - W6N said:

ما أظن الصوت راح يكون مدته أكثر من 5 ثواني ,
ع العموم
تفضل
 


addEventHandler("onClientPlayerWasted",root, function ()
destroyElement(sound)
sound = playSound("soundname.mp3") -- لا تنسى تغير اسم الملف
end
)

 

في حالتك ذي بطلع اخطاء في الدي بق اذا مات الشخص والصوت مو شغال من قبل 

Posted
Just now, Debo15 said:

في حالتك ذي بطلع اخطاء في الدي بق اذا مات الشخص والصوت مو شغال من قبل 

يسس راحت عن بالي .
التحقق إلي حطيته إنت فوق يوفي بالغرض .

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