1
0

Added a function that allows you to change the /back coordinates.

git-svn-id: http://mc-server.googlecode.com/svn/trunk@1630 0a769ca7-a7f5-676a-18bf-c427514a06d6
This commit is contained in:
nielsbreu@gmail.com
2013-06-28 18:43:29 +00:00
parent beb36ee149
commit cff6ff2223
5 changed files with 9 additions and 9 deletions

View File

@@ -1,8 +1,6 @@
function HandleSpawnCommand( Split, Player )
World = Player:GetWorld()
X[Player:GetName()] = Player:GetPosX()
Y[Player:GetName()] = Player:GetPosY()
Z[Player:GetName()] = Player:GetPosZ()
SetBackCoordinates( Player )
Player:TeleportTo( World:GetSpawnX(), World:GetSpawnY(), World:GetSpawnZ() )
LOGINFO( Player:GetName() .. " returned to spawn." )
return true