public interface

PlayerObject

implements PlayerRelated SampObject
net.gtaun.shoebill.object.PlayerObject

Summary

Constants
int INVALID_ID
[Expand]
Inherited Constants
From interface net.gtaun.shoebill.object.SampObject
Public Methods
abstract static PlayerObject create(Player player, int modelId, Location loc, Vector3D rot)
Create a SampObject for Player with params.
abstract static PlayerObject create(Player player, int modelId, Location loc, Vector3D rot, float drawDistance)
Create a SampObject for Player with params.
abstract static PlayerObject create(Player player, int modelId, float x, float y, float z, float rx, float ry, float rz)
Create a SampObject for Player with params.
abstract static PlayerObject create(Player player, int modelId, float x, float y, float z, float rx, float ry, float rz, float drawDistance)
Create a SampObject for Player with params.
abstract static PlayerObject create(Player player, int modelId, Location loc, float rx, float ry, float rz)
Create a SampObject for Player with params.
abstract static PlayerObject create(Player player, int modelId, Location loc, float rx, float ry, float rz, float drawDistance)
Create a SampObject for Player with params.
abstract static Collection<PlayerObject> get(Player player)
abstract static PlayerObject get(Player player, int id)
abstract void setPlayerObjectNoCameraCol()
[Expand]
Inherited Methods
From interface net.gtaun.shoebill.object.Destroyable
From interface net.gtaun.shoebill.object.PlayerRelated
From interface net.gtaun.shoebill.object.Proxyable
From interface net.gtaun.shoebill.object.SampObject

Constants

public static final int INVALID_ID

Constant Value: 65535 (0x0000ffff)

Public Methods

public static abstract PlayerObject create (Player player, int modelId, Location loc, Vector3D rot)

Create a SampObject for Player with params. If the Creation fails, it will throw a CreationFailedException.

Parameters
player The Player who sees the Object.
modelId Modelid of the Object.
loc Location where the Object should be.
rot Rotation-Position where the Object should be.
Returns
  • The created PlayerObject.

public static abstract PlayerObject create (Player player, int modelId, Location loc, Vector3D rot, float drawDistance)

Create a SampObject for Player with params. If the Creation fails, it will throw a CreationFailedException.

Parameters
player The Player who sees the Object.
modelId Modelid of the Object.
loc Location where the Object should be.
rot Rotation-Position where the Object should be.
drawDistance The Drawdistance of the Object.
Returns
  • The created PlayerObject.

public static abstract PlayerObject create (Player player, int modelId, float x, float y, float z, float rx, float ry, float rz)

Create a SampObject for Player with params. If the Creation fails, it will throw a CreationFailedException.

Parameters
player The Player who sees the Object.
modelId Modelid of the Object.
x X-Pos where the Object should be.
y Y-Pos where the Object should be.
z Z-Pos where the Object should be.
rx Rotation-X where the Object should be.
ry Rotation-Y where the Object should be.
rz Rotation-Z where the Object should be.
Returns
  • The created PlayerObject.

public static abstract PlayerObject create (Player player, int modelId, float x, float y, float z, float rx, float ry, float rz, float drawDistance)

Create a SampObject for Player with params. If the Creation fails, it will throw a CreationFailedException.

Parameters
player The Player who sees the Object.
modelId Modelid of the Object.
x X-Pos where the Object should be.
y Y-Pos where the Object should be.
z Z-Pos where the Object should be.
rx Rotation-X where the Object should be.
ry Rotation-Y where the Object should be.
rz Rotation-Z where the Object should be.
drawDistance The Drawdistance of the Object.
Returns
  • The created PlayerObject.

public static abstract PlayerObject create (Player player, int modelId, Location loc, float rx, float ry, float rz)

Create a SampObject for Player with params. If the Creation fails, it will throw a CreationFailedException.

Parameters
player The Player who sees the Object.
modelId Modelid of the Object.
loc Location where the Object should be.
rx Rotation-X where the Object should be.
ry Rotation-Y where the Object should be.
rz Rotation-Z where the Object should be.
Returns
  • The created PlayerObject.

public static abstract PlayerObject create (Player player, int modelId, Location loc, float rx, float ry, float rz, float drawDistance)

Create a SampObject for Player with params. If the Creation fails, it will throw a CreationFailedException.

Parameters
player The Player who sees the Object.
modelId Modelid of the Object.
loc Location where the Object should be.
rx Rotation-X where the Object should be.
ry Rotation-Y where the Object should be.
rz Rotation-Z where the Object should be.
drawDistance The Drawdistance of the Object.
Returns
  • The created PlayerObject.

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

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

public abstract void setPlayerObjectNoCameraCol ()