ServersYour serverFor creatorsForumFAQDocumentationSecurity
Download the launcher
  1. Documentation
  2. Shared functions
  3. isPlayerNametagShowing

Function

isPlayerNametagShowing

Server and clientPlayersIdentical to MTA:SA

Checks whether the player's nametag is shown.

Syntax

bool isPlayerNametagShowing(player thePlayer)

Arguments

thePlayerplayer
The player.

Returns

true if shown.

Example

setPlayerNametagShowing(player, not isPlayerNametagShowing(player))

See also