Here is Teleport Effects
1. Go To the Folder Globalevents then script make new file effectile.lua and type this
2.Go To ´globalevents.xml and type this
Here you got Teleport's effects
1. Go To the Folder Globalevents then script make new file effectile.lua and type this
local config = {
positions = {
["Teleports"] = { x = 993, y = 996, z = 7 },
["Deport"] = { x = 1006, y = 996, z = 7 },
["Trainer"] = { x = 993, y = 1000, z = 7 },
},
effects = {
CONDITION_PARAM_DELAYED
}
}
function onThink(cid, interval, lastExecution)
for text, pos in pairs(config.positions) do
doSendMagicEffect(pos, math.random(1, #config.effects))
doSendAnimatedText(pos, text, math.random(1, 255))
end
return TRUE
end
2.Go To ´globalevents.xml and type this
<globalevent name="EffectTile" interval="3" script="effectile.lua"/>
Here you got Teleport's effects