Hello everyone i need help with my script Magic Level Scroll its not working.
I don't get any Problems,player just don't get Magic Levels when he use Scroll.
Script
Im using [8.60] The Forgotten Server 0.3.6 (Crying Damson) V8
I don't know how to fix this script if i don't get any problems!!<_<
Who helps me first gets Rep++.
I don't get any Problems,player just don't get Magic Levels when he use Scroll.
Script
LUA:
function onUse(cid, item, fromPosition, itemEx, toPosition)
if getPlayerLevel(cid) >= 8 then
doCreatureSay(cid, 'You Gained 5 Magic Levels!', TALKTYPE_ORANGE_1)
doPlayerAddMagLevel(cid, 5)
doSendMagicEffect(fromPosition, CONST_ME_GIFT_WRAPS)
doRemoveItem(item.uid)
return true
else
doCreatureSay(cid, 'You must be over level 8 to use this scroll', TALKTYPE_ORANGE_1)
end
end
Im using [8.60] The Forgotten Server 0.3.6 (Crying Damson) V8
I don't know how to fix this script if i don't get any problems!!<_<
Who helps me first gets Rep++.
Last edited: