public interface

PlayerLabel

implements Label PlayerRelated
net.gtaun.shoebill.object.PlayerLabel

Summary

Constants
int INVALID_ID
[Expand]
Inherited Constants
From interface net.gtaun.shoebill.object.Label
Public Methods
abstract static PlayerLabel create(Player player, String text, Color color, float x, float y, float z, float drawDistance, boolean testLOS)
Create a Label which is only visible for one player, with params.
abstract static PlayerLabel create(Player player, String text, Color color, Location loc, float drawDistance, boolean testLOS, Vehicle attachedVehicle)
Create a Label which is only visible for one player, with params.
abstract static PlayerLabel create(Player player, String text, Color color, float x, float y, float z, int worldId, float drawDistance, boolean testLOS)
Create a Label which is only visible for one player, with params.
abstract static PlayerLabel create(Player player, String text, Color color, Location loc, float drawDistance, boolean testLOS)
Create a Label which is only visible for one player, with params.
abstract static PlayerLabel create(Player player, String text, Color color, Location loc, float drawDistance, boolean testLOS, Player attachedPlayer)
Create a Label which is only visible for one player, with params.
abstract static Collection<PlayerLabel> get(Player player)
abstract static PlayerLabel get(Player player, int id)
[Expand]
Inherited Methods
From interface net.gtaun.shoebill.object.Destroyable
From interface net.gtaun.shoebill.object.Label
From interface net.gtaun.shoebill.object.PlayerRelated
From interface net.gtaun.shoebill.object.Proxyable

Constants

public static final int INVALID_ID

Constant Value: 65535 (0x0000ffff)

Public Methods

public static abstract PlayerLabel create (Player player, String text, Color color, float x, float y, float z, float drawDistance, boolean testLOS)

Create a Label which is only visible for one player, with params. If the Creation fails, it will throw a CreationFailedException.

Parameters
player The Player who sees the Label.
text The displayed Text.
color The color of the Label.
x X-Pos where the Label should be.
y Y-Pos where the Label should be.
z Z-Pos where the Label should be.
drawDistance The Drawdistance of the Label.
testLOS If the Label can be seen through objects.
Returns
  • The created PlayerLabel.

public static abstract PlayerLabel create (Player player, String text, Color color, Location loc, float drawDistance, boolean testLOS, Vehicle attachedVehicle)

Create a Label which is only visible for one player, with params. If the Creation fails, it will throw a CreationFailedException.

Parameters
player The Player who sees the Label.
text The displayed Text.
color The color of the Label.
loc Location where the Label should be.
drawDistance The Drawdistance of the Label.
testLOS If the Label can be seen through objects.
attachedVehicle The Vehicle where the Label should be attached.
Returns
  • The created PlayerLabel.

public static abstract PlayerLabel create (Player player, String text, Color color, float x, float y, float z, int worldId, float drawDistance, boolean testLOS)

Create a Label which is only visible for one player, with params. If the Creation fails, it will throw a CreationFailedException.

Parameters
player The Player who sees the Label.
text The displayed Text.
color The color of the Label.
x X-Pos where the Label should be.
y Y-Pos where the Label should be.
z Z-Pos where the Label should be.
worldId Worldid where the Label should be.
drawDistance The Drawdistance of the Label.
testLOS If the Label can be seen through objects.
Returns
  • The created PlayerLabel.

public static abstract PlayerLabel create (Player player, String text, Color color, Location loc, float drawDistance, boolean testLOS)

Create a Label which is only visible for one player, with params. If the Creation fails, it will throw a CreationFailedException.

Parameters
player The Player who sees the Label.
text The displayed Text.
color The color of the Label.
loc Location where the Label should be.
drawDistance The Drawdistance of the Label.
testLOS If the Label can be seen through objects.
Returns
  • The created PlayerLabel.

public static abstract PlayerLabel create (Player player, String text, Color color, Location loc, float drawDistance, boolean testLOS, Player attachedPlayer)

Create a Label which is only visible for one player, with params. If the Creation fails, it will throw a CreationFailedException.

Parameters
player The Player who sees the Label.
text The displayed Text.
color The color of the Label.
loc Location where the Label should be.
drawDistance The Drawdistance of the Label.
testLOS If the Label can be seen through objects.
attachedPlayer The Player where the Label should be attached.
Returns
  • The created PlayerLabel.

public static abstract Collection<PlayerLabel> get (Player player)

public static abstract PlayerLabel get (Player player, int id)