Ulysses
General => Off-Topic => Topic started by: BlackRockShooter on June 21, 2013, 06:19:18 PM
-
Okay so I am working on my TTT server and I have been attempting to set up an excerpt from a song to play for the client when they join the server. Any ideas?
-
Use a hook to play the sound?
-
Well that would be helpful but I am still a novice with lua and I do not know much about its use. I was really hoping I would get help rather than a response such as this.
Use a hook to play the sound?
-
http://wiki.garrysmod.com/page/GM/PlayerConnect
Instead of printing a message as that hook example shows, research how to get gmod to play a sound to players
-
thank you
http://wiki.garrysmod.com/page/GM/PlayerConnect
Instead of printing a message as that hook example shows, research how to get gmod to play a sound to players
-
While looking through releases today, I stumbled across an OLD thread release I made to play sounds to joining players...and only joining players, using sounds included with HalfLife I think.
(ie, think i avoided custom stuff)
It didn't use connect, it used playerauthed hook (basically, it made sure they stayed long enough to steam authenticate)
Look for UJoin sounder for old example code.
And, I mean OLD...pre GM12 I think...but, with little lua experience, would make good starting code to modify for your needs.
-
i found this thread, im pretty sure this is everything you were asking for c:
http://forums.ulyssesmod.net/index.php/topic,6036.0.html (http://forums.ulyssesmod.net/index.php/topic,6036.0.html)