ULX

Author Topic: How do I playsound to everyone with k,v in pairs(player.GetAll() )?  (Read 109 times)

0 Members and 1 Guest are viewing this topic.

Offline antahz

  • Newbie
  • *
  • Posts: 1
  • Karma: 0
Please answer

Offline JamminR

  • Ulysses Team Member
  • Hero Member
  • *****
  • Posts: 7997
  • Karma: 375
  • Sertafide Ulysses Jenius
    • Team Ulysses [ULib/ULX, other fine releases]
Re: How do I playsound to everyone with k,v in pairs(player.GetAll() )?
« Reply #1 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.
The price one pays for pursuing any profession or calling is an intimate knowledge of its ugly side. - James Baldwin