diff --git a/plugins/scrollmsg.sma b/plugins/scrollmsg.sma index 3a0ca758..a491e0cb 100755 --- a/plugins/scrollmsg.sma +++ b/plugins/scrollmsg.sma @@ -64,10 +64,9 @@ public msgInit() g_xPos = 0.65 new hostname[64] - get_cvar_string("hostname", hostname, charsmax(hostname)) - replace(g_scrollMsg, charsmax(g_scrollMsg), "%hostname%", hostname) replace(g_scrollMsg, charsmax(g_scrollMsg), "%version%", AMXX_VERSION_STR) + replace(g_scrollMsg, charsmax(g_scrollMsg), "%hostname%", hostname) g_Length = strlen(g_scrollMsg)