Sir Islam
Never Give Up
First Script :
Use XX item then Summon Creature Convince (pet ) and > you cant use in pz :
if have summon > You can have only one summon :
if pet die > you have to Wait 20 sec to summon again :
Secondly Script :
Use xxx Item then player get freeze 10 sec then Teleport to {x=xxx, y=xxx, z=x} after Teleport > doCreatureSay ( Teleport )
than Cancel Teleport if player get Battle
if player have Battle > You Cannot Teleport Right After A Battle
you have to Wait 20 sec to use it again
i use this script
Thirdly Script :
solved by Cyro
Fourth Script :
Rich Set Upgrader
i use this script Rich Set Upgrader but this clone items this item name ( Rich Set Upgrader ) use in Rich set then Upgrader to anther items like Upgrade Rich helmet
when i put items in The ground and use Rich Set Upgrader on any items in or not in script will clone items from script and no remove Rich Set Upgrader so clone
and doPlayerSendCancel(cid, "This Item You Try To Uprgade Not Rich!") not work because i can use on any items
and for understand
when use item Rich Set Upgrader id ( 8306 ) on item Rich helmet id ( 2496 )
than add player item Upgrade Rich helmet id ( 2501 )
than remove items Rich Set Upgrader id ( 8306 ) and Rich helmet id ( 2496 )
sorry for bad English

Use XX item then Summon Creature Convince (pet ) and > you cant use in pz :
if have summon > You can have only one summon :
if pet die > you have to Wait 20 sec to summon again :
Secondly Script :
Use xxx Item then player get freeze 10 sec then Teleport to {x=xxx, y=xxx, z=x} after Teleport > doCreatureSay ( Teleport )
than Cancel Teleport if player get Battle
if player have Battle > You Cannot Teleport Right After A Battle
you have to Wait 20 sec to use it again
i use this script
Code:
function countDown(number, pos, effect, msgonend, effectonend)
local n = number
for i = 1, number do
addEvent(doSendAnimatedText,i* 1000, pos, n > 1 and n.."" or msgonend .."", n < 6 and TEXTCOLOR_RED or TEXTCOLOR_GREEN)
addEvent(doSendMagicEffect,i* 1000, pos, n > 1 and effect or effectonend )
n = n -1
end
n = number
return true
end
function onUse(cid, item, fromPosition, itemEx, toPosition)
if isPlayerPzLocked(cid) then
doPlayerSendCancel(cid,"You Cannot Teleport Right After A Battle!.")
else
countDown(10, getThingPos(cid), 5, "Teleport!", 2)
doCreatureSetNoMove(cid, 1)
addEvent(doTeleportThing,10000,cid,getTownTemplePosition(getPlayerTown(cid)),FALSE)
addEvent(doCreatureSetNoMove,10000,cid, 0)
addEvent(doSendMagicEffect,10004,getTownTemplePosition(getPlayerTown(cid)), 10)
end
return true
end
Thirdly Script :
solved by Cyro
Fourth Script :
Rich Set Upgrader
i use this script Rich Set Upgrader but this clone items this item name ( Rich Set Upgrader ) use in Rich set then Upgrader to anther items like Upgrade Rich helmet
Code:
function onUse(cid, item, frompos, item2, topos)
if item.itemid == 8306 then
if getPlayerItemCount(cid,2496,1) < 200 then
doPlayerAddItem(cid,2501,1)
doPlayerRemoveItem(cid,8306,1)
doPlayerRemoveItem(cid,2496,1)
doPlayerSendTextMessage(cid,21,"Your Rich Helmet has been upgraded!")
elseif item.itemid == 8306 then
if getPlayerItemCount(cid,2505,1) < 200 then
doPlayerAddItem(cid,2503,1)
doPlayerRemoveItem(cid,8306,1)
doPlayerRemoveItem(cid,2505,1)
doPlayerSendTextMessage(cid,21,"Your Rich Armor has been upgraded!")
elseif item.itemid == 8306 then
if getPlayerItemCount(cid,2507,1) < 200 then
doPlayerAddItem(cid,2504,1)
doPlayerRemoveItem(cid,8306,1)
doPlayerRemoveItem(cid,2507,1)
doPlayerSendTextMessage(cid,21,"Your Rich Legs has been upgraded!")
elseif item.itemid == 8306 then
if getPlayerItemCount(cid,2538,1) < 200 then
doPlayerAddItem(cid,8905,1)
doPlayerRemoveItem(cid,8306,1)
doPlayerRemoveItem(cid,2538,1)
doPlayerSendTextMessage(cid,21,"Your Rich Shield has been upgraded!")
elseif item.itemid == 8306 then
if getPlayerItemCount(cid,2641,1) < 200 then
doPlayerAddItem(cid,2358,1)
doPlayerRemoveItem(cid,8306,1)
doPlayerRemoveItem(cid,2641,1)
doPlayerSendTextMessage(cid,21,"Your Rich Boots has been upgraded!")
elseif item.itemid == 8306 then
if getPlayerItemCount(cid,5907,1) < 200 then
doPlayerAddItem(cid,7438,1)
doPlayerRemoveItem(cid,8306,1)
doPlayerRemoveItem(cid,5907,1)
doPlayerSendTextMessage(cid,21,"Your Rich Slingshot has been upgraded!")
elseif item.itemid == 8306 then
if getPlayerItemCount(cid,7417,1) < 200 then
doPlayerAddItem(cid,8931,1)
doPlayerRemoveItem(cid,8306,1)
doPlayerRemoveItem(cid,7417,1)
doPlayerSendTextMessage(cid,21,"Your Rich Sword has been upgraded!")
elseif item.itemid == 8306 then
if getPlayerItemCount(cid,7429,1) < 200 then
doPlayerAddItem(cid,2437,1)
doPlayerRemoveItem(cid,8306,1)
doPlayerRemoveItem(cid,7429,1)
doPlayerSendTextMessage(cid,21,"Your Rich Club has been upgraded!")
elseif item.itemid == 8306 then
if getPlayerItemCount(cid,8924,1) < 200 then
doPlayerAddItem(cid,8926,1)
doPlayerRemoveItem(cid,8306,1)
doPlayerRemoveItem(cid,8924,1)
doPlayerSendTextMessage(cid,21,"Your Rich Axe has been upgraded!")
elseif item.itemid == 8306 then
if getPlayerItemCount(cid,7424,1) < 200 then
doPlayerAddItem(cid,7958,1)
doPlayerRemoveItem(cid,8306,1)
doPlayerRemoveItem(cid,7424,1)
doPlayerSendTextMessage(cid,21,"Your Rich Mage has been upgraded!")
else
doPlayerSendCancel(cid, "This Item You Try To Uprgade Not Rich !")
end
end
end
end
end
end
end
end
end
end
return 1
end
when i put items in The ground and use Rich Set Upgrader on any items in or not in script will clone items from script and no remove Rich Set Upgrader so clone
and doPlayerSendCancel(cid, "This Item You Try To Uprgade Not Rich!") not work because i can use on any items
and for understand
when use item Rich Set Upgrader id ( 8306 ) on item Rich helmet id ( 2496 )
than add player item Upgrade Rich helmet id ( 2501 )
than remove items Rich Set Upgrader id ( 8306 ) and Rich helmet id ( 2496 )
sorry for bad English
Last edited: