• Playing a sound that every player hears at once?
    4 replies, posted
What can be used to play a sound that everyone on the server hears at the same time, same volume preferably?
[url]http://maurits.tv/data/garrysmod/wiki/wiki.garrysmod.com/index0f35.html[/url] or [url]http://maurits.tv/data/garrysmod/wiki/wiki.garrysmod.com/index5627.html[/url]
Try this out: [lua] BroadcastLua( 'surface.PlaySound( "PATHTOSOUND" )' ) [/lua]
WorldSound is nil in Garry's Mod 13, I thought? surface.PlaySound is your best bet! -- Garry also removed the restriction of 2 sounds playing at once it seems.
[QUOTE=MrGregsWorld;40773372]Try this out: [lua] BroadcastLua( 'surface.PlaySound( "PATHTOSOUND" )' ) [/lua][/QUOTE] That works perfectly. Thank you everyone.
Sorry, you need to Log In to post a reply to this thread.