ve se esse serve:
function onSay(cid, words, param, channel)
local tmp = getCreaturePosition(cid)
local pos = {x = 529, y = 1924, z = 6}
if hasCondition(cid, CONDITION_INFIGHT) == TRUE then
doPlayerSendCancel(cid, "You may not teleport while in combat.")
else
doTeleportThing(cid, pos, true)
doSendMagicEffect(tmp, CONST_ME_POFF)
doSendMagicEffect(pos, CONST_ME_FIREATTACK)
end
return true
end






info
Grupo: Campones
Registrado: 04/07/10
Posts: 53
Reputação: +2
Char no Tibia: druid
Preciso de uma talkaction que quando player falar !evento ser teletransportado para x lugar só poder manda comando que não tiver pz Obg.
Valendo rep+