diff options
author | IronClawTrem <louie.nutman@gmail.com> | 2020-03-07 20:39:47 +0000 |
---|---|---|
committer | IronClawTrem <louie.nutman@gmail.com> | 2020-03-07 20:39:47 +0000 |
commit | 601abce3388552c8f96486e078ee7962ed7e9ddb (patch) | |
tree | 1ef1b27f16d9c11b063890f664956f8ef5eed0e8 | |
parent | 6ca8f7d4eb448472ff6d232d80e41d37692e7f59 (diff) |
print usage of !astage and !hstage
-rw-r--r-- | src/game/g_admin.c | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/src/game/g_admin.c b/src/game/g_admin.c index d6b3f81..c84ccbf 100644 --- a/src/game/g_admin.c +++ b/src/game/g_admin.c @@ -7562,6 +7562,11 @@ qboolean G_admin_hstage( gentity_t *ent, int skiparg ) lvl -= 1; trap_SendConsoleCommand( EXEC_APPEND, va( "g_humanStage %i", lvl ) ); + lvl += 1; + + AP( va( "print \"^3!hstage: %s ^7gave humans stage ^2%i\n\"", + ( ent ) ? G_admin_adminPrintName( ent ) : "console", + lvl ) ); return qtrue; @@ -7589,6 +7594,11 @@ qboolean G_admin_astage( gentity_t *ent, int skiparg ) lvl -= 1; trap_SendConsoleCommand( EXEC_APPEND, va( "g_alienStage %i", lvl ) ); + lvl += 1; + + AP( va( "print \"^3!hstage: %s ^7gave aliens stage ^2%i\n\"", + ( ent ) ? G_admin_adminPrintName( ent ) : "console", + lvl ) ); return qtrue; |