Remove useless fmt call @ imessage.sma

This commit is contained in:
Hattrick HttrckCldHKS 2018-09-12 17:36:54 +03:00 committed by GitHub
parent 33955460c0
commit e7f2201702
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -60,7 +60,7 @@ public infoMessage()
new hostname[64];
get_cvar_string("hostname", hostname, charsmax(hostname));
replace(Message, charsmax(Message), "%version%", fmt("%s.%s", AMXX_VERSION_MAJOR, AMXX_VERSION_MINOR));
replace(Message, charsmax(Message), "%version%", AMXX_VERSION_MAJOR + "." + AMXX_VERSION_MINOR);
replace(Message, charsmax(Message), "%hostname%", hostname);
set_hudmessage(values[0], values[1], values[2], X_POS, Y_POS, 0, 0.5, HOLD_TIME, 2.0, 2.0, -1);