Quote:
Originally Posted by backwards
Hello, while searching for a new hud element to display text to clients in csgo I found this
It's supports HTML Font flags as well and is part of the round end cs panel. Here's a snippet on how it works.
PHP Code:
Event newevent_message = CreateEvent("cs_win_panel_round"); newevent_message.SetString("funfact_token", "message here");
for(int z = 1; z <= MaxClients; z++) if(IsClientInGame(z) && !IsFakeClient(z)) newevent_message.FireToClient(z); event_fake.Cancel();
Sadly it has drawbacks of not rendering for 1 second when you send the message. So if you want to constantly update the text like surf\bhop timer, it will be invisible or delayed. Thought I would share this with the community.
|
thanks for sharing this
any idea how to show pictures? like a few post above
and how to clear the message from screen?
__________________