From 98f8602c595bc4e92fc04f363521a5eedeac93d9 Mon Sep 17 00:00:00 2001 From: connorr Date: Mon, 5 Aug 2013 18:54:19 +0200 Subject: [PATCH] Set set_hudmessage default channel to -1 to reflect auto-channeling support (bug 5771, r=arkshine) Former-commit-id: 418023ed916ff68e77a75ea729ac456d72b97cf5 --- plugins/include/amxmodx.inc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plugins/include/amxmodx.inc b/plugins/include/amxmodx.inc index 4541e33d..3c88ca51 100755 --- a/plugins/include/amxmodx.inc +++ b/plugins/include/amxmodx.inc @@ -145,7 +145,7 @@ native register_logevent(const function[], argsnum, ... ); * Note - as of AMX Mod X 1.61, setting the channel to -1 * will automatically choose the next available HUD channel for a player. */ -native set_hudmessage(red=200, green=100, blue=0, Float:x=-1.0, Float:y=0.35, effects=0, Float:fxtime=6.0, Float:holdtime=12.0, Float:fadeintime=0.1, Float:fadeouttime=0.2,channel=4); +native set_hudmessage(red=200, green=100, blue=0, Float:x=-1.0, Float:y=0.35, effects=0, Float:fxtime=6.0, Float:holdtime=12.0, Float:fadeintime=0.1, Float:fadeouttime=0.2,channel=-1); /* Displays HUD message to given player. */ native show_hudmessage(index,const message[],any:...);