1. I'm trying to reference each player and teleport them to random spawn points.

    No idea how to loop through all of them any help would be appreciated (Newb @ Oxide API and stuff lol.)
     
  2. Wulf

    Wulf Community Admin

    Code:
    foreach (var player in BasePlayer.activePlayerList)
        Puts(player.Name);foreach (var sleeper in BasePlayer.sleepingPlayerList)
        Puts(sleeper.Name);
    Everything there except for the Puts is standard C# and a bit of Rust's own Assembly-CSharp.dll. ;)
     
  3. Thank you.