Hey!
Is there a way to don’t display the people over head ID if they are behind a wall/object that covers them?
The people sometimes abuses it, so they know that someone is behind that wall, in bank robberies, as example.
Thank you!
(Sorry for the bad english, i’m Brazilian).
Hm. Maybe a raycast could possibly help? I wouldn’t knoe unless i really looked into it.
Raycast probably is something to look at.
But, does the script can “listen” to where objects are? (sync object positions). I mean, maybe the player is hiding over a trashcan, etc.
The raycast can be positioned with an offset and you are already listening for the other players position otherwise the text wouldnt be over their head.
I think the playernames resource that comes with the server resources already has this functionality built in. You could take a look at that.
Are you sure? Didn’t find it
“HasEntityClearLosToEntity” is the function of “player visible”?
It really works?
I think that this code don’t check if there’s something between the players.
LOS means line of sight. It is exactly what it checks.
It don’t work sometimes. If you get closer to the player, it shows the ID over the wall.