💬

Community answer

Collected from the ACE community Discord archive around 2022-05-11. It may be informal or outdated — anyone can edit this page to improve it. Original discussion

sounds.duration() returns 0 on server

📏 LimitsUpdated 2 days ago•0 views
Duration is only available clientside where the sound file is decoded - on server it returns 0; send the value via net if the server needs it.

Why does sounds.duration() return 0 serverside but works clientside

Duration is only available clientside where the sound file is decoded - on server it returns 0; send the value via net if the server needs it.

Was this article helpful?

See More

Discussion(0)

No comments yet. Be the first to ask a question!

Have a question? Sign in to join the discussion.