Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- function onUse(cid, item, fromPosition, itemEx, toPosition)
- local doorID = 9999
- local doorID_OPEN = 9999
- local seconds = 10
- if itemEx.itemid == doorID then
- addEvent(doTransformItem, seconds * 1000, item.uid, doorID)
- doTransformItem(item.uid, doorID_OPEN)
- else
- doPlayerSendTextMessage(cid, 27, "Sorry, wrong key.")
- end
- return true
- end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement