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

Check player are in a task

Discussion in 'Help' started by ZackyVN, Dec 28, 2018.

  1. ZackyVN

    ZackyVN Baby Zombie

    Messages:
    150
    So i want to check if player are in a task
    Example:
    When a player is in a task name "Particles1". He cant join other task
     
  2. BLOCKSTORM

    BLOCKSTORM Witch

    Messages:
    67
    Can you give us example code? I don't understand your question
     
  3. corytortoise

    corytortoise Skeleton

    Messages:
    825
    GitHub:
    corytortoise
    Going off of what I think you mean, I would add an identifier for the player, like the name, and save it in an array when the task is started. Then, you can check that array when starting other tasks.
     
  4. ZackyVN

    ZackyVN Baby Zombie

    Messages:
    150
    thanks!
     
  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.