diff options
author | kai <kai@zittrig.eu> | 2020-06-12 18:03:20 +0100 |
---|---|---|
committer | kai <kai@zittrig.eu> | 2020-06-12 18:29:32 +0100 |
commit | 3173aedba241b25043e3317f4bc88f0d67d3e0ee (patch) | |
tree | ee31a8def8fc45302f2222ea2d1b863023c9464a | |
parent | 9f7bad9620c2158ebd3a31018b62bcb47eaf0087 (diff) |
standardise admin alert messages
-rw-r--r-- | src/game/g_main.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/game/g_main.c b/src/game/g_main.c index 9389db7..742854c 100644 --- a/src/game/g_main.c +++ b/src/game/g_main.c @@ -1997,7 +1997,7 @@ void QDECL G_AdminsPrintf( const char *fmt, ... ) if( G_admin_permission( tempent, ADMF_ADMINCHAT ) && !tempent->client->pers.ignoreAdminWarnings ) { - trap_SendServerCommand(tempent-g_entities,va( "print \"^6[Admins]^7 %s\"", string) ); + trap_SendServerCommand(tempent-g_entities,va( "print \"^7[^fADMIN ALERT^7] %s\"", string) ); } } @@ -2028,7 +2028,7 @@ void QDECL G_WarningsPrintf( char *flag, const char *fmt, ... ) tempent = &g_entities[ j ]; if( G_admin_permission( tempent, flag ) ) { - trap_SendServerCommand(tempent-g_entities,va( "print \"^6[Warnings]^7 %s\"", string) ); + trap_SendServerCommand(tempent-g_entities,va( "print \"^7[^DWARNINGS^7: ^d%s^7] %s\"", flag, string) ); } } |