Jump to content
  • 0

Play sound 3d...


NodZen

Question

Posted

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) 

------------------------------------------------------------------------------------------

My scripts

http://community.multitheftauto.com/index.php?p=resources&s=details&id=6977

http://community.multitheftauto.com/index.php?p=resources&s=details&id=7740

3 answers to this question

Recommended Posts

  • 0
Posted

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.

"Everything exists, because otherwise nothing would", Bob Marley, 2015.

  • 0
Posted
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

------------------------------------------------------------------------------------------

My scripts

http://community.multitheftauto.com/index.php?p=resources&s=details&id=6977

http://community.multitheftauto.com/index.php?p=resources&s=details&id=7740

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