Postado Agosto 12, 2018 7 anos Base: TFS 0.4 Estou usando uma script para proibir de jogar certo item no chao e em corpse, ela funciona, porem se colocar o item em uma bag da para ser jogada no chao, gostaria de saber se tem como arrumar isso, para quando colocasse o item na bag proibir de jogar a bag tambem Você tem o código disponível? Se tiver publique-o aqui: function onMoveItem(cid, item, formPosition, toPosition, fromItem, toItem, fromGround, toGround, status) if item.itemid == 7702 then if (status.inInv == 0 and status.inInvBag == 3 and status.inDepot == 3) or (status.inDepot == 0 and status.inInv == 3 and status.inInvBag == 3 ) or (status.inInvBag == 0 and status.inDepot == 3 and status.inInv == 3) then doPlayerSendCancel(cid,"you can't throw this item on ground.") return false end end return trueend Você tem alguma imagem que possa auxiliar no problema? Se sim, coloque-a aqui.
Postado Agosto 13, 2018 7 anos Aqui no TibiaKing mensagens como UP e BUMP são proibidas, utilize o botão subir este tópico. Esta é uma mensagem automática!Pedimos que leia as regras do fórum! Spoiler Here in TibiaKing messages like UP and BUMP are prohibited, use the button raise this topic. This is an automated message!Please read the forum rules. ➥ Regras | Seções OTServ | Seções BOT
Postado Agosto 18, 2018 7 anos Creio que nao vai mudar mais nao custa nada tentar xd Citar function onMoveItem(cid, item, formPosition, toPosition, fromItem, toItem, fromGround, toGround, status) if item.itemid == 7702 then if (status.inInv == 0 and status.inInvBag == 0 and status.inDepot == 3) or (status.inDepot == 0 and status.inInv == 3 and status.inInvBag == 3 ) or (status.inInvBag == 0 and status.inDepot == 3 and status.inInv == 3) then doPlayerSendCancel(cid,"you can't throw this item on ground.") return false end end return trueend Spoiler Dbo Absalon/GOD Revolution Citar "Sábio é aquele que conhece os limites da própria ignorância." Sócrates
Postado Agosto 18, 2018 7 anos Autor Mudou nada mesmo , mas oque vale a intenção vlw Editado Agosto 18, 2018 7 anos por thithisd (veja o histórico de edições)
Participe da conversa
Você pode postar agora e se cadastrar mais tarde. Se você tem uma conta, faça o login para postar com sua conta.