mirror of
https://github.com/ParadiseSS13/Paradise.git
synced 2026-08-24 20:47:10 +01:00
A sound will now play when admins receive adminhelps. By default this is disabled, but any admin can enable it by using the 'toggle adminhelp sound' verb. Note that it will revert to not hearing sounds when a new round starts.
git-svn-id: http://tgstation13.googlecode.com/svn/trunk@2286 316c924e-a436-60f5-8080-3fe189b3f50e
This commit is contained in:
@@ -15,6 +15,8 @@
|
||||
|
||||
for (var/mob/M in world)
|
||||
if (M.client && M.client.holder)
|
||||
if(M.client.sound_adminhelp)
|
||||
M << 'adminhelp.ogg'
|
||||
M << "\blue <b><font color=red>HELP: </font>[key_name(src, M)] (<A HREF='?src=\ref[M.client.holder];adminplayeropts=\ref[src]'>PP</A>) (<A HREF='?src=\ref[M.client.holder];adminplayervars=\ref[src]'>VV</A>) (<A HREF='?src=\ref[M.client.holder];adminplayersubtlemessage=\ref[src]'>SM</A>) (<A HREF='?src=\ref[M.client.holder];adminplayerobservejump=\ref[src]'>JMP</A>) (<A HREF='?src=\ref[M.client.holder];secretsadmin=check_antagonist'>CA</A>):</b> [msg]"
|
||||
|
||||
usr << "Your message has been broadcast to administrators."
|
||||
|
||||
Reference in New Issue
Block a user