- Joined
- Dec 22, 2007
- Messages
- 1,984
- Reaction score
- 2
Hello, I'm changing version from 0.3.2 to 0.3.4 but something doesn't work properly on 0.3.4 (it does on 0.3.2)
What has been changed in the new version?
Code:
function onSay(cid, words, param)
ccid = 2160
removenugget = doPlayerRemoveItem(cid, 6527, 1)
if removenugget == 1 then
doPlayerAddItem(cid,ccid,100)
doPlayerSendTextMessage(cid,MESSAGE_INFO_DESCR, "You have purchased 100 crystal coins! Thank you for donating!")
else
doPlayerSendCancel(cid, "You do not have enough coins.")
doSendMagicEffect(getPlayerPosition(cid), CONST_ME_POFF)
end
end
What has been changed in the new version?