I got problem with upgrader script for roxxor tfs 0.3.6. And version 4.0
When u use the upgrader it's only remove the item that u wanna upgrade not adding anything.
The Id it removes is 7460.
This script:
Please help me guys =/
When u use the upgrader it's only remove the item that u wanna upgrade not adding anything.
The Id it removes is 7460.
This script:
function onUse(cid, item, frompos, item2, topos)
if item.itemid == 2364 then
if doPlayerRemoveItem(cid,7460,1) == 1 then
doPlayerAddItem(cid,8908,1)
doPlayerAddItem(cid,2501,1)
doPlayerRemoveItem(cid,2364,1)
doPlayerSendTextMessage(cid,21,"Your Norse Shield has been splittet in 2 parts!")
else
doPlayerSendCancel(cid, "You do not have any pro items to uprgade!")
end
end
return 1
end
Please help me guys =/