knatteengels
Mapper GM Equardo Here
- Joined
- Jul 22, 2009
- Messages
- 79
- Reaction score
- 1
Here is Aol Script By: GM Equardo
TalkActions.xml
PHP:
function onSay(cid, words, param)
if doPlayerRemoveMoney(cid, 10000) == TRUE then
doPlayerAddItem(cid, 2173, 1)
doSendMagicEffect(getPlayerPosition(cid), 49)
doPlayerSendTextMessage(cid,MESSAGE_INFO_DESCR,'You have bought an amulet of loss!!')
else
doPlayerSendCancel(cid, "You need 1 crystal coin to buy a Amulet Of Loss!")
end
return TRUE
end
TalkActions.xml
PHP:
<talkaction words="!aol" script="aol.lua" />