If you want to set a certain spot for a player to warp to or warp a player to this is a good script for you!
If you want to know were the coordinates that you are standing on then type in "/Coords" and remember the first number is your x and the second number is the y value.PHP Code:
//#CLIENTSIDE
function onCreated() {
this.a = {player.x, player.y,}; // our array
}
//declaring what this.a is wo we can use it later
function onPlayerChats() {
if(player.chat == "/Coords") {
player.chat = this.a;
}
}
//if you use the command /Coords it will give you your x and y
Feel free to use it.
Feel free to tell me how i can simplify it any feedback is much appreciated.