Hiho, tought I would release some of the script I was "given" years back when I was working with Dalale and Rox666(Kernkraft). Here we go!
http://otland.net/threads/sweden-today-15-30-19-6-custom-roxor-8-60-athxzor-is-back.161078/
If there is someone who wants more files, just pm me.
Got 4 actions to release, pro armor upgrade, bless item, norse shield upgrade and weapon upgrade.
pro armor -
bless item
norse shield
Weap upgrade
Rep++?
WibbenZ
http://otland.net/threads/sweden-today-15-30-19-6-custom-roxor-8-60-athxzor-is-back.161078/
If there is someone who wants more files, just pm me.
Got 4 actions to release, pro armor upgrade, bless item, norse shield upgrade and weapon upgrade.
pro armor -
Code:
function onUse(cid, item, frompos, item2, topos)
if item.itemid == 7963 then
if doPlayerRemoveItem(cid,8868,1) == 1 then
doPlayerAddItem(cid,8885,1)
doPlayerAddItem(cid,7633,1)
doPlayerAddItem(cid,7890,1)
doPlayerAddItem(cid,7735,1)
doPlayerAddItem(cid,7492,1)
doPlayerAddItem(cid,2160,100)
doRemoveItem(item.uid,1)
doPlayerSendTextMessage(cid,21,"Your armor has been upgraded and you've gain a package of items!")
elseif item.itemid == 7963 then
if doPlayerRemoveItem(cid,8877,1) == 1 then
doPlayerAddItem(cid,8886,1)
doPlayerAddItem(cid,7633,1)
doPlayerAddItem(cid,7890,1)
doPlayerAddItem(cid,7735,1)
doPlayerAddItem(cid,7492,1)
doPlayerAddItem(cid,2160,100)
doRemoveItem(item.uid,1)
doPlayerSendTextMessage(cid,21,"Your armor has been upgraded and you've gain a package of items!")
elseif item.itemid == 7963 then
if doPlayerRemoveItem(cid,8884,1) == 1 then
doPlayerAddItem(cid,8887,1)
doPlayerAddItem(cid,7633,1)
doPlayerAddItem(cid,7890,1)
doPlayerAddItem(cid,7735,1)
doPlayerAddItem(cid,7492,1)
doPlayerAddItem(cid,2160,100)
doRemoveItem(item.uid,1)
doPlayerSendTextMessage(cid,21,"Your armor has been upgraded and you've gain a package of items!")
else
doPlayerSendCancel(cid, "You do not have any pro items to uprgade!")
end
end
end
end
return 1
end
bless item
Code:
function onUse(cid, item, frompos, item2, topos)
if item.itemid == 6546 then
if getPlayerLevel(cid) > 1 then
getPlayerStorageValue(cid, 11552)
doSendAnimatedText(getPlayerPosition(cid), "Welcome!", TEXTCOLOR_RED)
doCreatureSay(cid, "CONGRATULATIONS! Go and buy Blessings now!", TALKTYPE_ORANGE_1)
setPlayerStorageValue(cid, 11552, 1)
doRemoveItem(item.uid, 1)
else
doPlayerSendCancel(cid,'You are not a blessing donator.')
doRemoveItem(item.uid, 1)
end
else
end
return 1
end
norse shield
Code:
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)
doRemoveItem(item.uid,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
Code:
function onUse(cid, item, frompos, item2, topos)
if item.itemid == 2354 then
if doPlayerRemoveItem(cid,8931,1) == 1 then
doPlayerAddItem(cid,8932,1)
doRemoveItem(item.uid,1)
doPlayerSendTextMessage(cid,21,"Your weapon has been upgraded!")
elseif item.itemid == 2354 then
if doPlayerRemoveItem(cid,8925,1) == 1 then
doPlayerAddItem(cid,7434,1)
doRemoveItem(item.uid,1)
doPlayerSendTextMessage(cid,21,"Your weapon has been upgraded!")
elseif item.itemid == 2354 then
if doPlayerRemoveItem(cid,7422,1) == 1 then
doPlayerAddItem(cid,7429,1)
doRemoveItem(item.uid,1)
doPlayerSendTextMessage(cid,21,"Your weapon has been upgraded!")
elseif item.itemid == 2354 then
if doPlayerRemoveItem(cid,8850,1) == 1 then
doPlayerAddItem(cid,8851,1)
doRemoveItem(item.uid,1)
doPlayerSendTextMessage(cid,21,"Your weapon has been upgraded!")
elseif item.itemid == 2354 then
if doPlayerRemoveItem(cid,8920,1) == 1 then
doPlayerAddItem(cid,8922,1)
doRemoveItem(item.uid,1)
doPlayerSendTextMessage(cid,21,"Your weapon has been upgraded!")
else
doPlayerSendCancel(cid, "You do not have any pro items to uprgade!")
end
end
end
end
end
end
return 1
end
WibbenZ