1
0

Core: Updated with new features (contributed by STR_Warrior)

http://forum.mc-server.org/showthread.php?tid=4&pid=6634#pid6634

git-svn-id: http://mc-server.googlecode.com/svn/trunk@1235 0a769ca7-a7f5-676a-18bf-c427514a06d6
This commit is contained in:
madmaxoft@gmail.com
2013-03-02 14:43:46 +00:00
parent e4a0c284c1
commit 476cd25ade
8 changed files with 56 additions and 11 deletions

View File

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