Tulipan Posted January 6, 2022 Share Posted January 6, 2022 Hola, mi propósito es reproducir música dentro de un interior, usé el elemento playSound3D e hice el siguiente código: addEventHandler( “onClientResourcestart”, getResourceRootElement ( getThisResource( ) ), function( ) local musica = playSound3D (“nombre.mp3”, X, Y, Z, true) setSoundVolume (musica, 1.5) setSoundMaxDistance (musica, 250) end El problema es que el código sólo funciona en exteriores. Quería saber si existe la posibilidad de establecerle un interior y una dimensión, desde ya muchas gracias <3. Link to comment
_SAXI_ Posted January 7, 2022 Share Posted January 7, 2022 Usa setElementDimension setElementInterior Link to comment
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now