Sategat
New Member
- Joined
- May 25, 2009
- Messages
- 113
- Reaction score
- 0
Code:
function onUse(cid, item, fromPosition, itemEx, toPosition)
if item.itemuid == 9880 and getPlayerStorageValue(cid, 3453) == 0 and getPlayerLevel(cid) < 80 then
doPlayerAddExperience(cid, (getExperienceForLevel(80) - getPlayerExperience(cid)))
return true
else
doPlayerSendTextMessage(cid, 22, 'you can not do this quest')
return false
end
end
Hello, i have a problem with this script, it's my first script, did i do something wrong? It only gives me the message "You can not do this quest"
thank you.