perfection
FATAL DAMAGE
- Joined
- Aug 27, 2011
- Messages
- 196
- Reaction score
- 8
Lua:
function onSay(cid, words, param, channel)
if getPlayerBlessing(cid, 5) == FALSE then
if getPlayerMoney(cid) >= 110000 then
for i = 1,5 do
doPlayerAddBlessing(cid, i)
doPlayerAddItem(cid,2173,1)
end
doSendMagicEffect(getCreaturePosition(cid), 39)
doPlayerRemoveMoney(cid, 110000)
doSendMagicEffect(getPlayerPosition(cid), CONST_ME_HOLYDAMAGE)
doCreatureSay(cid,"I Bought Aol and Bless! WOOOW!",TALKTYPE_ORANGE_1)
else
doPlayerSendCancel(cid, "Sorry, but you dont have 11cc")
doSendMagicEffect(getCreaturePosition(cid), CONST_ME_POFF)
end
else
doCreatureSay(cid, "I Forgot That I Got Bless, Dont Laugh at me",TALKTYPE_ORANGE_1)
doSendMagicEffect(getCreaturePosition(cid), CONST_ME_POFF)
end
return true
end
rep if u like it
edit: edited the script a bit
Last edited: