Nd_ Posted July 20, 2019 Share Posted July 20, 2019 How do you check if a player is within a set of coordinates? Link to comment Share on other sites More sharing options...
SoloStrafe Posted July 21, 2019 Share Posted July 21, 2019 I don't know if you can, but you can check if they are in an exact block, every 1 tick: loop all players: if loop-player's location is "0, 0, 0": do something I am not sure if this works, I'm just guessing its going to be something along those lines Hello! I'm SoloStrafe! Skills: Skript (4+ years experience) Most of the plugins on MH Servers: - Westmine (Developer) - Mineport (Admin) Minehut: I got VIP rank on 8/1/2019 -> Current Link to comment Share on other sites More sharing options...
Nd_ Posted July 21, 2019 Author Share Posted July 21, 2019 3 minutes ago, SoloStrafe said: I don't know if you can, but you can check if they are in an exact block, every 1 tick: loop all players: if loop-player's location is "0, 0, 0": do something I am not sure if this works, I'm just guessing its going to be something along those lines Ok, Thanks! Link to comment Share on other sites More sharing options...
xlr100 Posted July 26, 2019 Share Posted July 26, 2019 You can try to loop entities between 2 locations, never tried that thought. Easiest way is to just check his region Link to comment Share on other sites More sharing options...
Nd_ Posted July 27, 2019 Author Share Posted July 27, 2019 On 7/26/2019 at 2:42 AM, OMan100 said: You can try to loop entities between 2 locations, never tried that thought. Easiest way is to just check his region I found out that you can do player's x coordinate is between -5.5 and 14.5: for each Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now