Click or drag to resize

TextLabel Constructor (String, Color, Vector3, Single, Int32, Boolean)

Initializes a new instance of the TextLabel class.

Namespace:  SampSharp.GameMode.World
Assembly:  SampSharp.GameMode (in SampSharp.GameMode.dll) Version: 0.0.0-localbuild+05637d43e9f34d872e453289d4e240c843e43b09
Syntax
C#
public TextLabel(
	string text,
	Color color,
	Vector3 position,
	float drawDistance,
	int virtualWorld,
	bool testLOS
)

Parameters

text
Type: SystemString
The text.
color
Type: SampSharp.GameMode.SAMPColor
The color.
position
Type: SampSharp.GameModeVector3
The position.
drawDistance
Type: SystemSingle
The draw distance.
virtualWorld
Type: SystemInt32
The virtual world.
testLOS
Type: SystemBoolean
if set to true the line of sight should be tested before drawing.
See Also