summaryrefslogtreecommitdiffstats
path: root/Core/spawn.lua
blob: 2b07c57678e00d21567636dbf80b29e457ae7276 (plain) (blame)
1
2
3
4
5
6
7
function HandleSpawnCommand(Split, Player)
	World = Player:GetWorld()
	SetBackCoordinates(Player)
	Player:TeleportToCoords(World:GetSpawnX(), World:GetSpawnY(), World:GetSpawnZ())
	LOGINFO(Player:GetName() .. " returned to spawn.")
	return true
end