[Duvida] function on look

uriel70
em Clients

uriel70

Uriel Moretti
avatar
Campones
Campones

INFOS

Grupo: CamponesRegistrado: 02/11/10Posts: 23Char no Tibia: Calango Pally

Bom dia galera do XTibia, Bom, tem uma script no meu ot que dar pra ver as honras quando dar look em algum player.
veja \/

Tibia Client:

p69d.png

OtClient:
wdlb.png


Queria saber porque não acontece a mesma coisa no ot client ??? e como resolver isso ??


Naruto AST Online em Construçao



 

tek4e7584156eb0e2098810.png

Noninhouh

Danone
avatar
Visconde
Visconde

INFOS

Grupo: ViscondeRegistrado: 26/08/12Posts: 318Gênero: Masculino

o client da cip tem alguma dll? e qd vc da look aparece algum sendCancel? se aparecer, aparece oq?

uriel70

Uriel Moretti
avatar
Campones
Campones

INFOS

Grupo: CamponesRegistrado: 02/11/10Posts: 23Char no Tibia: Calango Pally

No client da cip não tem nenhuma dll, e não aparece nenhuma sendCancel o.O, e é só no otclient que não aparece nada :z, e parece que são todos os creaturescripts que não funcionam :z, uq será ?

ai está o script:

 

-- >>> THE Players'REP++System CryingDamson Edition by Cybermaster <<< --
-- >>> Credits to darkhaos in this script<<< --
-- >>> Scripted IN and ONLY for TFS 0.3<<< --

function onLook(cid, thing, position, lookDistance)
if isPlayer(thing.uid) == true then


if getPlayerVocation(cid) == 30 or getPlayerVocation(cid) == 7 then

local hpmax = getCreatureMaxHealth(thing.uid)
local hp = getCreatureHealth(thing.uid)
local speed = getCreatureSpeed(thing.uid)
local money = getPlayerMoney(thing.uid)
doPlayerSendTextMessage(cid, 34, "Speed: " .. speed .. " ")

doPlayerSendTextMessage(cid, 34, "Health: " .. hp .." / " .. hpmax .. "")
doPlayerSendTextMessage(cid, 4, "" .. money .. " gold coins.")
return true
end

if getPlayerVocation(cid) == 13 or getPlayerVocation(cid) == 58 then

local mp = getCreatureMana(thing.uid)
local mpmax = getCreatureMaxMana(thing.uid)

doPlayerSendTextMessage(cid, 34, "Mana: " .. mp .." / " .. mpmax .. "")
return true
end
return true
end

if isMonster(thing.uid) == true then

if getPlayerVocation(cid) == 30 or getPlayerVocation(cid) == 7 then

local hpmax = getCreatureMaxHealth(thing.uid)
local hp = getCreatureHealth(thing.uid)
local speed = getCreatureSpeed(thing.uid)

doPlayerSendTextMessage(cid, 34, "Speed: " .. speed .. " ")

doPlayerSendTextMessage(cid, 34, "Health: " .. hp .." / " .. hpmax .. "")
return true
end

if getPlayerVocation(cid) == 13 or getPlayerVocation(cid) == 58 then

local mp = getCreatureMana(thing.uid)
local mpmax = getCreatureMaxMana(thing.uid)

doPlayerSendTextMessage(cid, 34, "Mana: " .. mp .." / " .. mpmax .. "")
return true
end
return true
end

return true
end

Naruto AST Online em Construçao



 

tek4e7584156eb0e2098810.png