Thread: 1 Question

Results 1 to 2 of 2
  1. #1
    pasa4233's Avatar
    Join Date
    Sep 2010
    Gender
    male
    Posts
    11
    Reputation
    10
    Thanks
    0
    My Mood
    Confused

    1 Question

    What do command : foreach ( player in level.players ) ??

  2. #2
    Arasonic's Avatar
    Join Date
    Jun 2010
    Gender
    male
    Posts
    569
    Reputation
    11
    Thanks
    115
    What it does?
    for example, if you did:

    foreach(player in level.players)
    {
    player thread sayHello();
    }

    It would make all the players in the game do that thread.