Assim:
function onSay(cid, words)
local teleport = {x=150, y=52, z=7}
if not getCreatureCondition(cid, CONDITION_INFIGHT) then
doTeleportThing(cid, teleport)
else
doPlayerSendTextMessage(cid,22,"teleport se tiver com battle off")
end
return TRUE
end
flw




info
Grupo: Campones
Registrado: 03/09/08
Posts: 7
Reputação: 0
Char no Tibia: Ursinho Pim Pao
Ola, gostaria de saber como seria um script de teleport só se o player tiver sem battle, exempo:
tipo esse playerbattle, qual seria o comando dele?