Jump to content

[help]sound problem


MoeezKhan

Recommended Posts

Posted

i make sound system on los santos under bridge but sound not starting.how i can fix it

function onResourceStart() 
    local sound1 = playSound3D("song.mp3", 1663.60546875, -1128.1083984375, 24.521713256836, true) 
end 
addEventHandler("onClientResourceStart", getResourceRootElement(getThisResource()), onResourceStart) 

Posted

Do you have the file in your resource? make sure the path is correct and it has been added to the meta.xml.

Also, make sure the script is set as client side in the meta.xml.

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