Pivity

Yo, this stuff is bothering me!

Last read Never
#1

I swear I saw an addon around a year to three years ago that was an short little music intro when a player connected? To be more precise, a player would connect and they would get their own introduction music. It wouldn't be for everyone just specific usergroups (I assume it's configurable). Are there any addons like this now? Would a developer be interested in making an addon like this?

#2
local PlayerJoinMusic = {
["superadmin"] = "my_sound_file.wav",
["admin"] = "my_sound_file.wav",
["user"] = "my_sound_file.wav",
}
hook.Add("InitPostEntity", "PlayerJoinMusic", function()
if (not PlayerJoinMusic[LocalPlayer():GetUserGroup()]) then return end
surface.PlaySound(PlayerJoinMusic[LocalPlayer():GetUserGroup()])
end)

put it in a Lua file in lua/autorun/client/

Friendly x 9Agree x 1Winner x 1
#3

I didn't expect anyone to do that but thanks man. Appreciate it a lot.

#4

That will only play for the connecting player

#5

I'm sure other players don't want to hear dub step every 10 seconds.

#6

Yes, but it isn't what the OP asked for

Users viewing this thread
Nobody