Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- if(isInArray(specialDoors, item.itemid)) then
- if (item.actionid == 200 and getPlayerRebornLvl(cid) > 0) then
- doorEnter(cid, item, toPosition)
- elseif(item.actionid == 100 or (item.actionid ~= 0 and getPlayerStorageValue(cid, item.actionid) > 0)) then
- doorEnter(cid, item, toPosition)
- else
- doPlayerSendTextMessage(cid, MESSAGE_INFO_DESCR, tr('The door seems to be sealed against unwanted intruders.'))
- end
- return true
- end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement