Godely
Member
- Joined
- Aug 19, 2007
- Messages
- 233
- Reaction score
- 19

Ceremonial Ankh
Attributes: Shows your blessings
Notes: Shows which blessings you have received.
---
Can someone do that script for me? You "use" the Ceremonial Ankh, and you receive a "green message" showing which blessing you did receive.
Bless 1 = The Spiritual Shielding
Bless 2 = The Embrace of Tibia
Bless 3 = The Fire of the Suns
Bless 4 = The Wisdom of Solitude
Bless 5 = The Spark of the Phoenix
---
It would be something like this:
Code:
function onUse(cid, item, fromPosition, itemEx, toPosition)
bless1 = getPlayerBlessing(cid,1)
bless2 = getPlayerBlessing(cid,2)
bless3 = getPlayerBlessing(cid,3)
bless4 = getPlayerBlessing(cid,4)
bless5 = getPlayerBlessing(cid,5)
if bless1 or bless2 or bless3 or bless4 or bless5 then
doPlayerSendTextMessage(cid,22," ??? ")
end
end
PS.: The message would be like "You have these blessings: ' .. X .. ', ' .. Y ..'."
Thanks

Last edited: