xPlayer.setCoords

1
xPlayer.setCoords(coords)

This function sets the player's coords (teleports)

参数

参数 数据类型 数据类型 默认值 说明
coords table&vector3 No - The coords to be teleported to. Supports both vector3 and table types. If using a table type you can also specify heading to set the entity heading upon teleportation