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

getItemInHand

Discussion in 'Facepalm' started by Martti16, Jun 3, 2017.

  1. Martti16

    Martti16 Spider

    Messages:
    14
    GitHub:
    Marttinek
    How to add more ID items?
    if($p->getItemInHand()->getId() === 270){
     
  2. corytortoise

    corytortoise Skeleton

    Messages:
    825
    GitHub:
    corytortoise
    Do you want to check if the Item has one of multiple IDs? Please explain a bit better.
     
  3. Martti16

    Martti16 Spider

    Messages:
    14
    GitHub:
    Marttinek
    Add more items, 250, 260 This is only for 270 sorry for my english i dont like this langue xD
     
  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.