cara nao sei se vai da certo mas se nao me engano nessas linhas aki...
if doPlayerRemoveItem(cid,6500,500) then if doPlayerRemoveItem(cid,5944,500) then if doPlayerRemoveItem(cid,4848,1) then
era pra ta assim...
if doPlayerRemoveItem(cid,6500,500) = true then if doPlayerRemoveItem(cid,5944,500) = true then if doPlayerRemoveItem(cid,4848,1) = true then
e tb ta faltando um end ali no final do scritp... ficando assim...
function onSay(cid, words, param)
if doPlayerRemoveItem(cid,6500,500) = true then
if doPlayerRemoveItem(cid,5944,500) = true then
if doPlayerRemoveItem(cid,4848,1) = true then
doPlayerAddItem(cid,137,1)
doSendMagicEffect(getPlayerPosition(cid), CONST_ME_MORTAREA)
doCreatureSay(cid, "Você fez a Dark Wand com sucesso", TALKTYPE_ORANGE_1)
else
local str = "Voce Precisa de 500 Demonic Essences,500 Soul Orbs,1 Ice Wand!."
doPlayerPopupFYI(cid, str)
doPlayerSendCancel(cid, 'Voce Precisa de 500 Demonic Essences,500 Soul Orbs,1 Ice Wand!')
return FALSE
end
end
end
posso estar errado ;D





info
Grupo: Campones
Registrado: 09/02/09
Posts: 8
Reputação: 0
aqui o script
é pra ele fazer um item por talkaction
o player fala !darkwand e remove 3 tipos de items e da o novo item
eu consigo fazer com 1 item, mas com 3 da erro
quem arrumar mim fala qual foi o erro!
Editado Novembro 1 por joadson15