1. How get all sleepers? If i used BasePlayers.sleepingPlayerList, i get sleepers which enter the game and started sleeping
    soory, my bad english(
     
  2. Wulf

    Wulf Community Admin

    You'd need to use reflection with C# to get it likely as it was private last I saw.
     
  3. can you give me an example or direction
     
  4. Wulf

    Wulf Community Admin

  5. i know, but where allsleepingList? in baseplayer claas or other?
     
  6. Wulf

    Wulf Community Admin

    It's where you pasted in your first post.
     
  7. Err, no? I'm using it now, and a few plugins also use it without reflection, (plugins which add sleepers directly to the list, N-Teleportation, maybe?) it's just:
    Code:
    BasePlayer.sleepingPlayerList
    Which is also what he mentioned above, it almost sounds like maybe it's not doing what he wants. Not sure.
     
  8. It's public and static, so you won't need reflection.
    At OP: What are you looking for specifically? Sleeping players and dead players as one?
     
  9. Wulf

    Wulf Community Admin

    Hmmm, I think I mixed it up with Rust Legacy. :p