PlayerShowNameTagForPlayer Method |
This functions allows you to toggle the drawing of player name tags, health bars and armor bars which display above
their head. For use of a similar function like this on a global level,
ShowNameTags(Boolean)
function.
Namespace:
SampSharp.Entities.SAMP
Assembly:
SampSharp.Entities (in SampSharp.Entities.dll) Version: 0.0.0-localbuild+05637d43e9f34d872e453289d4e240c843e43b09
Syntax public void ShowNameTagForPlayer(
EntityId player,
bool show
)
Parameters
- player
- Type: SampSharp.EntitiesEntityId
The player whose name tag will be shown or hidden. - show
- Type: SystemBoolean
True to show name tag, False to hide name tag.
Remarks ShowNameTags(Boolean) must be set to
true to be able to show name tags with
ShowNameTagForPlayer(EntityId, Boolean).
See Also