Qbee
Open Tibia Fan
- Joined
- Mar 9, 2009
- Messages
- 174
- Reaction score
- 4
I have
<event type="look" name="ExtraLoot" event="script" value="aa.lua"/>
in creaturescripts.xml
and
in scripts/aa.lua
And it just doesn't work. No bugs in console. No results at all.
<event type="look" name="ExtraLoot" event="script" value="aa.lua"/>
in creaturescripts.xml
and
Lua:
function onLook(cid, thing, position, lookDistance)
if thing.itemid == 2111 then
doPlayerSendTextMessage(cid, MESSAGE_STATUS_CONSOLE_BLUE, "Wykupiles(ow.")
else
doPlayerSendTextMessage(cid, MESSAGE_STATUS_CONSOLE_BLUE, "Wykuw.")
end
end
And it just doesn't work. No bugs in console. No results at all.