Postado Agosto 13, 2014 10 anos Falta de atenção minha. Teste assim: local monster, amount, storage, startstorage, startvalue = 'verminor', 2000, 19555, 5555, 1 function onKill(cid, target) if isPlayer(cid) and not isSummon(target) and getCreatureName(target):lower() == monster then if getPlayerStorageValue(cid, storage) >= -1 and (getPlayerStorageValue(cid, storage)+1) < amount and getPlayerStorageValue(cid, startstorage) >= startvalue then setPlayerStorageValue(cid, storage, getPlayerStorageValue(cid, storage) + 1) doPlayerSendTextMessage(cid, MESSAGE_STATUS_CONSOLE_ORANGE, 'Task: Matou '..(getPlayerStorageValue(cid, storage)+1)..' de '..amount..' '..getCreatureName(target)..'s.') end if (getPlayerStorageValue(cid, storage)+1) == amount then doPlayerSendTextMessage(cid, MESSAGE_STATUS_CONSOLE_ORANGE, 'Parabens, voce matou '..(getPlayerStorageValue(cid, storage)+1)..' '..getCreatureName(target)..'s e completou a missao dos '..getCreatureName(target)..'s.') setPlayerStorageValue(cid, storage, getPlayerStorageValue(cid, storage) + 1) end end return true end Boa sorte. Gosta do meu trabalho? Curta e siga a página do meu projeto de 2016 e 2017 (Lab Z Games) que trará vários servidores OTServs. Atenciosamente,Adriano Swatt' Para ver meus tutoriais acesse meu perfil.
Postado Agosto 13, 2014 10 anos Você está usando o script exatamente como está ou está modificando algo? Como nome do monstro, etc..? Gosta do meu trabalho? Curta e siga a página do meu projeto de 2016 e 2017 (Lab Z Games) que trará vários servidores OTServs. Atenciosamente,Adriano Swatt' Para ver meus tutoriais acesse meu perfil.
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.