Naxtie
mapper, designer
So, here's the thing. I got a item that if you right click on it, you will recieve the Wayfarer outfit + full addon set. But somehow it seems like it doesn't work, any idea what's wrong? And i'm using TFS 0.3.6 btw..
Thanks in advance.
PHP:
function onUse(cid, item, fromPosition, itemEx, toPosition)
if not canPlayerWearOutfitId(cid, 23, 2) then
doPlayerAddOutfitId(cid, 23, 2)
doSendMagicEffect(getThingPos(cid), CONST_ME_MAGIC_RED)
doCreatureSay(cid, 'Blablablabla', TALKTYPE_ORANGE_1)
else
doPlayerSendCancel(cid, 'You have already completed this quest.')
end
return true
end
Thanks in advance.