Ir para conteúdo

Volnei02

Membro
  • Registro em

  • Última visita

Histórico de Curtidas

  1. Gostei
    Volnei02 deu reputação a Wakon em (Resolvido)SCRIPT DESBUG AJUDA   
    local time = 30 -- minutos function onUse(cid, item, frompos, item2, topos) if getPlayerStorageValue(cid, 5489) <= os.time() then if doPlayerRemoveMoney(cid,500000) == 1 and getPlayerLevel(cid) >= 200 then addLevel(cid,1) doSendMagicEffect(topos,14) doPlayerSay(cid,"Level Desbugado",16) setPlayerStorageValue(cid, 5489, time + os.time()) else doPlayerSay(cid,"Sorry Custa 50 Gold",16) doPlayerSendCancel(cid,"Sorry no have Lvl 500!") end else doPlayerSendCancel(cid,"Você tem que esperar" .. (getPlayerStorageValue(cid, 5489) - os.time()) .. " segundo(s) para desbugar novamente.") end return true end
  2. Gostei
    Volnei02 deu reputação a Flavio S em (Resolvido)SCRIPT DESBUG AJUDA   
    Troque seu código por esse :
    local time = 30 -- minutos function onUse(cid, item, frompos, item2, topos) if getPlayerStorageValue(cid, 5489) <= os.time() then if doPlayerRemoveMoney(cid,500000) == 1 and getPlayerLevel(cid) >= 200 then addLevel(cid,1) doSendMagicEffect(topos,14) doPlayerSay(cid,"Level Desbugado",16) setPlayerStorageValue(cid, 5489, (60*time) + os.time()) else doPlayerSay(cid,"Sorry Custa 50 Gold",16) doPlayerSendCancel(cid,"Sorry no have Lvl 500!") end else doPlayerSendCancel(cid,"Você tem que esperar" .. (getPlayerStorageValue(cid, 5489) - os.time()) / 60 .. "minuto(s) para desbugar novamente.") end return true end

Informação Importante

Confirmação de Termo