24.10.2014, 21:32
plesae how to disabled hp & armour bar when i set ShowNameTags to 0 will not show the name plesae help with it!
ShowPlayerNametag(i, playerid, 0)
public OnGameModeInit()
{
// This will fully disable all player nametags
// (including health and armour bars)
ShowNameTags(0);
}
for(new i = 0; i < MAX_PLAYERS; i++)
{
if(IsPlayerConnected(i))
{
ShowPlayerNameTag(i, playerid, 0);
}
}