ShowNameTags

From SA-MP Wiki

Jump to: navigation, search


Description:

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


Parameters:
(enabled)
enabled0 to disable, 1 to enable (enabled by default).


Return Values:

This function does not return any specific values.


Image:32px-Circle-style-warning.png

Important
Note

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


Example Usage:

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

Related Functions

The following functions may be useful, as they are related to this function in one way or another.

Personal tools
Navigation
Toolbox