From 0bfc67b744190ab335089f0efc290c27925e71e3 Mon Sep 17 00:00:00 2001 From: Hattrick HttrckCldHKS Date: Tue, 11 Sep 2018 11:02:25 +0300 Subject: [PATCH] Allow [i|scroll]message to include AMX Mod X vers. Allow [i|scroll]message to include AMX Mod X version as well. --- plugins/imessage.sma | 1 + 1 file changed, 1 insertion(+) diff --git a/plugins/imessage.sma b/plugins/imessage.sma index f03c11a1..b12a9f31 100755 --- a/plugins/imessage.sma +++ b/plugins/imessage.sma @@ -62,6 +62,7 @@ public infoMessage() get_cvar_string("hostname", hostname, charsmax(hostname)); replace(Message, charsmax(Message), "%hostname%", hostname); + replace(Message, charsmax(Message), "%version%", AMXX_VERSION_STR); set_hudmessage(values[0], values[1], values[2], X_POS, Y_POS, 0, 0.5, HOLD_TIME, 2.0, 2.0, -1);