From 2d5bc4007fa60ee0665f10a1e81529029b7e9279 Mon Sep 17 00:00:00 2001 From: Nicholas Hastings Date: Mon, 19 Dec 2022 18:49:48 -0500 Subject: [PATCH] Add clarification to documentation for hud messages and engine dialogs (#1888) with regard to game support. --- plugins/include/halflife.inc | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/plugins/include/halflife.inc b/plugins/include/halflife.inc index 9a17e1e2..3c856e42 100644 --- a/plugins/include/halflife.inc +++ b/plugins/include/halflife.inc @@ -331,6 +331,10 @@ native bool IsSoundPrecached(const char[] sound); /** * Creates different types of ingame messages. * + * Note: On many newer games (Left 4 Dead/2008+), the display of this to clients is broken. + * Additionally, as of 2018, some games also require the client to have cl_showpluginmessages + * set to 1, a non-default value, for this to function. + * * @param client Index of the client. * @param kv KeyValues handle to set the menu keys and options. (Check iserverplugin.h for more information). * @param type Message type to display ingame. @@ -587,7 +591,7 @@ native void ClearSyncHud(int client, Handle sync); /** * Shows a HUD message to a client on the given channel. * - * As of this writing, only TF, HL2MP, and SourceForts support HUD Text. + * Note: while many games support HUD Text, not all do. * * @param client Client index to send the message to. * @param channel A channel number. @@ -629,6 +633,10 @@ stock void ShowMOTDPanel(int client, const char[] title, const char[] msg, int t /** * Displays a panel asking the client to connect to a specified IP. + * + * Note: On many newer games (Left 4 Dead/2008+), the display of this to clients is broken. + * Additionally, as of 2018, some games also require the client to have cl_showpluginmessages + * set to 1, a non-default value, for this to function. * * @param client Client index. * @param time Duration to hold the panel on the client's screen.