View Single Post
Author Message
Mankled
Senior Member
Join Date: Oct 2019
Old 10-24-2020 , 00:40   HUD remove/destroy
Reply With Quote #1

How do I remove/destroy a HUD for every player in the server?

Example:
My server has a plugin where shows a HUD with the best player online in the server.

How HUD looks like:
The Best Player is: Mankled
Kills: 10 | Death: 1

This HUD is showed while playing the entire map (it's never removed/destroyed)

But, the problem comes. When this best player disconnect, it doesnt show the best player anymore, even kills/death, it showed like this.

The Best Player is:
Kills: 0 | Death: 0

So, What I need is to know what function to use, to make it reappear again with new best player, and how to display it to every player in the server. Like an update instantly when the old best player disconnect


**ALL ABOVE IS JUST AN EXAMPLE**
Mankled is offline