.Marco

Membro
  • Content Count

    8
  • Joined

  • Last visited

1 Follower

About .Marco

  • Birthday 04/18/1995

Informação do Perfil

  • Sexo
    Cyberiano

Recent Profile Visitors

449 profile views
  1. Tens algo mal... vê na tabela player se tens a tabela money ou money2
  2. Na quest, coloca aqui a tua quest Edit # Deves ter algo como isto : local random_number = math.random(1 , 50) Eu tenho 1 em 50 ( tu metes a teu gosto )
  3. A quest corre normal, mas depois quando chega a "x" horas não começa
  4. Boa tarde pessoal :$ Gostaria de saber se alguém me poderia ajudar, queria colocar os eventos automáticos ... Encontrei uma quest, mas ao que parece a mesma não está a funcionar irei deixar a quest aqui. quest auto_events begin state start begin when 20086.chat."auto event" with pc.is_gm() begin say_title(" Hallo "..pc.get_name()) say(" state now "..game.get_event_flag("autoevent").." ") say(" ") local s = select(" active "," disable "," close ") if s == 1 then setskin(NOWINDOW) server_loop_timer("auto_event_timer", 1) game.set_event_flag("autoevent", 1) elseif s == 2 then setskin(NOWINDOW) clear_server_timer("auto_event_timer") game.set_event_flag("autoevent", 0) end end when auto_event_timer.server_timer begin local events_info = { {"Sat 14:00", "hair", "event", "hairup", 1, " 4 hours ", "Sat 18:00", 0}, {"Sun 14:00", "6 Shabe Box", "event", "2006_drop", 1, " 4 hours ", "Sun 18:00", 0}, {"Mon 13:00", "Gold ball", "event", "gold_bool", 1, " 4 hours ", "Mon 18:00", 0}, {"Tue 14:00", "dressup box", "event", "dressup", 1, " 4 hours ", "Tue 18:00", 0}, {"Wed 14:00", "fotball box", "event", "football_drop", 1, " 4 hours ", "Wed 18:00", 0}, {"Thu 14:00", "moon box", "event", "drop_moon", 1, " 4 hours ", "Thu 18:00", 0}, {"Fri 14:00", "mount", "event", "Mount_Ring_Event", 1, " 4 hours ", "Fri 18:00", 0}, } local day_time = os.date("%a %H:%M") for i,v in ipairs(events_info) do if v[1] == day_time then if game.get_event_flag(v[4]) != v[5] then notice_all("notice: event "..v[2].." actived for "..v[6].." started from now! ") game.set_event_flag(v[4], v[5]) end elseif v[7] == day_time then if game.get_event_flag(v[4]) != v[8] then notice_all(" notice: event "..v[2].." finish, see u with other events !! ") game.set_event_flag(v[4], v[8]) end end end end end end Aguardo uma resposta, obrigado! Cumprimentos
  5. Salvo erro no introempire ( root ) e na parte do locale