function onUse(cid, item, frompos, item2, topos)
if item.itemid == 10305 then
if doPlayerRemoveItem(cid,2191,1) == true then
doPlayerAddItem(cid,8921,1)
doPlayerRemoveItem(cid,10305,1)
doPlayerSendTextMessage(cid,21,"Your weapon has been upgraded!")
end
if doPlayerRemoveItem(cid,2186,1) == true then
doPlayerAddItem(cid,8911,1)
doPlayerRemoveItem(cid,10305,1)
doPlayerSendTextMessage(cid,21,"Your weapon has been upgraded!")
end
if doPlayerRemoveItem(cid,5907,1) == true then
doPlayerAddItem(cid,21690,1)
doPlayerRemoveItem(cid,10305,1)
doPlayerSendTextMessage(cid,21,"Your weapon has been upgraded!")
end
if doPlayerRemoveItem(cid,7416,1) == true then
doPlayerAddItem(cid,6101,1)
doPlayerRemoveItem(cid,10305,1)
doPlayerSendTextMessage(cid,21,"Your weapon has been upgraded!")
end
if doPlayerRemoveItem(cid,2447,1) == true then
doPlayerAddItem(cid,7455,1)
doPlayerRemoveItem(cid,10305,1)
doPlayerSendTextMessage(cid,21,"Your weapon has been upgraded!")
end
if doPlayerRemoveItem(cid,7410,1) == true then
doPlayerAddItem(cid,7429,1)
doPlayerRemoveItem(cid,10305,1)
doPlayerSendTextMessage(cid,21,"Your weapon has been upgraded!")
end
if doPlayerRemoveItem(cid,8920,1) == true then
doPlayerAddItem(cid,8922,1)
doPlayerRemoveItem(cid,10305,1)
doPlayerSendTextMessage(cid,21,"Your weapon has been upgraded!")
end
if doPlayerRemoveItem(cid,2181,1) == true then
doPlayerAddItem(cid,18411,1)
doPlayerRemoveItem(cid,10305,1)
doPlayerSendTextMessage(cid,21,"Your weapon has been upgraded!")
end
if doPlayerRemoveItem(cid,8850,1) == true then
doPlayerAddItem(cid,8851,1)
doPlayerRemoveItem(cid,10305,1)
doPlayerSendTextMessage(cid,21,"Your weapon has been upgraded!")
end
if doPlayerRemoveItem(cid,8931,1) == true then
doPlayerAddItem(cid,8932,1)
doPlayerRemoveItem(cid,10305,1)
doPlayerSendTextMessage(cid,21,"Your weapon has been upgraded!")
end
if doPlayerRemoveItem(cid,8925,1) == true then
doPlayerAddItem(cid,2443,1)
doPlayerRemoveItem(cid,10305,1)
doPlayerSendTextMessage(cid,21,"Your weapon has been upgraded!")
end
if doPlayerRemoveItem(cid,7422,1) == true then
doPlayerAddItem(cid,23543,1)
doPlayerRemoveItem(cid,10305,1)
doPlayerSendTextMessage(cid,21,"Your weapon has been upgraded!")
end
if doPlayerRemoveItem(cid,3961,1) == true then
doPlayerAddItem(cid,7958,1)
doPlayerRemoveItem(cid,10305,1)
doPlayerSendTextMessage(cid,21,"Your weapon has been upgraded!")
end
if doPlayerRemoveItem(cid,7379,1) == true then
doPlayerAddItem(cid,13760,1)
doPlayerRemoveItem(cid,10305,1)
doPlayerSendTextMessage(cid,21,"Your weapon has been upgraded!")
end
if doPlayerRemoveItem(cid,13873,1) == true then
doPlayerAddItem(cid,18453,1)
doPlayerRemoveItem(cid,10305,1)
doPlayerSendTextMessage(cid,21,"Your weapon has been upgraded!")
end
if doPlayerRemoveItem(cid,7418,1) == true then
doPlayerAddItem(cid,7449,1)
doPlayerRemoveItem(cid,10305,1)
doPlayerSendTextMessage(cid,21,"Your weapon has been upgraded!")
end
if doPlayerRemoveItem(cid,7433,1) == true then
doPlayerAddItem(cid,10301,1)
doPlayerRemoveItem(cid,10305,1)
doPlayerSendTextMessage(cid,21,"Your weapon has been upgraded!")
end
if doPlayerRemoveItem(cid,8927,1) == true then
doPlayerAddItem(cid,7427,1)
doPlayerRemoveItem(cid,10305,1)
doPlayerSendTextMessage(cid,21,"Your weapon has been upgraded!")
end
if doPlayerRemoveItem(cid,13880,1) == true then
doPlayerAddItem(cid,18409,1)
doPlayerRemoveItem(cid,10305,1)
doPlayerSendTextMessage(cid,21,"Your weapon has been upgraded!")
end
if doPlayerRemoveItem(cid,13872,1) == true then
doPlayerAddItem(cid,18390,1)
doPlayerRemoveItem(cid,10305,1)
doPlayerSendTextMessage(cid,21,"Your weapon has been upgraded!")
end
if doPlayerRemoveItem(cid,13871,1) == true then
doPlayerAddItem(cid,18450,1)
doPlayerRemoveItem(cid,10305,1)
doPlayerSendTextMessage(cid,21,"Your weapon has been upgraded!")
end
if doPlayerRemoveItem(cid,13875,1) == true then
doPlayerAddItem(cid,18451,1)
doPlayerRemoveItem(cid,10305,1)
doPlayerSendTextMessage(cid,21,"Your weapon has been upgraded!")
end
if doPlayerRemoveItem(cid,13876,1) == true then
doPlayerAddItem(cid,18452,1)
doPlayerRemoveItem(cid,10305,1)
doPlayerSendTextMessage(cid,21,"Your weapon has been upgraded!")
end
else
doPlayerSendCancel(cid, "You do not have any pro items to uprgade!")
end
return true
end