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

What do I need to do different

Discussion in 'Plugin Help' started by Jenno, Jan 23, 2020.

  1. Jenno

    Jenno Spider Jockey

    Messages:
    36
    GitHub:
    Jenno
  2. HimbeersaftLP

    HimbeersaftLP Fish

    Messages:
    2,402
    GitHub:
    HimbeersaftLP
    I'm fairly certain that your code should show an error in your console, because you use $player in line 99, but that variable isn't defined. Use $event->getPlayer() instead.
     
    Mr174 likes this.
  3. Jenno

    Jenno Spider Jockey

    Messages:
    36
    GitHub:
    Jenno
    I'm not getting any errors I'll try when I get home
     
  4. DataLion

    DataLion Spider

    Messages:
    11
    GitHub:
    dataliontje
    HimbeersaftLP likes this.
  5. Jenno

    Jenno Spider Jockey

    Messages:
    36
    GitHub:
    Jenno
  6. DataLion

    DataLion Spider

    Messages:
    11
    GitHub:
    dataliontje
    Log something on that event.
    Because if that doesn't work I'm not even sure it actually runs the code.
     
  7. DataLion

    DataLion Spider

    Messages:
    11
    GitHub:
    dataliontje
    HimbeersaftLP 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.