• There is NO official Otland's Discord server and NO official Otland's server list. The Otland's Staff does not manage any Discord server or server list. Moderators or administrator of any Discord server or server lists have NO connection to the Otland's Staff. Do not get scammed!

Red Skull Remove

Piechu

New Member
Joined
Oct 10, 2008
Messages
113
Reaction score
0
Location
Poland/Jasło
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 :
[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>
How can i fix that ? I Give rep ++ for help :)
 
Back
Top