RealSoft
Banned User
Hi, this is an script I made, a guy requested it to me and I decied to release it seince seems many people want it.
I'm mabey not the first one success with this script, but I made this scripts 100%
With this you need put an item on a special position, and then you pull switch both the pay item and stone/wall dissapear, then you pull switch again stone/wall come back, but not the pay item
getgate = The position of the stone/wall,
getgate2 = the position there the paying items should be
getgate.itemid == 1483 and getgate2.itemid == 2376
----------item of stone/wall-------------item of pay item
This one is tested to work with all types of servers between 8.0-8.2 and some 8.2-8.4,
if this script worked for ya, please add me some Rep++
I'm mabey not the first one success with this script, but I made this scripts 100%
With this you need put an item on a special position, and then you pull switch both the pay item and stone/wall dissapear, then you pull switch again stone/wall come back, but not the pay item
Code:
--script 100% created by Xaroth--
function onUse(cid, item, frompos, item2, topos)
gatepos = {x=2002, y=1996, z=6, stackpos=1}
getgate = getThingfromPos(gatepos)
gatepos2 = {x=2000, y=2000, z=6, stackpos=1}
getgate2 = getThingfromPos(gatepos2)
if item.uid == 44444 and item.itemid == 1945 and getgate.itemid == 1483 and getgate2.itemid == 2376
then
doRemoveItem(getgate.uid,1)
doRemoveItem(getgate2.uid,1)
doTransformItem(item.uid,item.itemid+1)
elseif item.uid == 44444 and item.itemid == 1946 and getgate.itemid == 0 then
doCreateItem(1483,1,gatepos)
doTransformItem(item.uid,item.itemid-1)
else
doPlayerSendCancel(cid,"Haha, I love secrets, dont you?.")
end
return 1
end
getgate = The position of the stone/wall,
getgate2 = the position there the paying items should be
getgate.itemid == 1483 and getgate2.itemid == 2376
----------item of stone/wall-------------item of pay item
This one is tested to work with all types of servers between 8.0-8.2 and some 8.2-8.4,
if this script worked for ya, please add me some Rep++
Last edited: