diff --git a/code/modules/admin/admin.dm b/code/modules/admin/admin.dm index c9080f8872c..1cc6d4bcccc 100644 --- a/code/modules/admin/admin.dm +++ b/code/modules/admin/admin.dm @@ -17,6 +17,15 @@ var/global/floorIsLava = 0 C << msg +/proc/msg_admin_attack(var/text) //Toggleable Attack Messages + var/rendered = "ADMIN LOG: [text]" + log_adminwarn(rendered) + for (var/client/C in admin_list) + if (C) + if(!C.STFU_atklog) + var/msg = rendered + C << msg + ///////////////////////////////////////////////////////////////////////////////////////////////Panels /datum/admins/proc/show_player_panel(var/mob/M in mob_list) diff --git a/code/modules/client/client defines.dm b/code/modules/client/client defines.dm index 015405b2e30..0a7a40092fb 100644 --- a/code/modules/client/client defines.dm +++ b/code/modules/client/client defines.dm @@ -29,6 +29,7 @@ var/activeslot = 1 //Default active slot! var/STFU_ghosts //80+ people rounds are fun to admin when text flies faster than airport security var/STFU_radio //80+ people rounds are fun to admin when text flies faster than airport security + var/STFU_atklog = 0 /////////////// //SOUND STUFF//