diff options
author | IronClawTrem <louie.nutman@gmail.com> | 2020-05-08 18:08:21 +0100 |
---|---|---|
committer | IronClawTrem <louie.nutman@gmail.com> | 2020-05-08 18:10:33 +0100 |
commit | d11fce952dda332d54d94f1d086649c925193ba8 (patch) | |
tree | 8c4c888587b27e176b8e1a41a7795afc0c9e0a05 | |
parent | e952383e095c2727c36f524166927790a444f470 (diff) |
print g_outdatedClientMessage with !register
If a player has no GUID and attempts to !register, this cvar string will be printed instead.
-rw-r--r-- | src/game/g_admin.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/game/g_admin.c b/src/game/g_admin.c index e001bc2..b35971e 100644 --- a/src/game/g_admin.c +++ b/src/game/g_admin.c @@ -6111,7 +6111,8 @@ qboolean G_admin_register(gentity_t *ent, int skiparg ){ if( !Q_stricmp( ent->client->pers.guid, "XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX" ) ) { - ADMP( va( "^3!register: ^7 You cannot register for name protection until you update your client. Please replace your client executable with the one at http://trem.tjw.org/backport/ and reconnect. Updating your client will also allow you to have faster map downloads.\n" ) ); + trap_SendServerCommand( ent->client->ps.clientNum, va( + "print \"%s\n\"", g_outdatedClientMessage.string ) ); return qfalse; } |