Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- function onUse(cid, item, topos)
- if getGlobalStorageValue(storage) ~= 1 then
- doSummonCreautre("Vampire", {x = 1085, y = 1073, z = 10})
- doPlayerSendTextMessage(cid, 22, "A vampire have been awakened.")
- setGlobalStorageValue(storage, 1)
- addEvent(setGlobalStorageValue, 240*1000, storage, 0)
- else
- doPlayerSendCancel(cid, "The coffin is empty.")
- end
- return true
- end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement