Hi. So i wanted to make a hud message that will display current weapon name. So the problem is that if player changes weapon then hud message must be changed too. In this case i made a task with interval 0.2 seconds and every time it loops all players and sets hud message with current weapon name.
But i think this is not pretty efficient because if players holds a gun much time and doesnt change it often then the loop will have no sense.
I just wonder is there any method to overlap current hud by reseting the previous one or something like this?
Or maybe i can reset channel on curweapon event and set hud message back with modified message?