SampSharp
SampSharp
SampSharp.Entities.SAMP
WorldService Class
WorldService Methods
AddStaticPickup Method
CreateActor Method
CreateExplosion Method
CreateGangZone Method
CreateMenu Method
CreateObject Method
CreatePickup Method
CreatePlayerObject Method
CreatePlayerTextDraw Method
CreatePlayerTextLabel Method
CreateStaticVehicle Method
CreateTextDraw Method
CreateTextLabel Method
CreateVehicle Method
GameText Method
SendClientMessage Method
SendDeathMessage Method
SendPlayerMessageToPlayer Method
SetObjectsDefaultCameraCollision Method
SetWeather Method
WorldService
CreateTextDraw 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#
Copy
public
TextDraw
CreateTextDraw
(
Vector2
position
,
string
text
,
EntityId
parent
=
default
)
Parameters
position
Type:
SampSharp.Entities.SAMP
Vector2
The position of the textdraw.
text
Type:
System
String
The text of the textdraw.
parent
(Optional)
Type:
SampSharp.Entities
EntityId
The parent of the entity to be created.
Return Value
Type:
TextDraw
The created textdraw.
Implements
IWorldService
CreateTextDraw(Vector2, String, EntityId)
See Also
Reference
WorldService Class
SampSharp.Entities.SAMP Namespace