• 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 with this script

Schizo

New Member
Joined
Jul 31, 2012
Messages
15
Reaction score
0
I want so once you obtain itemid 5884 I want you to use the door and it teleports you to a location here is the script i currently am using but once you have the item your able to gothrough the door but others can go through if you stand in the open door.



Code:
local itemid, count = 5884, 1
local door_open = 6906 -- Id of the door when it is OPEN. - Must be a quest or experience door!

function onUse(cid, item, fromPosition, itemEx, toPosition)
    if getPlayerItemCount(cid, itemid) >= count then
        doTransformItem(item.uid, door_open)
        doTeleportThing(cid, toPosition, FALSE)
    end
end

- - - Updated - - -

Bump! anyone

- - - Updated - - -

Fixed script close~ plz
 
Back
Top