Click or drag to resize

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-local+709673996c0cc3c0733358a87691d1009326afa7
Syntax
C#
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