summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorkai <kai@zittrig.eu>2020-06-12 18:03:20 +0100
committerkai <kai@zittrig.eu>2020-06-12 18:29:32 +0100
commit3173aedba241b25043e3317f4bc88f0d67d3e0ee (patch)
treeee31a8def8fc45302f2222ea2d1b863023c9464a
parent9f7bad9620c2158ebd3a31018b62bcb47eaf0087 (diff)
standardise admin alert messages
-rw-r--r--src/game/g_main.c4
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) );
}
}