mirror of
https://github.com/alliedmodders/amxmodx.git
synced 2025-02-05 18:20:32 +03:00
Fix hostname possible bug @ scrollmsg.sma
This commit is contained in:
parent
68e662756e
commit
fa637e31a4
@ -64,10 +64,9 @@ public msgInit()
|
|||||||
g_xPos = 0.65
|
g_xPos = 0.65
|
||||||
|
|
||||||
new hostname[64]
|
new hostname[64]
|
||||||
|
|
||||||
get_cvar_string("hostname", hostname, charsmax(hostname))
|
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), "%version%", AMXX_VERSION_STR)
|
||||||
|
replace(g_scrollMsg, charsmax(g_scrollMsg), "%hostname%", hostname)
|
||||||
|
|
||||||
g_Length = strlen(g_scrollMsg)
|
g_Length = strlen(g_scrollMsg)
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user