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

How do I get a random player from all players?

Discussion in 'Development' started by Hoyee, Mar 22, 2020.

  1. Hoyee

    Hoyee Baby Zombie

    Messages:
    126
    How can?

    and additionally, How can I get one of it from array(?) too?

    like

    $abcde[
    "a"
    "b"
    "c"
    "d"
    "e"
    ];

    in here, how can I get only one of it?


    so my purpose is to make

    like

    a:
    - player1

    b:
    - player2

    this.
     
  2. Provsnoobgaming

    Provsnoobgaming Baby Zombie

    Messages:
    134
    GitHub:
    provsalt
    ethaniccc and GamakCZ like 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.