From 0513dae63e008b8b795fb8196abf343043329f05 Mon Sep 17 00:00:00 2001 From: David Anderson Date: Wed, 10 Nov 2004 05:38:23 +0000 Subject: [PATCH] Added better credits ^^ --- amxmodx/meta_api.cpp | 18 +++++++++++++++++- amxmodx/srvcmd.cpp | 4 ++-- 2 files changed, 19 insertions(+), 3 deletions(-) diff --git a/amxmodx/meta_api.cpp b/amxmodx/meta_api.cpp index 209ca42b..12853679 100755 --- a/amxmodx/meta_api.cpp +++ b/amxmodx/meta_api.cpp @@ -611,7 +611,23 @@ void C_ClientCommand( edict_t *pEntity ) { if (cmd && stricmp(cmd, "amxx")==0) { // Print version - CLIENT_PRINT(pEntity, print_console, AMX_VERSION); + static char buf[1024]; + sprintf(buf, "%s %s\n", Plugin_info.name, Plugin_info.version); + CLIENT_PRINT(pEntity, print_console, buf); + sprintf(buf, "Authors: %s (%s)\n", "Felix \"SniperBeamer\" Geyer, David \"BAILOPAN\" Anderson, Pavol \"PM OnoTo\" Marko, Jonny \"Got His Gun\" Bergstrom, and Lukasz \"SidLuke\" Wlasinski.", Plugin_info.url); + CLIENT_PRINT(pEntity, print_console, buf); + sprintf(buf, "Compiled: %s\n", __DATE__ ", " __TIME__); + CLIENT_PRINT(pEntity, print_console, buf); +#ifdef JIT + sprintf(buf, "Core mode: JIT\n"); +#else +#ifdef ASM32 + sprintf(buf, "Core mode: ASM\n"); +#else + sprintf(buf, "Core mode: Normal\n"); +#endif +#endif + CLIENT_PRINT(pEntity, print_console, buf); RETURN_META(MRES_SUPERCEDE); } } diff --git a/amxmodx/srvcmd.cpp b/amxmodx/srvcmd.cpp index cdea7cf8..e6220b73 100755 --- a/amxmodx/srvcmd.cpp +++ b/amxmodx/srvcmd.cpp @@ -148,8 +148,8 @@ void amx_command(){ { print_srvconsole( "%s %s\n", Plugin_info.name, Plugin_info.version); - print_srvconsole( "author: %s (%s)\n", Plugin_info.author, Plugin_info.url); - print_srvconsole( "compiled: %s\n", __DATE__ ", " __TIME__); + print_srvconsole( "Authors: %s (%s)\n", "Felix \"SniperBeamer\" Geyer, David \"BAILOPAN\" Anderson, Pavol \"PM OnoTo\" Marko, Jonny \"Got His Gun\" Bergstrom, and Lukasz \"SidLuke\" Wlasinski.", Plugin_info.url); + print_srvconsole( "Compiled: %s\n", __DATE__ ", " __TIME__); #ifdef JIT print_srvconsole( "Core mode: JIT\n"); #else