Closed Awide closed 3 years ago
Try this: https://team.sa-mp.com/wiki/ShowPlayerNameTagForPlayer.html
// hide health bar of npcid to playerid
ShowPlayerNameTagForPlayer(playerid, npcid, false);
Thanks for the tip, I tried! It did not do anything. _FCNPCShowInTabListForPlayer works though, but then they are shown in the tablist.
Oh, it's a sa-mp feature. You cannot show the name of the NPC. Tablist function is everything what you can get. Also you can use 3D text to display the name of the NPC.
It would be nice to have a function that shows or hides the NPC's health/armour bars per player.