Zool
Banned User
I need Script to item (Exp Scrol)
This Scroll give 5 lv !
I give rep ++
This Scroll give 5 lv !
I give rep ++
Omg, you can find like 5 exp scroll here or more, use search.
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
Were is Id item ?
give me full script plx ;o
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
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