1. The forums will be archived and moved to a read only mode in about 2 weeks (mid march).

AddPlayerPacket

Discussion in 'Development' started by VentroxStudio, Dec 30, 2016.

  1. VentroxStudio

    VentroxStudio Witch

    Messages:
    71
    Hi,
    Today I played a little bit with the AddPlayerPacket. I successfully added
    my Skin with an item in his hand to my world.

    Is it possible to add a skin from a folder in my plugin? And can I make the skin move his hat?
    (The hat should follow a near player)
    Something like this:
    PHP:
    if($npc->distance($player)<=10)
    {
    $npc->look($player);
    }

    I added the Item with:
    PHP:
    $pk->item Item::get(276);
     
    Last edited: Dec 30, 2016
  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.