• There is NO official Otland's Discord server and NO official Otland's server list. The Otland's Staff does not manage any Discord server or server list. Moderators or administrator of any Discord server or server lists have NO connection to the Otland's Staff. Do not get scammed!

[Help] Script that removes the wall

romeu23

New Member
Joined
May 10, 2011
Messages
5
Reaction score
0
Hello members of otland.

Prescisa'll deal of help from you, presciso a script that removes the wall at a certain time and warns everyone that this place was opened, and the same knack for close, and the wall is created after a certain time warning that the closure such a place.

Who can help me thank you ..
 
Here is an example:

Lua:
function onUse(cid, item, fromPosition, itemEx, toPosition)
gatepos = {x=32309, y=31975, z=13, stackpos=1}
getgate = getThingfromPos(gatepos)
 
if item.uid == 42998 and item.itemid == 1945 and getgate.itemid == 1423 then
doRemoveItem(getgate.uid,1)
doCreateItem(1421,1,gatepos)
doTransformItem(item.uid,1946)
 
elseif item.uid == 42998 and item.itemid == 1946 and getgate.itemid == 1421 then
doRemoveItem(getgate.uid,1)
doCreateItem(1423,1,gatepos)
doTransformItem(item.uid,1945)
end
return 1
 
@up NO he doesnt want to have to use something to drop the wall. he wants it to happen at a certain time. god LEARN TO READ.
 
Back
Top