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.
wskazówka
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.