Adds onscreen admin alerts (#20182)

* 1984

* <br> to \n

* Apply suggestions from code review

Co-authored-by: Ryan <80364400+Sirryan2002@users.noreply.github.com>

---------

Co-authored-by: Ryan <80364400+Sirryan2002@users.noreply.github.com>
This commit is contained in:
S34N
2023-02-14 20:25:53 +01:00
committed by GitHub
co-authored by Ryan
parent f428cee612
commit d23f5476ba
10 changed files with 145 additions and 6 deletions
+7
View File
@@ -3374,6 +3374,13 @@
else if(href_list["who_advanced"])
usr.client.who_advanced()
else if(href_list["adminalert"])
if(!check_rights(R_ADMIN))
return
var/mob/about_to_be_banned = locateUID(href_list["adminalert"])
usr.client.cmd_admin_alert_message(about_to_be_banned)
/client/proc/create_eventmob_for(mob/living/carbon/human/H, killthem = 0)
if(!check_rights(R_EVENT))
return