| WorldServiceCreateTextLabel Method  | 
 
            Creates a text label in the world.
            
 
    Namespace: 
   SampSharp.Entities.SAMP
    Assembly:
   SampSharp.Entities (in SampSharp.Entities.dll) Version: 0.0.0-localbuild+05637d43e9f34d872e453289d4e240c843e43b09
 Syntax
Syntaxpublic TextLabel CreateTextLabel(
	string text,
	Color color,
	Vector3 position,
	float drawDistance,
	int virtualWorld = 0,
	bool testLos = true,
	EntityId parent = default
)
Parameters
- text
- Type: SystemString
 The text.
- color
- Type: SampSharp.Entities.SAMPColor
 The color.
- position
- Type: SampSharp.Entities.SAMPVector3
 The position.
- drawDistance
- Type: SystemSingle
 The draw distance.
- virtualWorld (Optional)
- Type: SystemInt32
 The virtual world.
- testLos (Optional)
- Type: SystemBoolean
 if set to true the line of sight is tested to decide whether the label is drawn.
- parent (Optional)
- Type: SampSharp.EntitiesEntityId
 The parent of the entity to be created.
Return Value
Type: 
TextLabelThe created text label.
Implements
IWorldServiceCreateTextLabel(String, Color, Vector3, Single, Int32, Boolean, EntityId) See Also
See Also