Ulysses
Welcome,
Guest
. Please
login
or
register
.
1 Hour
1 Day
1 Week
1 Month
Forever
Login with username, password and session length
Home
Help
Search
Login
Register
Ulysses
»
General
»
Developers Corner
»
How do I playsound to everyone with k,v in pairs(player.GetAll() )?
« previous
next »
Print
Pages: [
1
]
Go Down
Author
Topic: How do I playsound to everyone with k,v in pairs(player.GetAll() )? (Read 1759 times)
0 Members and 1 Guest are viewing this topic.
antahz
Newbie
Posts: 2
Karma: 0
How do I playsound to everyone with k,v in pairs(player.GetAll() )?
«
on:
June 08, 2019, 08:56:01 AM »
Please answer
Logged
JamminR
Ulysses Team Member
Hero Member
Posts: 8096
Karma: 390
Sertafide Ulysses Jenius
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.
Logged
"Though a program be but three lines long, someday it will have to be maintained." -- The Tao of Programming
Print
Pages: [
1
]
Go Up
« previous
next »
Ulysses
»
General
»
Developers Corner
»
How do I playsound to everyone with k,v in pairs(player.GetAll() )?