mirror of
https://github.com/alliedmodders/amxmodx.git
synced 2025-03-14 06:30:21 +03:00
Shorten version replacement @ scrollmsg.sma
This commit is contained in:
parent
3504c77bcb
commit
33955460c0
@ -65,7 +65,7 @@ public msgInit()
|
||||
|
||||
new hostname[64]
|
||||
get_cvar_string("hostname", hostname, charsmax(hostname))
|
||||
replace(g_scrollMsg, charsmax(g_scrollMsg), "%version%", AMXX_VERSION_STR)
|
||||
replace(g_scrollMsg, charsmax(g_scrollMsg), "%version%", fmt("%s.%s", AMXX_VERSION_MAJOR, AMXX_VERSION_MINOR))
|
||||
replace(g_scrollMsg, charsmax(g_scrollMsg), "%hostname%", hostname)
|
||||
|
||||
g_Length = strlen(g_scrollMsg)
|
||||
|
Loading…
x
Reference in New Issue
Block a user