summaryrefslogtreecommitdiffstats
path: root/MCServer/Plugins/Core/locate.lua
blob: 9e0b50d8b8336f98862fad845c8a71a234545bc1 (plain) (blame)
1
2
3
4
function HandleLocateCommand( Split, Player )
	Player:SendMessage(cChatColor.Yellow .. "[INFO] " .. cChatColor.White .. string.format("You are at [X:%0.2f Y:%0.2f Z:%0.2f] in world %s", Player:GetPosX(), Player:GetPosY(), Player:GetPosZ(), Player:GetWorld():GetName()) )
	return true
end