vc não postou o script mas vou te ajudar em uma parte sobre pisar as 30x ainda estou aprendendo então vou usar muitas linhas mesmo sabendo que tem como fazer com nenos linhas, porem não me recordo de como fazer com menos linha
if getPlayerStorageValue(cid, 654564) < 31 then
--doCreateMonster("demon", toPosition, false) --- bota aqui o codigo pra fazer o bixo aparecer
return true
end
if getPlayerStorageValue(cid, 654564) < 1 then
setPlayerStorageValue(cid, 654564, 1)
return true
end
if getPlayerStorageValue(cid, 654564) == 1 then
setPlayerStorageValue(cid, 654564, 2)
return true
end
if getPlayerStorageValue(cid, 654564) == 2 then
setPlayerStorageValue(cid, 654564, 3)
return true
end
if getPlayerStorageValue(cid, 654564) == 3 then
setPlayerStorageValue(cid, 654564, 4)
return true
end
--- vc vai copiando e colando isso e alterando
--------
--------
--------
--- vc vai copiando e colando isso e alterando ate chegar nesse ultimo que finalmente chega no 30 e 31 logo abaixo no caso vc tem q fazer ate o 29 pro 30
if getPlayerStorageValue(cid, 654564) == 30 then
setPlayerStorageValue(cid, 654564, 31)
return true
end
if getPlayerStorageValue(cid, 654564) == 31 then
doTeleportThing(cid, getTownTemplePosition(getPlayerTown(cid)))
sendMsgToPlayer(cid, 27, "coloque aqui a mensagem que ira aparecer pro jogador!")
return true
end


info
Grupo: Campones
Registrado: 01/10/19
Posts: 2
Reputação: 0
BOA PESSOAL! ESTOU CRIANDO UM OT SERVER E FIZ UMA HUNT FREE E DENTRO DA SALA TEM UM TILE QUE SUMMONA MONSTER AO PISAR EM CIMA, CERTO ATÉ AI TUDO BEM MAS PRECISO QUE NA SCRIPT DO TILE TENHA LIMITE DE MONSTER POR EXEMPLO ELE PASSA 30 VEZES EM CIMA E NA ULTIMA VEZ ELE SEJA TELEPORTADO PRA FORA DA HUNT.
~ OUTRA É UM TELEPORT QUE QUANDO O PLAYER TIVER DENTRO DA HUNT O OUTRO NAO PODERA ENTRAR
SE ALGUEM PODER ME AJUDAR REP+ OBG VLW =D