I want to make a sound play when people get a headshot or a double kill, where can I find sounds that say "HEADSHOT" or "DOUBLE KILL" and stuff like that
Are you asking us where you can find sounds that do not relate to lua at all?
those are quake sounds FYI, you can find them on gmod.org search unreal sounds
I was gonna ask how to play the sounds with lua after I found the sounds -_-
forgot about lua search thanks !
[editline]27th December 2010[/editline]
how would you play a sound on everyone's client?
[lua]
for k,v in pairs(player.GetAll()) do
v:SendLua("surface.PlaySound('buttons/button10.wav')")
end
[/lua]
Untested but will probably work.
Sorry, you need to Log In to post a reply to this thread.