2013-07-27 16:24:03 +01:00
|
|
|
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
|