DisableNameTagLOS

Tags:

WARNING

This function was added in SA-MP 0.3a and will not work in earlier versions!

Description

Disables the nametag Line-Of-Sight checking so that players can see nametags through objects.

Name Description

Examples

public OnGameModeInit()
{
    DisableNameTagLOS();
    return 1;
}

Notes

WARNING

This can not be reversed until the server restarts.

  • ShowNameTags: Set nametags on or off.
  • ShowPlayerNameTagForPlayer: Show or hide a nametag for a certain player.