• There is NO official Otland's Discord server and NO official Otland's server list. The Otland's Staff does not manage any Discord server or server list. Moderators or administrator of any Discord server or server lists have NO connection to the Otland's Staff. Do not get scammed!

Exp Scroll i give ++

LUA:
function onUse(cid, item, fromPosition, itemEx, toPosition)
		if getPlayerLevel(cid) >= 8 then
			doCreatureSay(cid, ".text.", TALKTYPE_ORANGE_1)
			doPlayerAddLevel(cid, .amount., .round.)
			doSendMagicEffect(fromPosition, CONST_ME_GIFT_WRAPS)
			doRemoveItem(item.uid)
			return TRUE
		else
			doCreatureSay(cid, "You must be level 8 or above to use this ticket.", TALKTYPE_ORANGE_1)
		end
end
 
LUA:
function onUse(cid, item, fromPosition, itemEx, toPosition)
		if getPlayerLevel(cid) >= 8 then
			doCreatureSay(cid, ".text.", TALKTYPE_ORANGE_1)
			doPlayerAddLevel(cid, .amount., .round.)
			doSendMagicEffect(fromPosition, CONST_ME_GIFT_WRAPS)
			doRemoveItem(item.uid)
			return TRUE
		else
			doCreatureSay(cid, "You must be level 8 or above to use this ticket.", TALKTYPE_ORANGE_1)
		end
end

doPlayerAddLevel(cid, .amount., .round.)
isent it..
doPlayerAddLevel(cid, 5)
 
Were is Id item ?

give me full script plx ;o

Action.xml plx.

LUA:
function onUse(cid, item, fromPosition, itemEx, toPosition)
		if getPlayerLevel(cid) >= 8 then
			doCreatureSay(cid, ".text.", TALKTYPE_ORANGE_1)
			doPlayerAddLevel(cid, .amount., .round.)
			doSendMagicEffect(fromPosition, CONST_ME_GIFT_WRAPS)
			doRemoveItem(item.uid)
			return TRUE
		else
			doCreatureSay(cid, "You must be level 8 or above to use this ticket.", TALKTYPE_ORANGE_1)
		end
end

If i put the scroll on floor, and click on it the scroll wont be removed :)
 
LUA:
function onUse(cid, item, fromPosition, itemEx, toPosition)
		if getPlayerLevel(cid) >= 8 then
			doCreatureSay(cid, ".text.", TALKTYPE_ORANGE_1)
			doPlayerAddLevel(cid, .amount., .round.)
			doSendMagicEffect(fromPosition, CONST_ME_GIFT_WRAPS)
			doRemoveItem(item.uid)
			return TRUE
		else
			doCreatureSay(cid, "You must be level 8 or above to use this ticket.", TALKTYPE_ORANGE_1)
		end
end

epic fail =o
 
LUA:
function onUse(cid, item, fromPosition, itemEx, toPosition)
		
if getPlayerStorageValue(cid, 9977) == 1 then
			doCreatureSay(cid, "You can't use more experience scrolls.", TALKTYPE_ORANGE_1)

	else if getPlayerLevel(cid) >= 1 then
		doCreatureSay(cid, "You have recieved 10 million experience when using Experience Scroll.", TALKTYPE_ORANGE_1)
			doPlayerAddExperience(cid, 10000000)
			doSendMagicEffect(fromPosition, 66)
			doRemoveItem(item.uid)
			setPlayerStorageValue(cid,9977,1)
			return TRUE
		else
					doCreatureSay(cid, "You must be over level 50 to use an experience scroll.", TALKTYPE_ORANGE_1)
		end
end
end

This is what i'm using.
 
Back
Top