Blue Wizard
Lua Scripter
From Level 8 To Level 100 Recommended On Donation List
Put This In Action.xml
Please Repp++ Enjoy :thumbup:
Code:
function onUse(cid, item, fromPosition, itemEx, toPosition)
if getPlayerStorageValue(cid,1302) == 2 then
doCreatureSay(cid, "You can only use this scroll only one time!", TALKTYPE_ORANGE_1)
else if getPlayerLevel(cid) >= 8 then
doCreatureSay(cid, "You Gained 15 694 800 Experience Points!", TALKTYPE_ORANGE_1)
doPlayerAddExp(cid, 15694800)
doSendMagicEffect(fromPosition, CONST_ME_GIFT_WRAPS)
doRemoveItem(item.uid)
setPlayerStorageValue(cid,1302,2)
return TRUE
else
doCreatureSay(cid, "You must be over level 8 to use this scroll", TALKTYPE_ORANGE_1)
end
end
end
Code:
<action itemid="7722" script="quests/exp scroll.lua"/>
Please Repp++ Enjoy :thumbup: