Cloow
Active Member
- Joined
- May 10, 2010
- Messages
- 1,086
- Reaction score
- 35
Code:
function onUse(cid, item, fromPosition, itemEx, toPosition)
setPlayerStorageValue(cid, 15558, 1)
doCreatureSay(cid, "You have awokened the exiled dragon and thus he challenges you to enter his tomb.", 34) if
getPlayerStorageValue(cid, 15558) == 1 then
doPlayerSendCancel(cid, "You have already awokened the exiled dragon.")
end
return TRUE
end
This script wont read these lines
Code:
getPlayerStorageValue(cid, 15558) == 1 then
doPlayerSendCancel(cid, "You have already awokened the exiled dragon.")
Code:
setPlayerStorageValue(cid, 15558, 1)
doCreatureSay(cid, "You have awokened the exiled dragon and thus he challenges you to enter his tomb.", 34)
I can't see what I did wrong?
Please help rep+