Changing the status on the TTT-scoreboard (Friend, Suspect, Avoid, Kill, Missing)

I want to create an automatic routine which changes the status of a persons target on the scoreboard (preferably KILL). Does anyone know a function for that or the place where that kind of stuff is described? Google hasn’t shown anything useful here and my exploration through the original code was also without success.

There’s no easy way to do it unfortunately, but I suggest you start here.

You can see it sets Player.sb_tag to the tag button, so you’ll either need to write a way to get those tag buttons or rewrite the tags to not be dependent on vgui panels.

Thanks for the hint, now I atleast know where to look :slight_smile: