Scramble Player Locations

Discussion in 'Plugin Development' started by ksbdude, Feb 24, 2014.

Thread Status:
Not open for further replies.
  1. Offline

    ksbdude

    Im looking for an easy way to spread players over an area.
    I have my new minigame plugin im working on teleport all players to one location when they join. I would rather that they be spreadout over the map. If I could do this without having to set a ton of spawn points all over the map that would be great. This way you cant spawn kill!
     
  2. Offline

    Niknea

    ksbdude You can a make a random integer, and create a switch statement that checks which number they got, and teleport them to a different location for each number.
     
  3. Offline

    ksbdude

    Niknea
    Thats a good idea. I have not messed with switch statements so I will still need to look into doing that. Thanks
     
Thread Status:
Not open for further replies.

Share This Page