Table of Contents

Interface ITextLabelsComponent.IManagedInterface

Namespace
SampSharp.OpenMp.Core.Api
Assembly
SampSharp.OpenMp.Core.dll

Represents the managed interface implemented by its unmanaged counterpart.

public interface ITextLabelsComponent.IManagedInterface : IUnmanagedInterface
Inherited Members

Methods

Create(string, Colour, Vector3, float, int, bool)

Creates a new text label with the specified properties.

ITextLabel Create(string text, Colour colour, Vector3 pos, float drawDist, int vw, bool los)

Parameters

text string

The text to display in the label.

colour Colour

The color of the text label.

pos Vector3

The position of the text label.

drawDist float

The draw distance for the text label.

vw int

The virtual world in which the text label is visible.

los bool

A value indicating whether the text label requires line of sight to be visible.

Returns

ITextLabel

The created text label.

Create(string, Colour, Vector3, float, int, bool, IPlayer)

Creates a new text label attached to a player with the specified properties.

ITextLabel Create(string text, Colour colour, Vector3 pos, float drawDist, int vw, bool los, IPlayer attach)

Parameters

text string

The text to display in the label.

colour Colour

The color of the text label.

pos Vector3

The position of the text label.

drawDist float

The draw distance for the text label.

vw int

The virtual world in which the text label is visible.

los bool

A value indicating whether the text label requires line of sight to be visible.

attach IPlayer

The player to which the text label is attached.

Returns

ITextLabel

The created text label.

Create(string, Colour, Vector3, float, int, bool, IVehicle)

Creates a new text label attached to a vehicle with the specified properties.

ITextLabel Create(string text, Colour colour, Vector3 pos, float drawDist, int vw, bool los, IVehicle attach)

Parameters

text string

The text to display in the label.

colour Colour

The color of the text label.

pos Vector3

The position of the text label.

drawDist float

The draw distance for the text label.

vw int

The virtual world in which the text label is visible.

los bool

A value indicating whether the text label requires line of sight to be visible.

attach IVehicle

The vehicle to which the text label is attached.

Returns

ITextLabel

The created text label.