- Documentation
- Server functions
- setPlayerNametagShowing
Function
setPlayerNametagShowing
Shows or hides the player's nametag.
Syntax
bool setPlayerNametagShowing(player thePlayer, bool showing)Arguments
thePlayerplayer- The player.
showingboolfalsehides it.
Returns
true on success.
Example
addCommandHandler("incognito", function(player)
setPlayerNametagShowing(player, false)
end)