Jump to content

ابي اطفي اصوات السيارات


Recommended Posts

  • 2 weeks later...
9 hours ago, u0w2³ᴰ said:

function disableCarSounds()
local groups = 300
while (groups >= 0) do
    setWorldSoundEnabled(groups, false)
    groups = groups - 1
end

end

addEventHandler("onClientResourceStart", getRootElement(), disableCarSounds)

 

هذي من أسباب الي م تخليه يتعلم, بعدين يفتح موضوع ويقول ابي اتعلم البرمجة

خله ياخي يحاول ويتعلم من أخطاءه ليه على طول جاهز؟

Link to comment
17 hours ago, u0w2³ᴰ said:

function disableCarSounds()
local groups = 300
while (groups >= 0) do
    setWorldSoundEnabled(groups, false)
    groups = groups - 1
end

end

addEventHandler("onClientResourceStart", getRootElement(), disableCarSounds)

 

للتوضيح, اي سكربت يشتغل راح يشتغل معاه الكود بسبب الحدث

resourceRoot الصحيح تعديله الى

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