Ulysses

General => Developers Corner => Topic started by: antahz on June 08, 2019, 08:56:01 AM

Title: How do I playsound to everyone with k,v in pairs(player.GetAll() )?
Post by: antahz on June 08, 2019, 08:56:01 AM
Please answer
Title: Re: How do I playsound to everyone with k,v in pairs(player.GetAll() )?
Post by: JamminR on June 08, 2019, 04:37:11 PM
Several ways to do it, but this answers your exact question.
https://forum.facepunch.com/gmoddev/nnmh/Simple-way-to-play-sounds-to-all-players/1/#postepyyq

We use a server ULib umsg to send a sound command with the path, client receives the path and plays it.