note Help Needed
This wiki is the result of an ongoing community effort — thank you all for helping!
If you want to provide changes to this page then please click here.
DisableNameTagLOS
Description
Disables the nametag Line-Of-Sight checking so that players can see nametags through objects.
Examples
public OnGameModeInit()
{
DisableNameTagLOS();
return 1;
}
Notes
warning
This can not be reversed until the server restarts.
tip
You can also disable nametags Line-Of-Sight via config.json
"use_nametag_los": false,
Related Functions
- ShowNameTags: Set nametags on or off.
- ShowPlayerNameTagForPlayer: Show or hide a nametag for a certain player.