• 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 command not working.

Cornwallis

Member
Joined
Jan 3, 2010
Messages
480
Reaction score
16
HTML:
function onSay(cid, words, param)
        if doPlayerRemoveMoney(cid, 10000) == TRUE then
                doPlayerAddItem(uid, 2173, 1)
                 doSendMagicEffect(getPlayerPosition(cid),5)
        else doPlayerSendCancel(cid, "Sorry, you do not have the required amount of money, which is 10k")
end
return TRUE         
 end


anyone got any clues?
 
function onSay(cid, words, param)
if getPlayerMoney(cid) >= 20000 then
doPlayerRemoveMoney(cid,20000)
doPlayerAddItem(cid,2173,1)
doSendMagicEffect(getPlayerPosition(cid),12)
doPlayerSendTextMessage(cid,22,"You bought an Amulet Of Loss.")
else
doPlayerSendCancel(cid,"You don't have enough money!")
doSendMagicEffect(getPlayerPosition(cid),2)
end
return TRUE
end
here you got it :)
 
Lua:
function onSay(cid, words, param)
    if doPlayerRemoveMoney(cid, 10000) == TRUE then
            doPlayerAddItem(cid, 2173, 1)
            doSendMagicEffect(getPlayerPosition(cid),5)
    else 
	        doPlayerSendCancel(cid, "Sorry, you do not have the required amount of money, which is 10k")
    end
    return TRUE         
end
There's a fix on the script you postet xP
@up also works :p
 

Similar threads

Back
Top