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:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user