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?