stock void hud_message(int client, char[] channel, char[] color, char[] color2, char[] effect, char[] fadein, char[] fadeout, char[] fxtime, char[] holdtime, char[] message, char[] spawnflags, char[] x, char[] y)
{
int ent = CreateEntityByName("game_text");
DispatchKeyValue(ent, "channel", channel);
DispatchKeyValue(ent, "color", color);
DispatchKeyValue(ent, "color2", color2);
DispatchKeyValue(ent, "effect", effect);
DispatchKeyValue(ent, "fadein", fadein);
DispatchKeyValue(ent, "fadeout", fadeout);
DispatchKeyValue(ent, "fxtime", fxtime);
DispatchKeyValue(ent, "holdtime", holdtime);
DispatchKeyValue(ent, "message", message);
DispatchKeyValue(ent, "spawnflags", spawnflags); //1 = show for all players
DispatchKeyValue(ent, "x", x);
DispatchKeyValue(ent, "y", y);
DispatchSpawn(ent);
SetVariantString("!activator");
AcceptEntityInput(ent, "display", client);
DispatchKeyValue(ent, "OnUser1", "!self,Kill,,%s,-1", holdtime);
AcceptEntityInput(ent, "FireUser1");
}