Bom, quando algum player compra bless no meu server, algumas vezes ela não funciona, perde items é muitos level e as vezes não da para comprar a bless novamente, buga tudo. Alguem me ajude por favor, abaixo postarei meu comando:
function onSay(cid, words, param)
if getPlayerBlessing(cid, 1) or getPlayerBlessing(cid, 2) or getPlayerBlessing(cid, 3) or getPlayerBlessing(cid, 4) or getPlayerBlessing(cid, 5) then
doPlayerSendCancel(cid,'You have already got one or more blessings!')
else
if doPlayerRemoveMoney(cid, 50000) == TRUE then
doPlayerAddBlessing(cid, 1)
doPlayerAddBlessing(cid, 2)
doPlayerAddBlessing(cid, 3)
doPlayerAddBlessing(cid, 4)
doPlayerAddBlessing(cid, 5)
doSendMagicEffect(getPlayerPosition(cid), 28)
doPlayerAddItem(cid, 2173, 1)
doPlayerSendTextMessage(cid,MESSAGE_EVENT_ADVANCE, 'Você ganhou um AOL, caso a bless falhe use por prevenção!')
doPlayerSendTextMessage(cid,MESSAGE_EVENT_ADVANCE, 'You have been blessed by the gods!')
else
doPlayerSendCancel(cid, "You need 5 crystal coin to get blessed!")
Pergunta
UroTTa 6
Bom, quando algum player compra bless no meu server, algumas vezes ela não funciona, perde items é muitos level e as vezes não da para comprar a bless novamente, buga tudo. Alguem me ajude por favor, abaixo postarei meu comando:
REP+ para quem me ajudar.
Link para o comentário
https://xtibia.com/forum/topic/197194-bless-n%C3%A3o-funciona-me-ajudem-urgente/Compartilhar em outros sites
16 respostass a esta questão
Posts Recomendados