Browsing Wiremod's section
← Back to ACE
💬

Community answer

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

Playing mp3 files from sf_filedata

🔌 WiremodUpdated 2 days ago•0 views
Reference it with a relative path: owner():emitSound('../data/sf_filedata/somesound.mp3') - '..' climbs out of the restricted dir to reach garrysmod/data.

How to play an mp3 stored in the sf_filedata folder

Reference it with a relative path: owner():emitSound('../data/sf_filedata/somesound.mp3') - '..' climbs out of the restricted dir to reach garrysmod/data.

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.