Skip to content

xPlayer.setCoords

xPlayer.setCoords(coords)

This function sets the player's coords (teleports)

Argument

Argument Data Type Optional Default Value Explanation
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