Krulle
Rare Dreamer!
Hi there, I made a script but I dont know if it works xD. I havent test it so would be great if some good scripter could say if it works. Here it is:
Code:
function onSay(cid, words, param)
if doPlayerSay (cid,"!aol")
then doPlayerRemoveMoney(cid, 10000) == TRUE then
doPlayerAddItem(cid,2173,1)
doSendMagicEffect(getPlayerPosition(cid),12)
doSendPlayerMessage(cid,"You've bought an amulet of loss!")
else
doSendPlayerCancel(cid,"You don't have enough money.")
doSenMagigEffect(getPlayerPosition(cid),2)
end
return TRUE
end