2013-07-27 16:24:03 +01:00
|
|
|
function HandleSpawnCommand(Split, Player)
|
2013-08-11 16:00:53 +01:00
|
|
|
|
2013-07-27 16:24:03 +01:00
|
|
|
World = Player:GetWorld()
|
|
|
|
|
SetBackCoordinates(Player)
|
|
|
|
|
Player:TeleportToCoords(World:GetSpawnX(), World:GetSpawnY(), World:GetSpawnZ())
|
2013-08-11 16:00:53 +01:00
|
|
|
SendMessageSuccess( Player, "Returned to world spawn" )
|
2013-07-27 16:24:03 +01:00
|
|
|
return true
|
2013-08-11 16:00:53 +01:00
|
|
|
|
|
|
|
|
end
|