warning Not Translated
This page has not been translated into the language that your browser requested yet. The English content is being shown as a fallback.
If you want to contribute a translation for 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.