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

making join queue

Discussion in 'Plugin Help' started by zenqibruh, Sep 20, 2021.

  1. zenqibruh

    zenqibruh Spider Jockey

    Messages:
    36
    GitHub:
    ohitszenqi
    Btw i placed public static $queued;
    Is it ok?
     
  2. minijaham

    minijaham Skeleton

    Messages:
    801
    GitHub:
    minijaham
    No...
    You would do self::$queued in that case, then.
     
    Agent likes this.
  3. zenqibruh

    zenqibruh Spider Jockey

    Messages:
    36
    GitHub:
    ohitszenqi
    So what should i put then?
     

    Attached Files:

  4. minijaham

    minijaham Skeleton

    Messages:
    801
    GitHub:
    minijaham
    Show me your line 42
     
    Agent likes this.
  5. zenqibruh

    zenqibruh Spider Jockey

    Messages:
    36
    GitHub:
    ohitszenqi
     

    Attached Files:

  6. minijaham

    minijaham Skeleton

    Messages:
    801
    GitHub:
    minijaham
    You still didn't change your variables.
    Change all of them to self::$queued[]
     
    Agent likes this.
  7. zenqibruh

    zenqibruh Spider Jockey

    Messages:
    36
    GitHub:
    ohitszenqi
    wdym so i gonna change it to
    $bruh = count($this->self::queued[])
    //Or
    $queued = self::queued[]
     
  8. minijaham

    minijaham Skeleton

    Messages:
    801
    GitHub:
    minijaham
    To $bruh = count(self::queued[])
     
    Agent likes this.
  9. zenqibruh

    zenqibruh Spider Jockey

    Messages:
    36
    GitHub:
    ohitszenqi
    Screenshot_20210923-212619_PocketMine-MP.jpg Screenshot_20210923-212614_Spck Editor.jpg Screenshot_20210923-212610_Spck Editor.jpg
    thank u dude for ur answers but still i still got error
     
  10. zenqibruh

    zenqibruh Spider Jockey

    Messages:
    36
    GitHub:
    ohitszenqi
    Yo....
     
  11. minijaham

    minijaham Skeleton

    Messages:
    801
    GitHub:
    minijaham
    $bruh = count(self::$queued[])

    My bad.
     
    Agent likes this.
  12. zenqibruh

    zenqibruh Spider Jockey

    Messages:
    36
    GitHub:
    ohitszenqi
    Bruh i think he can't read [] since i didn't put public stat $queued[]
    Or i need $queued = array(self::queued) ????????
     

    Attached Files:

  13. minijaham

    minijaham Skeleton

    Messages:
    801
    GitHub:
    minijaham
    Use public $queued = []
    and use $this->queued[] for calling it.

    Why do you have to change everything we tell you?
     
    Agent likes this.
  14. zenqibruh

    zenqibruh Spider Jockey

    Messages:
    36
    GitHub:
    ohitszenqi
    Screenshot_20210924-170322_PocketMine-MP.jpg Screenshot_20210924-170202_Spck Editor.jpg Screenshot_20210924-170158_Spck Editor.jpg
    sorry my dude wasn't paying attention of my code sorry... btw he still can't read it
     
  15. minijaham

    minijaham Skeleton

    Messages:
    801
    GitHub:
    minijaham
    Agent likes this.
  16. zenqibruh

    zenqibruh Spider Jockey

    Messages:
    36
    GitHub:
    ohitszenqi
    Wdym?
     
  17. zenqibruh

    zenqibruh Spider Jockey

    Messages:
    36
    GitHub:
    ohitszenqi
    I think its a variable,
    like
    public function myfunction($bruh) {
    return $bruh;
    }
    myfunction("What da dog doin")
    output:
    What da dog doin
    Basically its an variable to the function to use to trigger it.
    I kinda know java script so yeah but i still don't know all of it.
     
  18. Axon

    Axon Zombie

    Messages:
    276
    Dude, censor IP address before sending them to the forum!!
    There are on the screenshots you’ve sent
     
    Agent likes this.
  19. Axon

    Axon Zombie

    Messages:
    276
    Nevermind, they are local ip addresses.
     
    Agent likes this.
  20. minijaham

    minijaham Skeleton

    Messages:
    801
    GitHub:
    minijaham
    Send me what upload_2021-9-24_19-21-55.png
    is
     
    Agent 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.