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

Interact button

Discussion in 'Development' started by Sandertv, Dec 16, 2016.

  1. Sandertv

    Sandertv Zombie Pigman Poggit Reviewer

    Messages:
    786
    GitHub:
    Sandertv
    Hello!
    So I'm working on a plugin which allows shearing sheep, and as I was making it I wondered what happens if you tap the button that shows up when getting near the sheep. Does it fire the playerInteractEvent when tapping it? Or is this not implemented in PM yet?

    Thanks in advance :)
     
  2. dktapps

    dktapps Administrator Staff Member PMMP Team

    Messages:
    774
    GitHub:
    dktapps
    Skullex, Muqsit, imYannic and 4 others like this.
  3. Sandertv

    Sandertv Zombie Pigman Poggit Reviewer

    Messages:
    786
    GitHub:
    Sandertv
  4. Sandertv

    Sandertv Zombie Pigman Poggit Reviewer

    Messages:
    786
    GitHub:
    Sandertv
    It works exactly the way it's supposed to, thanks @dktapps!
     
    dktapps likes this.
  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.