SnowFox
New Member
- Joined
- May 18, 2008
- Messages
- 264
- Reaction score
- 0
I have this !bless script talkaction but when i use it my client debugs...I use the latest mystic spirit for 9.1
Any help?
Any help?
Code:
function onSay(cid, words, param, channel)
if getPlayerBlessing(cid, 5) == FALSE and isPlayerVip(cid) == TRUE then
if getPlayerMoney(cid) >= 50000 then
for i = 1,5 do
doPlayerAddBlessing(cid, i)
end
doPlayerRemoveMoney(cid, 50000)
doPlayerSendTextMessage(cid, 22, "You have been blessed by the gods!")
else
doPlayerSendCancel(cid, "You don't have enough money.")
end
else
doPlayerSendCancel(cid, "You have already been blessed. Or you do not own VIP on this character.")
end
return true
end