Click or drag to resize

IWorldServiceCreateTextDraw Method

Creates a textdraw in the world.

Namespace:  SampSharp.Entities.SAMP
Assembly:  SampSharp.Entities (in SampSharp.Entities.dll) Version: 0.0.0-localbuild+05637d43e9f34d872e453289d4e240c843e43b09
Syntax
C#
TextDraw CreateTextDraw(
	Vector2 position,
	string text,
	EntityId parent = default
)

Parameters

position
Type: SampSharp.Entities.SAMPVector2
The position of the textdraw.
text
Type: SystemString
The text of the textdraw.
parent (Optional)
Type: SampSharp.EntitiesEntityId
The parent of the entity to be created.

Return Value

Type: TextDraw
The created textdraw.
See Also