07.09.2014, 10:58
how i can when im connect to my server is show me hp and armour bar how to disabled it when another player join can see hp & armour bar how to change it +rep who help me!
ShowNameTags(0);
if u want to hide player name Health and armour you can use cmd it will help you
CMD:maskoff(playerid, params[])
{
for(new i = 0; i < MAX_PLAYERS; i++) ShowPlayerNameTagForPlayer(i, playerid, 1);
SendClientMessage(playerid, 0xFF4500AA, "Mask off");
return 1;
}
CMD:maskon(playerid, params[])
{
for(new i = 0; i < MAX_PLAYERS; i++) ShowPlayerNameTagForPlayer(i, playerid, 0);
SendClientMessage(playerid, 0xFF4500AA, "Mask on");
return 1;
}