Jump to content
  • 0

Sounds


Troold

Question

Now I have problem with music, when i run that script, there aren't any music ;/

That is my Code

function onResourceStart()
local sound = playSound3D("sounds/muzaa.mp3", 1479.2813720703, -1648.1474609375, 22.065521240234, true) 
end
addEventHandler("onClientResourceStart", getResourceRootElement(getThisResource()), onResourceStart)

Maybe i should do command to start that music D:

Link to comment

10 answers to this question

Recommended Posts

  • 0

then that should look like that?

function onResourceStart()
local sound = playSound3D("muzaa/ravers.mp3", 1479.2813720703, -1648.1474609375, 22.065521240234, true)
end
bindKey (player, "i", "down", playSound3D)

sry but i never do any look like that binds ;fff

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