MP_GAMER_TAG does not stick to "dead" people

Hi!
For some reason when a player is knocked out / dead their ID over the head disappear, here is the code:
https://ghostbin.com/paste/ybc9g

Any ideas on why it does this?

The “knocked” out script, does that “kill” the player and stop that player from respawning or does it set the health to a very low value and use animations to “lay” the person down? Maybe if the ped is dead the player tags are hardcoded to be invisible in GTA itself.

Not sure, I am helping out on another server and make some small scripts for them and at the same time I get to experiement with Lua.
Also there is another problem, after a while it stops displaying new players ID for some odd reason.