Sir Islam
Never Give Up
script for exp scroll to give player 717217 level 
expTicket.lua
and in actions.xml
when i use expticket
19:31 You advanced from Level 1 to Level 717217.
if i use again
19:31 You were downgraded from Level 717217 to Level 1.
how to fixed this help plz
expTicket.lua
function onUse(cid, item, fromPosition, itemEx, toPosition)
if getPlayerLevel(cid) >= 1 then
doCreatureSay(cid, "You Max level!", TALKTYPE_ORANGE_1)
doPlayerAddLevel(cid, 717217)
doSendMagicEffect(fromPosition, CONST_ME_GIFT_WRAPS)
doRemoveItem(item.uid)
return TRUE
else
doCreatureSay(cid, "You must be level 1 or above to use this ticket.", TALKTYPE_ORANGE_1)
end
end
and in actions.xml
<action itemid="7491" script="expTicket.lua" />
when i use expticket
19:31 You advanced from Level 1 to Level 717217.
if i use again
19:31 You were downgraded from Level 717217 to Level 1.
how to fixed this help plz
Last edited: