முதன்மை உள்ளடக்கத்துக்குச் செல்லவும்

ShowNameTags

Description​

Toggle the drawing of nametags, health bars and armor bars above players.

NameDescription
bool:show'false' to disable, 'true' to enable (enabled by default).

Returns​

This function does not return any specific values.

Examples​

public OnGameModeInit()
{
// This will fully disable all player nametags
// (including health and armour bars)
ShowNameTags(false);
}

Notes​

எச்சரிக்கை

This function can only be used in OnGameModeInit. For other times, see ShowPlayerNameTagForPlayer.

உதவிக்குறிப்பு

You can also toggle player nametags via config.json

"use_nametags": false,