Allow [i|scroll]message to include AMX Mod X vers.

Allow [i|scroll]message to include AMX Mod X version as well.
This commit is contained in:
Hattrick HttrckCldHKS 2018-09-11 11:02:25 +03:00 committed by GitHub
parent b1b053c205
commit 0bfc67b744
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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);