Jump to content
  • 0

Play sound 3d...


NodZen

Question

Friends, try making a script so that when the player passes reprodusca coordinate is given once a sound .... But the sound does not appear. :x

function onResourceStart() 
    local sound = playSound3D("sounds/grito.mp3", -1987.69921875, -711.2998046875, 33.799999237061, true)  
end 
addEventHandler("onClientResourceStart", getResourceRootElement(getThisResource()), onResourceStart) 

Link to comment

3 answers to this question

Recommended Posts

  • 0

The event isn't needed.

local sound = playSound3D("sounds/grito.mp3", -1987.69921875, -711.2998046875, 33.799999237061, true) 

Make sure the file is at the meta.xml file too, and the sound exists.

It would be better if you use your own English instead Google Translator.

Link to comment
  • 0
The event isn't needed.
local sound = playSound3D("sounds/grito.mp3", -1987.69921875, -711.2998046875, 33.799999237061, true) 

Make sure the file is at the meta.xml file too, and the sound exists.

It would be better if you use your own English instead Google Translator.

:lol: ok! I will use

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