Kaorus
Unleash Dreams Staff
- Joined
- May 18, 2008
- Messages
- 1,111
- Reaction score
- 41
The first script
Is a bless ticket
Player dont can gain the bless :S
And, someone can create a "Booster Exp"?
ID: 2133
With this features:
-Only premium account can use this amulet
-Only 25
-Send a animation "Booster On!"
Is a bless ticket
Code:
function onUse(cid, item, fromPosition, itemEx, toPosition)
if getPlayerLevel(cid) >= 25 then
local ppos = getCreaturePosition(cid)
if isPremium(cid) == TRUE then
if getPlayerBlessing(cid,0) then
doCreatureSay(cid, "You gained all the blessing of gods", TALKTYPE_ORANGE_1)
for x = 1, 5 do
doPlayerAddBlessing(cid, x)
end
doSendMagicEffect(ppos, 49)
doRemoveItem(item.uid)
else
doCreatureSay(cid, "You already got all the bless", TALKTYPE_ORANGE_1)
end
else
doPlayerSendCancel(cid, 'You are not Premium.')
end
else
doPlayerSendCancel(cid, 'You must be level 25 or above to use this book.')
end
end
Player dont can gain the bless :S
And, someone can create a "Booster Exp"?
ID: 2133
With this features:
-Only premium account can use this amulet
-Only 25
-Send a animation "Booster On!"