View Single Post
Russian85
Junior Member
Join Date: Aug 2017
Old 08-24-2020 , 10:53   Re: [CSGO] New HTML Font supported hud element
Reply With Quote #3

Quote:
Originally Posted by backwards View Post
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<= MaxClientsz++)
  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.
Not new.

__________________
Steam: Someone | Discord: Something | GitHub: @SomethingFromSomewhere
GitLab: @SomethingFromSomewhere

My beauty:
Russian85 is offline