Solved .

Discussion in 'Development' started by LewBr, Oct 2, 2017.

  1. LewBr

    LewBr Zombie

    Messages:
    385
    GitHub:
    lewbr
    How do i set armor to an individual Task AddPlayerPacket? whit $pk->item?
    Help?
     
    MasterPE likes this.
  2. jasonwynn10

    jasonwynn10 Moderator Poggit Reviewer

    Messages:
    1,490
    GitHub:
    jasonwynn10
    AddPlayerPacket adds a player to the client it's sent to when all the fields are filled properly. It doesn't do anything with armour
     
  3. LewBr

    LewBr Zombie

    Messages:
    385
    GitHub:
    lewbr
    Whit this code.. how can i add armour into that entity?
     
    Last edited: Oct 8, 2017
  4. LewBr

    LewBr Zombie

    Messages:
    385
    GitHub:
    lewbr
    Please anyone?
     
    MasterPE likes this.
  5. HimbeersaftLP

    HimbeersaftLP Fish

    Messages:
    2,401
    GitHub:
    HimbeersaftLP

    uSE cOdE bOcKS!!1!1!1!1!1
     
  6. jasonwynn10

    jasonwynn10 Moderator Poggit Reviewer

    Messages:
    1,490
    GitHub:
    jasonwynn10
    You can't :facepalm:
     
  7. Muqsit

    Muqsit Chicken

    Messages:
    1,548
    GitHub:
    muqsit
    Why do you want to set armor to a FloatingTextParticle ripoff? It won't be visible, and even if it did, the entity size is decreased by a factor of 100. 99%100% accurate statistics of the players won't notice that tiny steve skin player.
     
  8. LewBr

    LewBr Zombie

    Messages:
    385
    GitHub:
    lewbr
    I know that he is invisible dã but i want to give armour to an invisible entity.. Please help-me -.-
     
  9. LewBr

    LewBr Zombie

    Messages:
    385
    GitHub:
    lewbr
    Why? I want to give to a invisible entity, why i can't? whit $pk->item the sword are visible! :)
     
    MasterPE likes this.
  10. Muqsit

    Muqsit Chicken

    Messages:
    1,548
    GitHub:
    muqsit
    Can you draw a rough sketch of what you are thinking? Mob*EquipmentPacket would have answered your question but then the 0.01 scale is a problem.
     
  11. jasonwynn10

    jasonwynn10 Moderator Poggit Reviewer

    Messages:
    1,490
    GitHub:
    jasonwynn10
    You can't because you are using the wrong packet
     
  12. LewBr

    LewBr Zombie

    Messages:
    385
    GitHub:
    lewbr
    Then tell me the packet i need to use for this..
     
  13. jasonwynn10

    jasonwynn10 Moderator Poggit Reviewer

    Messages:
    1,490
    GitHub:
    jasonwynn10

Share This Page

  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.