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
Group: Campones
Joined: 03/09/08
Posts: 7
Reputation: 0
Tibia Character: 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?