nmrih / source-game

Bugs and issues reporting for NMRiH1
http://store.steampowered.com/app/224260
58 stars 25 forks source link

[public-1.13.5] Broken Center-Bottom HUD Messages #1484

Open botky opened 1 month ago

botky commented 1 month ago

sm_hsay | basechat | chat | | Sends a message to all players via a center-bottom hint box.

For example, using sm_hsay won't display any text, only a empty gray box.

First time I noticed this, was because of RTV plugin. It used to display a message in that center-bottom area. Now it's just a gray box. Probably broken because of the font change.

image_2024-06-07_161506715

sys-arch commented 4 weeks ago

Mentioned the same problem in https://github.com/nmrih/source-game/issues/1472

Is a plugin issue.

botky commented 4 weeks ago

But "sm_hsay" won't display any text in that area too. Is basechat.smx broken too ?

( It works by using "PrintHintText" function )

F1F88 commented 2 weeks ago

Mentioned the same problem in #1472

Is a plugin issue.

I believe this issue is not related to the plugin. Here is an example from my test:

public void OnPluginStart()
{
    RegConsoleCmd("sm_test", CB_TestHint);
}

Action CB_TestHint(int client, int args)
{
    PrintToServer("===== Test Hint =====");
    PrintToChatAll("===== Test Hint =====");
    PrintHintTextToAll("TestHint");
    return Plugin_Handled;
}

test

testHint.zip