mirror of
https://github.com/alliedmodders/amxmodx.git
synced 2025-01-13 23:38:07 +03:00
Fix hostname possible bug @ imessage.sma
This commit is contained in:
parent
514e62d0e0
commit
68e662756e
@ -59,10 +59,9 @@ public infoMessage()
|
||||
ArrayGetArray(g_Values, g_Current, values);
|
||||
|
||||
new hostname[64];
|
||||
|
||||
get_cvar_string("hostname", hostname, charsmax(hostname));
|
||||
replace(Message, charsmax(Message), "%hostname%", hostname);
|
||||
replace(Message, charsmax(Message), "%version%", AMXX_VERSION_STR);
|
||||
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);
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user