function onSay(player, words, param)
if not player:getGroup():getAccess() then
return true
end
local x, y, z = param:match("(%d+), (%d+), (%d+)")
local position = Position(tonumber(x), tonumber(y), tonumber(z))
if position then
player:teleportTo(position)
end
return false
end
Not working plus no console errorsLUA:function onSay(player, words, param) if not player:getGroup():getAccess() then return true end local x, y, z = param:match("(%d+), (%d+), (%d+)") local position = Position(tonumber(x), tonumber(y), tonumber(z)) if position then player:teleportTo(position) end return false end
OMG THANK YOUUUUYou should check position.lua at TFS repository.