Make a globalevent script over the teleport
Name this effect.lua
local config = {
positions = {
["Trainers"] = { x = 32372, y = 32243, z = 7 },
},
effects = {
CONDITION_PARAM_DELAYED
}
}
function onThink(cid, interval, lastExecution)
for text, pos in pairs(config.positions) do...