Piechu
New Member
function onUse(cid, item, fromPosition, itemEx, toPosition)
doCreatureSay(cid, "Buh i po fragach!", TALKTYPE_ORANGE_1)
doPlayerSetRedSkullTicks(cid, 0)
doRemoveItem(item.uid,9969)
doRemoveCondition(cid,CONDITION_INFIGHT)
end
<action itemid="9969" script="shop/skull remove.lua" />
And in tfs problem :
How can i fix that ? I Give rep ++ for help[01/06/2009 21:14:00] data/actions/scripts/shop/skull remove.lua:7: attempt to call global 'doCreatureSetSkullType' (a nil value)
[01/06/2009 21:14:00] stack traceback:
[01/06/2009 21:14:00] data/actions/scripts/shop/skull remove.lua:7: in function <data/actions/scripts/shop/skull remove.lua:3>