Lembrando que só funciona em OTs que tenham a função "onLook", se retornar uma mensagem no console
como "stace traceback:" é porque o seu distro não possui a função.
lookfrags.lua
-- script by Notorious
function onLook(cid, thing, position, lookDistance)
if isPlayer(thing) == TRUE then
frags = getPlayerFrags(thing)
thingname = getCreatureName(thing)
-- Mensagem que o player receberá ("..frags.." é o numero de frags).
msg = "Frags for "..thingname..": "..frags.."."
--
doPlayerSendTextMessage(cid, MESSAGE_INFO_DESCR, msg)
end
return TRUE
end
creaturescripts.xml
<event type="look" name="LookFrags" event="script" value="lookfrags.lua"/>




info
Grupo: Campones
Registrado: 01/07/08
Posts: 1
Reputação: 0
Char no Tibia: Pauca Beludo
Como colocar o n° de frags no look do player, tipo: You see Papai Noe (lvl 45)l. He is a sorcerer. He has/have 89 frags.
se alguem souber plx me diga o script, ou como colocar no coment do players, getplayerfrags...