DisableNameTagLOS
From SA-MP Wiki
DisableNameTagLOS
Warning: This function was added in SA-MP version 0.3. It is not available in previous versions.
Disables the nametag Line-Of-Sight checking so players can see nametags through objects.
This function has no parameters
This function does not return a specific value.
Important Note: This can not be reversed until the server restarts.
public OnGameModeInit() { DisableNameTagLOS(); return 1; }
Related Functions
The following functions might be useful as well, as they're related to this function in one way or another.
- ShowNameTags: Set nametags on or off.
- ShowPlayerNameTagForPlayer: Show or hide a nametag for a certain player.
