Z4Zy Posted February 8, 2019 Share Posted February 8, 2019 Hello dear ! I'm trying to play some musics with the function 'playSound3D'. The sound URLs are provided to the function [ not files ]. So, that this musics are started to play according to the internet speed of the client. Some will start earlier than others. My problem is in stopping the sound. When current music ends, the next one should play. For that I need to know how long that the current sound will play. Therefore, how to return the left playtime of the sound? Link to comment
Moderators Patrick Posted February 8, 2019 Moderators Share Posted February 8, 2019 You can get sound's lenght with this function: https://wiki.multitheftauto.com/wiki/GetSoundLength But I don't know it's working with URL. 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