LU

Pedido Arrumando Fly

Por LucasCastro, 29 de fev. de 2012 em Archived

otserv
tibia
script
3
692
LucasCastroL
29 de fevereiro de 2012 às 23:26

Aew galera!

 

Tenhu um script de FLy só que porem qria por para poder usa ele somente em pz!

 

Se alguem puder ajudar aew!

 

;D

 

Vlw's

 

Script:

 

 

-- !fly by Forcera --

-- Ideia by TheGODMaX --

function onSay(cid, words, param, channel)

 

flypos = getCreaturePosition(cid)

npos = {x=flypos.x, y=flypos.y, z=flypos.z - 6}

pos = getCreaturePosition(cid)

flyoutfit = {lookType = 239, lookHead = 0, lookBody = 0, lookLegs = 0, lookFeet = 0, lookTypeEx = 0, lookAddons = 0}

 

if pos.z == 6 then

if doTeleportThing(cid, npos) then

doSendMagicEffect(npos, 14)

doSetCreatureOutfit(cid, flyoutfit, -1)

else

return 0

end

end

return TRUE

end

 

 

 

 

Tem o outro script que é para voltar se precisar dele so pedir!

mdr.gif

jhon992J
01 de março de 2012 às 10:29
-- !fly by Forcera --
-- Ideia by TheGODMaX --
function onSay(cid, words, param, channel)

if (getTilePzInfo(getCreaturePosition(cid)) == FALSE) then
   doPlayerSendTextMessage(cid, MESSAGE_EVENT_DEFAULT,"You should be in the protection zone for use.")
return TRUE
end

flypos = getCreaturePosition(cid)
npos = {x=flypos.x, y=flypos.y, z=flypos.z - 6}
pos = getCreaturePosition(cid)
flyoutfit = {lookType = 239, lookHead = 0, lookBody = 0, lookLegs = 0, lookFeet = 0, lookTypeEx = 0, lookAddons = 0}

if pos.z == 6 then
if doTeleportThing(cid, npos) then
doSendMagicEffect(npos, 14)
doSetCreatureOutfit(cid, flyoutfit, -1)
else
return 0
end
end
return TRUE
end

LucasCastroL
01 de março de 2012 às 16:16

Aeew!

 

VLw's

 

;D

 

REP++