read cvar amxmodx_version instead of amx_version

This commit is contained in:
Felix Geyer 2004-03-07 10:44:49 +00:00
parent 96fc4ad39c
commit 7ff9ac8ab6
2 changed files with 2 additions and 2 deletions

View File

@ -116,7 +116,7 @@ public alt_motd(param[]) {
#if defined SHOW_MODS
new mod_ver[32]
len += copy(motdBody[len],MOTD_LENGTH-len,"<br>Server mods:<ul>")
get_cvar_string("amx_version",mod_ver,31)
get_cvar_string("amxmodx_version",mod_ver,31)
if (mod_ver[0]) len += format(motdBody[len],MOTD_LENGTH-len,"<li>AMX Mod %s</li>",mod_ver)
get_cvar_string("statsme_version",mod_ver,31)
if (mod_ver[0]) len += format(motdBody[len],MOTD_LENGTH-len,"<li>StatsMe %s</li>",mod_ver)

View File

@ -102,7 +102,7 @@ public client_connect(id) {
#if defined SHOW_MODS
new mod_ver[32]
client_cmd(id, "echo ;echo ^" Server mods:^"")
get_cvar_string("amx_version",mod_ver,31)
get_cvar_string("amxmodx_version",mod_ver,31)
if (mod_ver[0]) client_cmd(id, "echo ^" o AMX Mod %s^"",mod_ver)
get_cvar_string("statsme_version",mod_ver,31)
if (mod_ver[0]) client_cmd(id, "echo ^" o StatsMe %s^"",mod_ver)