Postado Setembro 19, 2018 6 anos Autor Caraca vei kkkk vai este Mostrar conteúdo oculto local tempo = 2 function onUse(cid, item, fromPosition, itemEx, toPosition) if getPlayerStorageValue(cid, 4789) > os.time() then return doPlayerSendTextMessage(cid, MESSAGE_STATUS_CONSOLE_ORANGE, "Aguarde 2 segundos para usar novamente.") end local summons = getCreatureSummons(cid) if getPlayerStorageValue(cid, 8001) == 0 then if summons then local hpAdd = math.random(0.5) / 100 for i=1, #summons do doCreatureAddHealth(summons, getCreatureMaxHealth(summons) * hpAdd) doSendMagicEffect(getCreaturePosition(summons), CONST_ME_MAGIC_BLUE) doRemoveItem(item.uid, 1) setPlayerStorageValue(cid, 4789, tempo + os.time()) end return true end end end
Postado Setembro 20, 2018 6 anos @TchukaNão ta indo mano, e o foda eh que nesse nem apareceu erro no console
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.