Teleport a player do a random chosen location

Discussion in 'Plugin Development' started by Laserflip, Jul 21, 2015.

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

    Laserflip

    Hello everyone! Today I'm asking you a question : how can I teleport randomly a player to one of my chosen locations?

    Si if you don't understand I have four differents locations, four rooms. I would like to teleport the player to one of the four locations, randomly, when he press a button or right click on sign, it doesn't matter.

    Do you know a plugin or an alternative which can do this job?

    Thanks a lot!

    Best regards,
     
  2. @Laserflip Are you asking how to make it or are you trying to get a plugin for this?
     
  3. Offline

    Laserflip

    I'm asking how to make it AND if a plugin exist, yes.
     
  4. @Laserflip Have your four locations and use a Random to choose from 0-3 or 1-4 and assign a location to each number then let it just pick a location.
     
    Last edited by a moderator: Jul 21, 2015
  5. Offline

    Laserflip

    Exactly ;)
     
  6. Offline

    Laserflip

    Nobody know? :(
     
  7. Offline

    cfil360

    @Laserflip @bwfcwalshy told you. The goal of these forums isn't just to spoon feed you code. He explained the concept to you, now it is your job to go and find the syntax to design this plugin.
     
Thread Status:
Not open for further replies.

Share This Page