mp.events.addCommand('tp', (player, _, x, y ,z) => {
if (!isNaN(parseFloat(x)) && !isNaN(parseFloat(y)) && !isNaN(parseFloat(z)))
player.position = new mp.Vector3(parseFloat(x),parseFloat(y),parseFloat(z));
else
player.outputChatBox(`/tp [x] [y] [z]`);
});