First commit
This commit is contained in:
		@@ -0,0 +1,14 @@
 | 
			
		||||
function onSay(player, words, param)
 | 
			
		||||
	if not player:getGroup():getAccess() then
 | 
			
		||||
		return true
 | 
			
		||||
	end
 | 
			
		||||
 | 
			
		||||
	local target = Creature(param)
 | 
			
		||||
	if target == nil then
 | 
			
		||||
		player:sendCancelMessage("Creature not found.")
 | 
			
		||||
		return false
 | 
			
		||||
	end
 | 
			
		||||
 | 
			
		||||
	player:teleportTo(target:getPosition())
 | 
			
		||||
	return false
 | 
			
		||||
end
 | 
			
		||||
		Reference in New Issue
	
	Block a user