Click or drag to resize

PlayerTextDraw Constructor (BasePlayer, Vector2, String, TextDrawFont, Color)

Initializes a new instance of the PlayerTextDraw class.

Namespace:  SampSharp.GameMode.Display
Assembly:  SampSharp.GameMode (in SampSharp.GameMode.dll) Version: 0.0.0-localbuild+05637d43e9f34d872e453289d4e240c843e43b09
Syntax
C#
public PlayerTextDraw(
	BasePlayer owner,
	Vector2 position,
	string text,
	TextDrawFont font,
	Color foreColor
)

Parameters

owner
Type: SampSharp.GameMode.WorldBasePlayer
The owner of the player-textdraw.
position
Type: SampSharp.GameModeVector2
The position of the player-textdraw on the screen.
text
Type: SystemString
The text of the player-textdraw.
font
Type: SampSharp.GameMode.DefinitionsTextDrawFont
The TextDrawFont of the player-textdraw.
foreColor
Type: SampSharp.GameMode.SAMPColor
The foreground Color of the player-textdraw.
See Also