Garry's Mod

Garry's Mod

PlaySound
DBH 19 Sep, 2021 @ 1:57am
How do I add my own audio files?
I know i need to create a separate addon, but how do I do this? (I have no experience in lua coding)
< >
Showing 1-6 of 6 comments
Støng 27 Sep, 2021 @ 7:48am 
If you have no experience in Lua, here's a simple way for example: Put the audio file in the "sound/music" folder and play it in-game with the console command: "playsound music/examplefile.mp3"
Last edited by Støng; 27 Sep, 2021 @ 9:56pm
DBH 3 Oct, 2021 @ 4:38am 
Thank you!
heavyfortress0195 20 Aug, 2022 @ 1:41am 
Originally posted by Stong:
If you have no experience in Lua, here's a simple way for example: Put the audio file in the "sound/music" folder and play it in-game with the console command: "playsound music/examplefile.mp3"
Will everyone hear it?
Støng 20 Aug, 2022 @ 4:04am 
Originally posted by super brain:
Originally posted by Stong:
If you have no experience in Lua, here's a simple way for example: Put the audio file in the "sound/music" folder and play it in-game with the console command: "playsound music/examplefile.mp3"
Will everyone hear it?
Only if you're an admin on the server
Naturd420 8 Sep, 2022 @ 5:44pm 
Is ogg compatible? I want to play some quake 1/2 music.
< >
Showing 1-6 of 6 comments
Per page: 1530 50