summaryrefslogtreecommitdiff
path: root/src/game/g_client.c
diff options
context:
space:
mode:
authorIronClawTrem <louie.nutman@gmail.com>2019-08-25 17:30:51 +0100
committerIronClawTrem <louie.nutman@gmail.com>2019-08-25 17:30:51 +0100
commit3db203fdc9906d700507056b837364e000dc5a7c (patch)
tree785a3dc7c3e3131a1fdb861dc0642fa9a1d2dc63 /src/game/g_client.c
parent9fb9596cfa00676e94b69076d442091a23750f18 (diff)
add scrim command
Diffstat (limited to 'src/game/g_client.c')
-rw-r--r--src/game/g_client.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/game/g_client.c b/src/game/g_client.c
index b0751de..7a27f64 100644
--- a/src/game/g_client.c
+++ b/src/game/g_client.c
@@ -1619,6 +1619,11 @@ void ClientBegin( int clientNum )
// name can change between ClientConnect() and ClientBegin()
G_admin_namelog_update( client, qfalse );
+ if( g_scrimMode.integer == 1 )
+ {
+ ADMP( "^5Scrim mode is enabled. Teams are locked and you can only use spectator chat.\n" );
+ }
+
// request the clients PTR code
trap_SendServerCommand( ent - g_entities, "ptrcrequest" );
}