13.10.2018, 11:10
@Chyakka - Yeah, well, I can't really say that dynamic labels work for me. I remember trying them out before and there were even more wild bugs appearing out of nowhere, e.g: double labels on top of each-other and so on, including the bug I'm experiencing now LOL.
@ConnorW - I think I have actually figured it out, the labels weren't properly deleted right after a player enters death mode (custom system). Instead, they were deleted on spawn, which means that if the player leaves the server while in death mode, that ID will still have the label attached to them unless they mask and unmask themselves afterwards. It also seems like I was lacking the required code under OnPlayerDisconnect to prevent that.
Thank you both for your replies and for helping brainstorm this together, I'll make sure to rep you both.
@ConnorW - I think I have actually figured it out, the labels weren't properly deleted right after a player enters death mode (custom system). Instead, they were deleted on spawn, which means that if the player leaves the server while in death mode, that ID will still have the label attached to them unless they mask and unmask themselves afterwards. It also seems like I was lacking the required code under OnPlayerDisconnect to prevent that.
Thank you both for your replies and for helping brainstorm this together, I'll make sure to rep you both.