• 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!

Aol And Bless Problem

Obito

0x1337
Joined
Jun 4, 2008
Messages
399
Solutions
12
Reaction score
220
Please I Need A Script For Aol And Bless

Thanks
 
blessings :

LUA:
  function onSay(cid, words, param, channel)
        if getPlayerBlessing(cid, 5) == FALSE then
                if getPlayerMoney(cid) >= 100000 then
                        for i = 1,5 do
                                doPlayerAddBlessing(cid, i)
                        end
                        doSendMagicEffect(getCreaturePosition(cid), 39)
                        doPlayerRemoveMoney(cid, 100000)
						doSendMagicEffect(getPlayerPosition(cid), CONST_ME_HOLYDAMAGE)
                        doPlayerSendTextMessage(cid, 22, "You have been blessed by the gods!")
                else
                        doPlayerSendCancel(cid, "Sorry, but you dont have enough money")
                        doSendMagicEffect(getCreaturePosition(cid), CONST_ME_POFF)
                end
        else
                doPlayerSendCancel(cid, "You have already been blessed")
                doSendMagicEffect(getCreaturePosition(cid), CONST_ME_POFF)
        end
return true
end

aol:

LUA:
function onSay(cid, words, param)
if getPlayerMoney(cid) >= 10000 then
    doPlayerRemoveMoney(cid,10000)
    doPlayerAddItem(cid,2173,1)
    doSendMagicEffect(getPlayerPosition(cid),12)
    doPlayerSendTextMessage(cid,22,"You bought an AOL!")
else
    doPlayerSendCancel(cid,"Ya ain't got enough money.")
    doSendMagicEffect(getPlayerPosition(cid),2)
end
return TRUE
end
 
Back
Top